Skip to content
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

error when KUBECONFIG contains more than one file #437

Closed
ms-lolo opened this issue Nov 9, 2020 · 2 comments · Fixed by #761
Closed

error when KUBECONFIG contains more than one file #437

ms-lolo opened this issue Nov 9, 2020 · 2 comments · Fixed by #761
Assignees
Labels
area/driver/kubernetes kind/bug Something isn't working

Comments

@ms-lolo
Copy link

ms-lolo commented Nov 9, 2020

my KUBECONFIG contains a : delimited list of config files for kubectl to load. I think this is causing issues.

$ docker buildx create    \
  --driver kubernetes     \  
  --driver-opt replicas=3 \
  --use
$ docker buildx ls         
NAME/NODE           DRIVER/ENDPOINT             STATUS PLATFORMS
gallant_mahavira *  kubernetes                         
  gallant_mahavira0 unix:///var/run/docker.sock cannot determine Kubernetes namespace, specify manually: stat /home/$USER/.kube/config:/home/$USER/.kube/microk8s.config: no such file or directory
default             docker                              
  default           default              

I have yet to get a working k8s version running so not sure if I am just missing something obvious.

@ms-lolo
Copy link
Author

ms-lolo commented Dec 15, 2020

did you mean to write something in your reply, @N9q ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/driver/kubernetes kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@AkihiroSuda @ms-lolo and others