nerdexam
Linux_Foundation

CKA · Question #19

For this item, you will have to ssh to the nodes ik8s-master-0 and ik8s-node-0 and complete all tasks on these nodes. Ensure that you return to the base node (hostname: node-1) when you have…

This simulation tests your ability to bootstrap a Kubernetes cluster from scratch using kubeadm - initializing a control plane on the master node and joining a worker node to that cluster.

Submitted by valeria.br· May 4, 2026Cluster Architecture, Installation & Configuration

Question

For this item, you will have to ssh to the nodes ik8s-master-0 and ik8s-node-0 and complete all tasks on these nodes. Ensure that you return to the base node (hostname: node-1) when you have completed this item. Context: As an administrator of a small development team, you have been asked to set up a Kubernetes cluster to test the viability of a new application. Task: You must use kubeadm to perform this task. Any kubeadm invocations will require the use of the --ignore-preflight-errors=all option. Configure the node ik8s-master-0 as a master node. Join the node ik8s-node-0 to the cluster.

Explanation

This simulation tests your ability to bootstrap a Kubernetes cluster from scratch using kubeadm - initializing a control plane on the master node and joining a worker node to that cluster.

Approach. On ik8s-master-0, run 'kubeadm init --ignore-preflight-errors=all' to initialize the control plane; then configure kubectl by copying /etc/kubernetes/admin.conf to ~/.kube/config. Capture the 'kubeadm join' command printed at the end of init output (it contains the API server address, token, and CA cert hash). SSH to ik8s-node-0 and run that join command appended with '--ignore-preflight-errors=all' to register it as a worker. Finally, return to node-1 and optionally verify with 'kubectl get nodes' to confirm both nodes appear.

Concept tested. Kubernetes cluster bootstrapping with kubeadm - specifically: control plane initialization (kubeadm init), kubeconfig setup for kubectl access, and worker node registration (kubeadm join) including token-based authentication between nodes.

Reference. https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/

Topics

#kubeadm#Cluster initialization#Master node setup#Worker node join

Community Discussion

No community discussion yet for this question.

Full CKA Practice