Usage of Commands and Arguments
Kubernetescommand and args in a Pod spec override the Dockerfile’s ENTRYPOINT and CMD respectively:
| Kubernetes | Dockerfile |
|---|---|
command | ENTRYPOINT |
args | CMD |
pod.yaml
Learn how to use commands and args in Kubernetes pod specs, and how they map to Dockerfile ENTRYPOINT and CMD.
command and args in a Pod spec override the Dockerfile’s ENTRYPOINT and CMD respectively:
| Kubernetes | Dockerfile |
|---|---|
command | ENTRYPOINT |
args | CMD |