Who does what in the control plane
- 12 min
- 6 steps
- The API and the loop
Steps
0 of 6 done
Find kx's control-plane components, read a node's heartbeat, then cordon and drain a worker and watch the scheduler and controllers move a workload around it.
Step 1 of 6
List the pods that make up kx's control plane. They live in
kube-systemand share the labeltier=control-plane.Checked against what your commands print.
Step 2, not started: Only one component is configured with the address of etcd. Find the flag that carries it in that component's pod spec.
Step 3, not started: Read the most recent heartbeat from
kx-worker2: the renew time of its Lease, as the node's description shows it.Step 4, not started: Stop the scheduler from placing any more pods on
kx-worker. Leave the pods already there running.Step 5, not started: Move every workload pod off
kx-workerthrough the Eviction API. The DaemonSet pods for kube-proxy and kindnet should stay.Step 6, not started: Check that
webis back to three available replicas on the other workers, then letkx-workertake pods again.
Enter runs the command. Tab completes, and the arrow keys recall earlier commands. Control C stops a watch. On an empty line, or after Escape, Tab moves focus out of the terminal.