https://pulumi.com logo
Title
l

limited-rain-96205

11/10/2022, 8:05 AM
Does the Kubernetes provider use kubectl, or does it talk to the k8s apiserver directly? If it uses kubectl, does it use the one installed on the host, or one embedded in the provider package?
m

millions-furniture-75402

11/10/2022, 1:28 PM
Have access to a running Kubernetes cluster
• If
kubectl
already works for your running cluster, Pulumi respects and uses this configuration.
l

limited-rain-96205

11/10/2022, 4:56 PM
It uses the configuration, yes, but does it use the exact same
kubectl
? Or does it have a different version embedded?
Aha. From the pulumi-kubernetes FAQ:
Pulumi uses the official Kubernetes client-go library to interact with the Kubernetes cluster.
https://www.pulumi.com/registry/packages/kubernetes/faq/#does-pulumi-work-with-my-kubeconfig-file
So the installed version of
kubectl
is irrelevant.
m

millions-furniture-75402

11/10/2022, 5:30 PM
Glad you were able to figure it out