k8s_app_spices
Ansible role for Spicing Kubernetes Cluster with Apps
Ansible to create KinD or minikube cluster.
The role can also be used to install and configure:
Requirements
Docker Desktop or Docker for Linux
Ansible >= v2.9.10
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: For Windows its recommended to use Windows Subsystem for Linux (WSL)
Role Dependencies
- kameshsampath.minikube or kameshsampath.kind
Role Variables
Variable Name | Description | Default |
---|---|---|
kubernetes_cluster_type | The Kubernetes Cluster Type minikube or kind or custom | minikube |
k8s_cluster_ip | The Kubernetes Cluster IP | Auto configured for minikube or KinD |
deploy_knative | Deploy Knative | False |
knative_version | The Knative version | v0.16.0 |
knative_serving_version | The Knative Serving version | v0.16.0 |
knative_eventing_version | The Knative Eventing version | v0.16.0 |
deploy_ingress | Deploy Ingress | True |
ingress_namespace | The namespace for Contour Ingress | contour-system |
ingress_namespace | The namespace for Contour Ingress | contour-system |
ingress_manifest | The Contour Ingress manifest file | Project Contour |
deploy_tektoncd | Deploy Tektoncd | False |
tektoncd_pipelines_version | Tektoncd Pipelines Version | v0.11.3 |
tektoncd_triggers_version | Tektoncd Triggers Version | v0.4.0 |
deploy_argocd | Deploy Argo CD | False |
argocd_namespace | Argo CD namespace | argocd |
argocd_version | Argo CD version to use | v1.6.2 |
deploy_skupper | Deploy | False |
skupper_namespace | Namespace to deploy skupper | default |
skupper_cli_download | Download Skupper CLI | True |
skupper_site_name | 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 |
skuper_cluster_local | Is Skupper local to cluster | false |
skupper_console_authentication | Skupper Console Authentication | unsecured |
skupper_console_password | Skupper Console User password | skupp3r! |
skupper_console_user | Skupper Console User | skupper |
Example Playbooks
The examples directory has various playbook examples to get started using this role
License
Author Information
Issues
Testing
- Extra 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 built using molecule with following scenarios:
- default
molecule test
- Ingress
molecule test -s deploy_ingress
- Knative
molecule test -s deploy_knative
- Tektoncd
molecule test -s deploy_tektoncd
About
Ansible role to spice you Kubernetes cluster with components like Knative, Contour Ingress, Tektoncd etc.,
Install
ansible-galaxy install kameshsampath/ansible-role-kubernetes-spices
License
apache-2.0
Downloads
79
Owner
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.