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
I try secrete file share the logs and yaml file content.
user22060868 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.