[Playground]Provision a k8s cluster with terraform & kubeadm and use Calico as CNI on Azure

ShuangLu
2 min readOct 16, 2020

The code can be found in github https://github.com/Shuanglu/k8s_infra_azure

There are some limitations like Calico CIDR is using the default one. I’m working on a golang program to provide more customization.

[Architecture]

[Provision Process]

[Terraform]

In the terraform template, you could assign value to below variables:

[Reference]

https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/

https://kubernetes.io/docs/setup/best-practices/certificates/

--

--