Ansible Role: k8s_cluster
This role is used to create (or expand) a Kubernetes cluster using kubeadm.
Cilium
This role uses Cilium as Container Networking Infrastructure (CNI) plugin, and by default sets up the following features:
BGP Control Plane: enabled to allow advertising
LoadBalancerIP addresses to routers using BGP peering.Gateway API support is enabled by default, allowing Cilium to be used as backend for
Gatewayresources.Kube-Proxy replacement is enabled to allow the above features.
Variables
Variable |
Required |
Description |
|---|---|---|
|
Yes |
Token used to join additional worker nodes to the Kubernetes cluster. Generate with |
|
Yes |
Role of the target host. Set to |
|
No |
List of taints to apply to the target host. |
|
No |
The maximum number of Pods that Kubernetes will schedule on a single Node. |
|
No |
Kubernetes version to use when bootstrapping the cluster. Note: when adding additional cluster members later, make sure to use the same version! |
|
No |
Name of the Kubernetes cluster. |
|
No |
Internal DNS domain for the cluster. |
|
No |
Subnet used for IP address allocation of Pods. |
|
No |
Subnet used for IP address allocation of Services with type |
|
No |
Version of the Cilium CLI installed on the control-plane node. |
|
No |
Version of Cilium to use when bootstrapping the cluster. |
|
No |
Version of the Helm CLI installed on the control-plane node. |