Different Terraform scripts that I've made :)
- Create VM in Proxmox
- Create network and k8s-cluster in OpenStack with the use of Magnum.
github: https://github.com/richardswe
- First make sure you have setup Terraform properly installed on your local machine.
- Get your credential from you OpenStack provider, you will be asked to use them when running the Terraform plan.
- Due to some issues with the labels for the k8s template. Run the cli command
Openstack commands
openstack flavor list
openstack network list --internal
openstack image list
openstack subnet list
openstack availability zone list
To be able to connect to your newly created cluster, can we download the kube-config file from Horizon/Binero portal.
- Go in under CONTAINER INFRA, choose Cluster and then hover over to the right of the cluster you want to connect to, to the right choose more and then hämta certifcat.
- Download it and place it under /home/youruser/.kube/ Be sure to save your other kube-config files and make backups of them.