Kube cluster on GCP: kubelet Failed to pull image from local nexus registry
K8s cluster which contains 3 nodes. I deployed nexus as private repo.
I can push and pull image without any issue from master, but when I tried to create a deployment or pod using the image which is located in nexus it gives me error.
spec:
imagePullSecrets:
– name: nexus-registry-key
containers:
– name: container-name
image: NEXUS_URL:NEXUS_PORT/image_name:tagname
NEXUS_URL:NEXUS_PORT/image_name:tagname failed to resolve reference NEXUS_URL:NEXUS_PORT/image_name:tagname failed to do request: Head https://NEXUS_URL:NEXUS_PORT/v2/image_name/manifests/tagname http: server gave HTTP response to HTTPS client