Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 4 · App Lifecycle · Port 4.3

command & args

Ask the Captain
Instagram
In Kubernetes, command replaces ENTRYPOINT, not CMD.
You'll learn to

map command→ENTRYPOINT, args→CMD

Recap

  1. 1args → CMD · command → ENTRYPOINT
  2. 2Lists of strings: "10", not 10
  3. 3Running pod? kubectl replace --force
Check yourself

Your pod sets command, but no args. What happens to the image's CMD?

4.3

Stamp this lesson

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