How to change the Docker
ENTRYPOINTin a Kubernetes deployment, without changing also the DockerCMD?
In the Pod I would do
image: "alpine"
entrypoint: "/myentrypoint"but this overwrites either ENTRYPOINT and the CMD from the Dockerfile.
The documentation doesn't mention it, but seems like a big use-case missed.
That's not a thing. ENTRYPOINT in Dockerfile == command: in PodSpec, and CMD == args:. So just override command but not args.