Skip to main content
In this lab you will inspect the Kubernetes cluster nodes and the host network interfaces to extract the answers required. For each question below you’ll find the command to run, trimmed example outputs (cleaned for readability), and guidance on how to read the required value. Useful references:
  1. How many nodes are part of this cluster?
Run:
Example output:
Interpretation:
  • Count the lines (excluding the header) to get the node count.
  • In the example above there are 2 nodes: controlplane and node01.
  1. What is the internal IP address of the control plane node in the cluster?
Run:
Example output (trimmed to relevant columns):
Interpretation:
  • The INTERNAL-IP column shows each node’s host network address.
  • Control plane internal IP (example): 192.5.114.3
Note: kubectl get nodes -o wide reports the node’s host (node) IP in the INTERNAL-IP column. Pod/CNI network addresses (for example 10.244.x.x) are assigned to CNI interfaces such as cni0 and are separate from the node IP.
  1. What is the network interface configured for cluster connectivity on the control plane node?
SSH to the control plane node (or run locally on that host), then list interfaces:
Look for the interface that holds the node IP (the INTERNAL-IP from step 2). Example excerpt:
Interpretation:
  • The interface with the node IP 192.5.114.3 is eth0, so eth0 is used for node/cluster connectivity.
  1. What is the MAC address of the interface on the control plane?
Show details for that interface:
Look for the link/ether line. In the example above:
Interpretation:
  • The MAC for eth0 on the control plane (example) is 52:54:00:72:06:aa.
  • Use the MAC printed by ip address show eth0 on your control plane node.
  1. What is the IP address assigned to node01?
Run:
From the example output above, node01 INTERNAL-IP is 192.5.114.6.
  1. What is the MAC address assigned to node01?
SSH to node01 and run:
Look for the link/ether line on node01 and copy it exactly. Example output will look similar to:
  1. The cluster uses containerd as a container runtime — what bridge interface is created on that host?
Container runtimes and CNIs create bridge interfaces for pod networks. List bridge interfaces:
Example output showing the CNI bridge:
Interpretation:
  • The CNI/container runtime bridge interface in the example is cni0.
  1. What is the state of interface cni0?
From the example above, note the state field:
  • Example state: UP
  1. If you ping Google from the control plane node, what route does it take? (What is the IP address of the default gateway?)
List the routing table:
Example output:
Interpretation:
  • The default via line shows the gateway used for outbound internet traffic.
  • Example default gateway: 172.25.0.1 (outbound via eth1).
  1. What port is kube-scheduler listening on in the control plane?
To find listening ports for kube-scheduler use ss (or netstat if you prefer):
Example output:
Interpretation:
  • In this example kube-scheduler is listening on 127.0.0.1:10259.
  • Typical ports: 10259 (secure) or older setups may show 10251 (insecure). Verify the PID/process output on your control plane.
Summary of answers (from the example outputs above) If you want, paste the exact outputs you see from the commands above and I will point out precisely which values to submit for your lab.

Watch Video