-
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
skaffold dev unable to connect to Kubernetes: getting client config for Kubernetes client #6806
Comments
@uchenxy can you please confirm that the use of Could you try running |
@briandealwis
|
The key here is the line after your highlight:
you need to provide your KUBECONFIG to skaffold too, like
Skaffold will pass that down to Helm. Skaffold also talks to your cluster and when it cannot determine which cluster to use, it tries to see if it’s running within a cluster. We should make that error more clear. |
Although this does not achieve my goal, thank you for your answer |
any soluton to this yet? |
`Starting deploy...
|
hey there @Derry-ukere , are you running into this issue using a similar setup? It seems you're using kubectl deployer and running into the same issue. Any more info on your config here would be great, thanks! |
Any solutions for this issue ? |
currently experiencing this issue when I run skaffold dev command. |
### unable to connect to Kubernetes: getting client config for Kubernetes client: error creating REST client config in-cluster: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
why? thank you!
The text was updated successfully, but these errors were encountered: