Commands and arguments in Kubernetes

if we have ENTRYPOINT and CMD defined in Dockerfile, then:

spec.container.command become ENTRYPOINT
spec.container.args become CMD

in the Kubernetes object definition file.