Hi everyone! Is there a way to query an existing kubernetes object programmatically within my Python program? I've seen Pulumi Query but that's a separate CLI tool
g
great-zebra-31498
01/24/2024, 2:52 PM
have you tried to use Python kubernetes client?
you can mix different libraries with pulumi
in my project I use pulumi and boto3 for maintaining AWS infrastructure and it works just fine
r
rough-butcher-84623
01/24/2024, 5:47 PM
Hey, thanks for the reply! I tried that, the problem is that I couldn't pass the client the kubeconfig that I generate from the cluster object because it's of type Output. Do you know of any workarounds?