Unable to push images to local registry from Kubernetes Pod #1124
Unanswered
kameshsampath
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @kameshsampath , thanks for starting this discussion. First off
No, Kubernetes uses its own networking, unrelated to Docker's networking (which would translate to node-level networking in k3d, since containers are nodes). But actually, I think the solution is trivial and I just didn't notice it in our Slack chat: Please try with port 5000 from within the cluster. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following the document I created k3s cluster and registry. While my testing works from the local machine using the url http://k3d-myregistry.localhost:5001, but when I try to build and push image to the registry from another Kubernetes Pod I am not able to do resulting in the following error,'
k3s config
I used the following command to create the cluster,
k3d cluster create -c "k3s-cluster-config.yaml"
The
coredns
config map looks like the following after creation,I see the k3s pods/containers are in different subnet than docker network, is that an issue ?
Beta Was this translation helpful? Give feedback.
All reactions