Manually Setup the CKA Cluster

This section provides pages for a step-by-step approach to manually set up the Kubernetes cluster, offering insights into key configurations and commands for effective deployment.

Prerequisites

Setup without Ansible

Part of the Certified Kubernetes Administrator (CKA) goal is to learn how to install Kubernetes. In the C2 Platform inventory project, the setup is automated using Ansible, but you can also manually create the cluster without using Ansible. This method is beneficial for learning and experimentation.

To prevent Ansible from performing the installation, use the --no-provisioner flag to tell Vagrant to skip the Ansible provisioner:

vagrant up c2d-cka-cp --no-provision
vagrant up c2d-cka-worker{1..3} --no-provision

Common Setup Steps for CKA K8s Cluster

This page outlines the essential setup steps for both master and worker nodes in a Kubernetes cluster. disable swap, load the required kernel modules, set the necessary system parameters, and install CRI-O runtime, Kubeadm, and related tools.

Control Plane Setup Steps for CKA K8s Cluster

This page details the steps for setting up the control plane node in a Kubernetes cluster. It covers cluster initialization, obtaining the join command for worker nodes, and installing both the Calico network plugin and Metrics server.

Worker Setup Steps for CKA Kubernetes Cluster

This step outlines the steps required to successfully join worker nodes to a Kubernetes cluster, ensuring they are configured correctly for operation.



Last modified April 3, 2025: cka content C2-780 C2-781 (b5f908b)