Kubernetes configuration🔗︎
The Kubernetes section of the configuration file contains properties that are specific to Kubernetes, such as the Kubernetes version and network plugin.
Configuration🔗︎
Kubernetes version🔗︎
v3.0.0 Default: v1.25.6
By default, the Kubernetes cluster will be deployed using version v1.25.6, but you can specify a different version if necessary.
kubernetes:
version: v1.24.7
The supported Kubernetes versions include v1.23, v1.24, and v1.25.
Kubernetes network plugin🔗︎
v2.0.0 Default: calico
The calico network plugin is deployed by default in a Kubernetes cluster. However, there are multiple supported network plugins available to choose from:
calicocanalciliumflannelkube-routerweave
kubernetes:
networkPlugin: flannel
The following table shows the compatibility matrix of supported network plugins and Kubernetes versions:
| Kubernetes Version | Calico | Canal | Cilium | Flannel | KubeRouter | Weave |
|---|---|---|---|---|---|---|
| 1.23 | ||||||
| 1.24 | ||||||
| 1.25 |
Kubernetes DNS mode🔗︎
v2.0.0 Default: coredns
Currently, the only DNS mode supported by Kubitect is coredns. Therefore, it is safe to omit this property.
kubernetes:
dnsMode: coredns
Copy kubeconfig🔗︎
v2.0.0 Default: false
Kubitect offers the option to automatically copy the Kubeconfig file to the ~/.kube/config path. By default, this feature is disabled to prevent overwriting an existing file.
kubernetes:
other:
copyKubeconfig: true
Auto renew control plane certificates🔗︎
v2.2.0 Default: false
Control plane certificates are renewed every time the cluster is upgraded, and their validity period is one year. However, in rare cases, clusters that are not upgraded frequently may experience issues. To address this, you can enable the automatic renewal of control plane certificates on the first Monday of each month by setting the autoRenewCertificates property to true.
kubernetes:
other:
autoRenewCertificates: true