Skip to content

error when KUBECONFIG contains more than one file #437

@ms-lolo

Description

@ms-lolo

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions