- How many nodes are part of this cluster?
- Count the lines (excluding the header) to get the node count.
- In the example above there are 2 nodes:
controlplaneandnode01.
- What is the internal IP address of the control plane node in the cluster?
- The
INTERNAL-IPcolumn 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.- What is the network interface configured for cluster connectivity on the control plane node?
INTERNAL-IP from step 2). Example excerpt:
- The interface with the node IP
192.5.114.3iseth0, soeth0is used for node/cluster connectivity.
- What is the MAC address of the interface on the control plane?
link/ether line. In the example above:
- The MAC for
eth0on the control plane (example) is52:54:00:72:06:aa. - Use the MAC printed by
ip address show eth0on your control plane node.
- What is the IP address assigned to node01?
node01 INTERNAL-IP is 192.5.114.6.
- What is the MAC address assigned to node01?
node01 and run:
link/ether line on node01 and copy it exactly. Example output will look similar to:
- The cluster uses containerd as a container runtime — what bridge interface is created on that host?
- The CNI/container runtime bridge interface in the example is
cni0.
- What is the state of interface cni0?
state field:
- Example state:
UP
- If you ping Google from the control plane node, what route does it take? (What is the IP address of the default gateway?)
- The
default vialine shows the gateway used for outbound internet traffic. - Example default gateway:
172.25.0.1(outbound viaeth1).
- What port is kube-scheduler listening on in the control plane?
ss (or netstat if you prefer):
- In this example kube-scheduler is listening on
127.0.0.1:10259. - Typical ports:
10259(secure) or older setups may show10251(insecure). Verify the PID/process output on your control plane.
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.