I want to update my deployment on kubernetes with a new image which exists on \'eu.gcr.io\' (same project), I have done this before. But now the pods fail to pull the image beca
You will need to create a docker-registry secret and use imagePullSecrets in you pod definition:
kubectl create secret docker-registry regcred --docker-server= --docker-username= --docker-password= --docker-email=
apiVersion: v1
kind: Pod
metadata:
name: private-reg
spec:
containers:
- name: private-reg-container
image:
imagePullSecrets:
- name: regcred
see this guide for more information