https://pulumi.com logo
Title
m

magnificent-address-3498

05/12/2023, 7:22 AM
Hi, I am planning to use pulumi operator on multiple clusters. Is it possible to have pulumi-operator running on one cluster which executes updates on other clusters or do I have to roll out the operator on every single cluster?
t

thankful-thailand-33082

05/15/2023, 1:50 PM
It is entirely possible to use pulumi operator from outside the cluster if your control plane is exposed (and secure). You can either refer to another stack output for getting the cluster credentials if( the clusters were created using pulumi) Alternatively, you can encrypt the control plane kubeconfig in a pulumi secret inside the Pulumi.{env}.yaml.
m

magnificent-address-3498

05/15/2023, 3:33 PM
Sounds good. We are currently experimenting with configuring clusters using k8s cluster-api and having a operator on the management cluster (which has kubeconfigs for managed clusters in secrets) would complement it quite nicely IMO