-
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
enable skaffold to work on minikube profiles #3668
Comments
surprised we didn't run into this one sooner. where did you get in general though this is an improvement on what we're doing now. |
I know...maybe I'm missing something?
minikube docker driver ;) |
Would it make sense to look at the corresponding machines interfaces? |
|
kubernetes/minikube#6715 is also going to be useful going forward, however, we'll need to implement ApiServer endpoint matching for older minikube versions IMO. |
I meant host's network interfaces, thinking that we could correlate the API server to the available network interfaces to identify whether it's local on the machine.
|
bumping down to p1 since |
If it helps, One additional hint I've seen used in the past is looking for |
Currently, if
kube-context
is pointing to a minikube profile that is notminikube
, bunch of things will fail:minikube docker-env
without profileMy recommendation would be:
minikube profile list
and see if any of them match the IP address - if yes, use the profile name for that profile throughout the codeThe text was updated successfully, but these errors were encountered: