Hi, I've been using Pulumi for a number of years n...
# kubernetes
a
Hi, I've been using Pulumi for a number of years now, but only recently started using the Kubernetes provider. Is there a way to get information from a Kubernetes cluster, for example getting a list of services? Other providers have functions for this, but not Kubernetes. I'm not sure how that would work here. Thank you.
g
The provider doesn’t currently have built-in support for broader queries like that, but you can get information about a specific named resource with the
get
methods on each resource class. A couple other possibilities would be the
pulumi-command
provider to make
kubectl
calls, or using a k8s client specific to whatever language you’re using.