Task 2: Verify Control Plane Installation
This guide provides a comprehensive set of steps to verify that your k3s control plane was installed successfully and is fully operational.
Before you start
Make sure that:
Task 1 (Control Plane Installation) has been successfully completed.
All participants are in the scahred terminal session.
The designated Driver will run the commands, others will observe.
How to Verify installation
The designated Driver will execute the commands, observers should watch the shared screen and verify the output of each command before proceeding to the next step.
Step 1: List the nodes associated with the kubernetes control plane
Expected output:
Possible error:
Step 1.1: Fix
The fix should only be run if the above error is encountered
Step 2: Check for a more detailed output to confirm the node ip
Expected Output:
Step 3: Check the control plane health from the API.
Expected Response:
Step 4: Check components of the control plane
Expected output:
Step 4: Obtain the node token
In this step, you will retrieve the unique node token from the control-plane server. This token acts as a secure password, authenticating new worker nodes and authorizing them to join your K3s cluster.
Save the token output in a text file on your computer.
Expected output:
Accomplishments
Node Health and Registration
The
kubectl get nodescommand confirmed that thek3smainnode has successfully registered with the cluster.It is in a Ready state and correctly identified with the
control-planeandmasterroles.
Network Confirmation
The detailed output from the
-o wideflag verified that the node'sINTERNAL-IPaddresses are correctly configured.This ensures proper network visibility and connectivity.
API Server Deep-Dive
A raw query to the
/livezendpoint passed successfully.All critical API server components returned a verbose and positive status.
This confirms the health of the Kubernetes core engine, including:
Connection to the
etcdbackendPost-start hooks
Controllers
Core Component Health
The
kubectl get componentstatusescommand reported Healthy status for:etcdThe
schedulerThe
controller-manager
This verifies that the cluster's:
Data store
Pod scheduling logic
State-management controllers
are functioning correctly.
Worker Node Authentication
The unique Node Token required for new nodes to join the cluster was retrieved from the control plane.
With all these checks passed, the installation is validated.
The cluster is ready for the next steps, such as:
Joining worker nodes
Deploying applications
Reflection
Please take a moment to write down any questions, issues, or doubts you encountered during this milestone.
This will help guide the next discussion and ensure everyone is on the same page before moving forward.
Next Steps
You may now exit out of the
screensessionctrl + a then press d.Log out from the shared user account.
Disconnect from the control plane node SSH session
ctrl + don the control plane.Rejoin the common Discord lobby to await further instructions or support your peers.