minikube: Minikube connection to internal registry is refused
When I try to push images to internal registry from container (build via Tekton piplines) I get a connection refused error. This is working well with minikube v1.1.1.
The exact command to reproduce the issue: Following https://github.com/kameshsampath/minikube-helpers/tree/master/registry/README.adoc.
The full output of the command that failed:
[build-greeter-jvm : buildah-build-push] Head http://dev.local/v2/rhdevelopers/pipeline-greeter/blobs/sha256:9ce2ac72ea3a3f426d08fe7ed892b6983f6ded93b9f82d8f87b8083760f26bec: dial tcp 10.111.212.82:80: connect: connection refused
The output of the minikube logs command:
When I inspected registry logs I got this
registry-p8bmz registry 10.1.0.20 - - [25/Jun/2019:08:54:32 +0000] "HEAD /v2/rhdevelopers/pipeline-greeter/blobs/sha256:49d9522d5abfe1bf7e9646b02e1125fec6376add018a3a1a9a5ab875a3e52b68 HTTP/1.1" 404 157 "" "Buildah/1.7"
The operating system version:
minikube version: v1.2.0macOS Mojave 10.14.5- vm-driver:
hyperkitorvirtualbox
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 36 (34 by maintainers)
Commits related to this issue
- Fix regression caused by registry-proxy This PR fixes #4604 by adding a new selector to concerned svc/rc only. This also reverts `kubernetes.io/minikube-addons` to `registy` for registry-proxy so tha... — committed to kumarom/minikube by kumarom 5 years ago
- Fix regression caused by registry-proxy This PR addresses #4604 by adding a new selector to concerned svc/rc only. This also reverts `kubernetes.io/minikube-addons` to `registy` for registry-proxy so... — committed to kumarom/minikube by kumarom 5 years ago
- Fix regression caused by registry-proxy This PR addresses #4604 by adding a new selector to concerned svc/rc only. This also reverts `kubernetes.io/minikube-addons` to `registy` for registry-proxy so... — committed to kumarom/minikube by kumarom 5 years ago
Not sure about those repos, but I can successfully make requests to the internal registry now via say:
curl http://registry.kube-system.Try setting your Tekton
PipelineResourceas follows:@medyagh - i see that my helper consistently working with 1.4.0 with both hyperkit and virtualbox.
This is what my helper does
/etc/hostsof the node matching theCLUSTER-IPof registry inkube-systemthat was enabled via addonsAfter these 3 you can now push and pull to the internal registry using the custom domain names.
I was thinking to make this an
addon, so we can easily enable/disable this ?