I am trailing Kubernetes on AWS, and I have a cluster set up, but having trouble creating an application by pulling a docker image from an insecure repo.
When I created the cluster, I ensured that the environment variable KUBE_ENABLE_INSECURE_REGISTRY=true
was set to true. But I still don't seem to be able to pull from this repo.
The logs show (edited application name and registry URL):
Error syncing pod, skipping: failed to "StartContainer" for "" with ErrImagePull: "API error (500): unable to ping registry endpoint https://docker-registry..com:5000/v0/\nv2 ping attempt failed with error: Get https://docker-registry..com:5000/v2/: EOF\n v1 ping attempt failed with error: Get https://docker-registry.*.com:5000/v1/_ping: EOF\n"
Can anyone please advise on this?
Thanks