I\'m trying to run my first kubernetes pod locally. I\'ve run the following command (from here):
export ARCH=amd64
docker run -d \\
--volume=/:/rootfs:ro \\
I had the same problem what caused it was that I already had created a pod from the docker image via the .yml file, however I mistyped the name, i.e test-app:1.0.1 when I needed test-app:1.0.2 in my .yml file. So I did kubectl delete pods --all
to remove the faulty pod then redid the kubectl create -f name_of_file.yml
which solved my problem.