Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 1 · Core Concepts · Port 1.20

kubectl explain & apply

Instagram
Forgot a YAML field in the exam? The answer is already in your cluster. Plus: how kubectl apply knows what to change.
You'll learn to

find any field with explain; explain apply's last-applied-configuration

Recap

  1. 1explain = your manual
  2. 2apply compares 3 things: file, live, receipt
  3. 3Removed from the file → removed from the cluster
Check yourself

You delete a label from your file and run apply. What happens to the live label?

1.20

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.