This message was deleted.
# general
s
This message was deleted.
b
you could render the yaml to a directory: https://www.pulumi.com/docs/reference/pkg/kubernetes/provider/#renderyamltodirectory_nodejs and apply it with kubectl apply
o
Thanks, @billowy-army-68599 So, I actually have all the yaml rendered already and I was looking for ways to mass-apply it to all the k8s clusters managed by Pulumi… In our setup we spin up dozens of k8s clusters and then deploy similar (but not the same) stacks there. There’s a separate server that knows what should be deployed where and can give me yaml by the cluster name. I can obviously write a simple shell script to
kubectl apply
this yaml to each cluster, but I thought it would be better to do it via Pulumi. We already use Pulumi to provision those clusters, and it already knows all the credentials, runs on the CI, etc.
m
Unfortunately that's not possible in Pulumi.