may help you . I think this might just be a mixup of the Pod spec. In Kubernetes, the command is the equivalent of the Docker ENTRYPOINT and the args are the equivalent of CMD. In your case, I think you want:
should help you out Yes, but currently not with kubectl, you can get metrics from the kubelet, either through the kube-apiserver (proxied) or directly calling the kubelet HTTP(s) server endpoint (default port 10250). Disk metrics are generally available on the /stats/summary endpoint and you can also find some cAdvisor metrics on the /metrics/cavisor endpoint. For example, to get the 'usedBytes' for the first container in the first pod returned through the kube-apiserver:
like below fixes the issue I have a bash script in a Docker image to which I can pass a command line argument through docker run (having specified the bash script in ENTRYPOINT and a default parameter in CMD like in this answer). So I would run something like , The following command should do it:
kubectl run my-app --image=my_docker_test -- argument_1
How do I run a container from the command line in Kubernetes (like docker run)?