-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use local registry if possible with kind #3855
Comments
Current workaround is to edit the kubeconfig to rename kubernetes context to something other than: |
@yashbhutwala - if you set |
@balopat setting |
Same thing for me. Loading images inside a kind cluster has poor performances, like really bad...using a local registry is way better. I think @yakovzaytsev wants to disable the load feature for this reason, and so do I. Maybe create new settings like:
|
This seems entirely reasonable. Anyone open to sending a PR in to fix this? |
I am also facing the same issue while using local registry in KIND with skaffold in GitHub actions. Images are loaded into nodes but pods are not able to pull the images with image name - localhost:5000 registry url. |
sorry this one got a bit lost, but yes I agree this is entirely reasonable and we should fix this in skaffold. we're forcing a we probably won't prioritize this in the next few months but PRs welcome 🙏 |
Same for k3d.
|
@nkubala I am creating a PR for this. |
@betterclever awesome :) Please keep us updated on that if you can! |
We're also keen on seeing this added, as the current loading functionality is ultra slow. @betterclever any progress so far, or would you want me to take a jab at it? |
@Multiply I haven't been able to pick this up yet. Please go ahead. 😀 |
Is there another workaround as well? |
We could also have heuristic checking if image name refers to localhost-like address to disable loading images for both k3d/kind. |
@nkubala @tstromberg Raised PR for this with unit tests, tested locally, works like charm, run/dev is much faster now! |
Expected behavior
Actual behavior
Information
Darwin bhutwala-mac 18.7.0 Darwin Kernel Version 18.7.0: Thu Jan 23 06:52:12 PST 2020; root:xnu-4903.278.25~1/RELEASE_X86_64 x86_64
Skaffold's heuristic to detect kind cluster
kind's docs on using local registry
The text was updated successfully, but these errors were encountered: