Kubernetes Cluster Configuration

Transforming bare-metal nodes into a production-ready cluster.

Ansible Configuration

Once a server has been automatically provisioned with a base Ubuntu OS, the ansible-kubernetes-nodes project takes over. This collection of Ansible roles performs all the necessary steps to configure the node and have it join the Kubernetes cluster.

Key Configuration File

The most critical file for customization is group_vars/all.yml. This is where you define the global settings for your cluster, including the Kubernetes version, pod network CIDR, and the block devices to be used for Ceph.

Role Breakdown

The main site.yml playbook executes roles to prepare for Ceph, install common components like containerd and the kubelet, and then configures the controller and worker nodes.