https://pulumi.com logo
#kubernetes
Title
# kubernetes
a

ambitious-father-68746

08/05/2022, 1:03 AM
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

gorgeous-egg-16927

08/10/2022, 5:24 PM
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.
5 Views