kameshsampath.k8s_app_spices
Ansible Role for Enhancing Kubernetes Cluster with Applications
This is an Ansible role to create a KinD or minikube cluster.
You can also use this role to install and set up:
Requirements
Docker Desktop or Docker for Linux.
Ansible version 2.9.10 or higher.
pip3 install \
-r https://raw.githubusercontent.com/kameshsampath/kameshsampath.k8s_app_spices/master/requirements.txt
ansible-galaxy role install kameshsampath.kind
ansible-galaxy collection install community.kubernetes
NOTE: If you're using Windows, it’s best to use Windows Subsystem for Linux (WSL).
Role Dependencies
- kameshsampath.minikube or kameshsampath.kind
Role Variables
Variable Name | Description | Default |
---|---|---|
kubernetes_cluster_type | The type of Kubernetes Cluster (minikube, kind, or custom) | minikube |
k8s_cluster_ip | The IP address of the Kubernetes Cluster | Automatically set for minikube or KinD |
deploy_knative | If Knative should be deployed | False |
knative_version | The version of Knative | v0.16.0 |
knative_serving_version | The version of Knative Serving | v0.16.0 |
knative_eventing_version | The version of Knative Eventing | v0.16.0 |
deploy_ingress | If Ingress should be deployed | True |
ingress_namespace | The namespace for Contour Ingress | contour-system |
ingress_manifest | The manifest file for Contour Ingress | Project Contour |
deploy_tektoncd | If Tektoncd should be deployed | False |
tektoncd_pipelines_version | The version of Tektoncd Pipelines | v0.11.3 |
tektoncd_triggers_version | The version of Tektoncd Triggers | v0.4.0 |
deploy_argocd | If Argo CD should be deployed | False |
argocd_namespace | Argo CD namespace | argocd |
argocd_version | The version of Argo CD to use | v1.6.2 |
deploy_skupper | If Skupper should be deployed | False |
skupper_namespace | Namespace for deploying Skupper | default |
skupper_cli_download | If the Skupper CLI should be downloaded | True |
skupper_site_name | The name of the Skupper site to create | mysite |
skupper_site_edge | Is this a Skupper edge site | False |
skupper_console_enable | Enable Skupper Console | true |
skupper_router_console_enable | Enable Skupper Router Console | true |
skupper_cluster_local | Is Skupper local to the cluster | false |
skupper_console_authentication | Authentication for Skupper Console | unsecured |
skupper_console_password | Password for Skupper Console user | skupp3r! |
skupper_console_user | User for Skupper Console | skupper |
Example Playbooks
You can find various playbook examples in the examples directory to help you get started with this role.
License
Author Information
Issues
You can report issues you encounter.
Testing
- Additional Python modules
pip3 install \
-r https://raw.githubusercontent.com/kameshsampath/kameshsampath.k8s_app_spices/master/molecule/requirements.txt
ansible-galaxy role install -r https://raw.githubusercontent.com/kameshsampath/kameshsampath.k8s_app_spices/master/molecule/requirements.txt
All tests are created using molecule with the following scenarios:
- default
molecule test
- Ingress
molecule test -s deploy_ingress
- Knative
molecule test -s deploy_knative
- Tektoncd
molecule test -s deploy_tektoncd
Informazioni sul progetto
Ansible role to spice you Kubernetes cluster with components like Knative, Contour Ingress, Tektoncd etc.,
Installa
ansible-galaxy install kameshsampath.k8s_app_spices
Licenza
apache-2.0
Download
89
Proprietario
Veteran tech innovator with 20 years in the trenches. As an author and developer advocate, I'm on a mission to demystify data and cloud technologies.