Read EndpointSlices and their conditions
- 12 min
- 6 steps
- Networking
Steps
0 of 6 done
Find a pod that a Service skips, wire a Service with no selector to an outside address, and watch an endpoint terminate.
Step 1 of 6
Four pods carry the label
app=catalog. List the EndpointSlices that belong to thecatalogService and count the addresses they hold.Checked against what your commands print.
Step 2, not started: The table lists every address in the slice, whether or not it receives traffic. Print the full slice, find the endpoint that kube-proxy skips, and read the condition that says so.
Step 3, not started: Read the same Service through the deprecated v1 Endpoints API, and note what the API server says about it.
Step 4, not started: The
ledgerService has no selector, so nothing creates slices for it. A file in the working directory describes its backend outside the cluster. Apply it, then make theledgerService pick it up.Step 5, not started: Delete one
queuepod without waiting for it to finish, then read every endpoint's conditions in thequeueslice while that pod shuts down.Step 6, not started: Find out which mode kube-proxy uses to program Service rules on the
kxnodes.
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.