Does the Kubernetes provider use kubectl, or does ...
# kubernetes
l
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
Have access to a running Kubernetes cluster
• If
kubectl
already works for your running cluster, Pulumi respects and uses this configuration.
l
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
Glad you were able to figure it out