Kubernetes pod - image never pulled error Kubernetes pod - image never pulled error kubernetes kubernetes

Kubernetes pod - image never pulled error


You need to use other imagePullPolicy different than Never, otherwise kubernetes will never try to download the image for your container. You can choose between Always or IfNotPresent, which will download the image only if it's not already downloaded. For example

apiVersion: v1kind: Podmetadata:  name: my-appspec:  containers:    - name: my-app      image: my-app-image      imagePullPolicy: Always