Getting “ErrImageNeverPull” in pods

前端 未结 3 970
情书的邮戳
情书的邮戳 2021-01-04 04:29

Am using minikube to test out the deployment and was going through thislink

And my manifest file for deployment is like

apiVersion: ext         


        
3条回答
  •  时光说笑
    2021-01-04 05:02

    When using a single VM for Kubernetes, it’s useful to reuse Minikube’s built-in Docker daemon. Reusing the built-in daemon means you don’t have to build a Docker registry on your host machine and push the image into it. Instead, you can build inside the same Docker daemon as Minikube, which speeds up local experiments.

    The following command does the magic eval $(minikube docker-env) Then you have to rebuild your image again.

    for imagePullPolicy: Never the images need to be on the minikube node.

    This answer provide details

    local-images-in minikube docker environment

提交回复
热议问题