Kubernetes Recipe
-
Is there any way to get the cloud-init used in the Hub Kubernetes recipe? Looking to customize the deployment using Terraform and I want to make sure I include all the same tasks.
-
Hi,
Team-DevOps to answer this
-
Hello abreaux, for the moment I have no idea however I am going to search and if nothing is available a task will be created for this feature
-
abreaux said in Kubernetes Recipe:
Is there any way to get the cloud-init used in the Hub Kubernetes recipe? Looking to customize the deployment using Terraform and I want to make sure I include all the same tasks.
What do you want to do actually? Do you want to "edit" a VM that has been deployed with the recipe (1), or do you want to deploy a new cluster that will copy the hub recipe (2)?
In case of (1), you can find the cloud-init content inside the VM itself:
/var/lib/cloud/instance/cloud-config.txt
In the case of (2), the current version (5.105) of the k8s recipe is not really stable and is not intended to be used with Terraform. I can only recommend to find another solution (you can find some examples in the DevOps mega thread, like using Rancher).
In the next release of XOA, we have updated the Kubernetes recipe to use MicroK8s, which provides a light, open-source, scalable and production-ready Kubernetes distribution.
-
Cyrille said in Kubernetes Recipe:
abreaux said in Kubernetes Recipe:
Is there any way to get the cloud-init used in the Hub Kubernetes recipe? Looking to customize the deployment using Terraform and I want to make sure I include all the same tasks.
What do you want to do actually? Do you want to "edit" a VM that has been deployed with the recipe (1), or do you want to deploy a new cluster that will copy the hub recipe (2)?
In case of (1), you can find the cloud-init content inside the VM itself:
/var/lib/cloud/instance/cloud-config.txt
In the case of (2), the current version (5.105) of the k8s recipe is not really stable and is not intended to be used with Terraform. I can only recommend to find another solution (you can find some examples in the DevOps mega thread, like using Rancher).
In the next release of XOA, we have updated the Kubernetes recipe to use MicroK8s, which provides a light, open-source, scalable and production-ready Kubernetes distribution.
Actually, I didn't realize it was on the VM after deployment, so #1 is fine.