damp-magazine-59707
06/27/2024, 4:39 PM~/.kube/config
present on the machine, it uses that, and if there isn't, it errors out. code is here. what am i missing?damp-magazine-59707
06/27/2024, 4:42 PMkubectl
with that file just fine. it's not a config generation issuedamp-magazine-59707
06/27/2024, 4:46 PMpulumi up
on a system without an existing kube config, i get:
error: configured Kubernetes cluster is unreachable: unable to load Kubernetes client configuration from kubeconfig file. Make sure you have:
• set up the provider as per <https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/>
invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
damp-magazine-59707
06/27/2024, 4:47 PMadamant-autumn-75882
06/27/2024, 4:47 PMdamp-magazine-59707
06/27/2024, 4:48 PMadamant-autumn-75882
06/27/2024, 5:16 PMadamant-autumn-75882
06/27/2024, 5:17 PMdamp-magazine-59707
06/27/2024, 5:36 PMpulumi stack output
. it's not exporteddamp-magazine-59707
06/27/2024, 5:42 PMkubeconfig
kwarg can be either the contents of a kubeconfig, or a path to the file; neither one works. this really feels like a bug in the k8s python sdk