https://pulumi.com logo
h

helpful-vegetable-35581

04/25/2019, 6:30 PM
This is probably style as much as anything but what are people doing for k8s deployments to multiple clusters? Are you looping or something in your pulumi program with a new provider per cluster, or are you making a stack per cluster and managing that loop outside of pulumi (shell script or similar)?
g

gorgeous-egg-16927

04/25/2019, 7:17 PM
For our use at Pulumi, we typically do a cluster per stack and manage that via a CI pipeline with a Git-ops workflow. There are a couple known issues that can cause problems with all-in-one stack setups: https://github.com/pulumi/pulumi-kubernetes/issues/520 https://github.com/pulumi/pulumi/issues/2674 We plan to address these soon.
h

helpful-vegetable-35581

04/25/2019, 8:19 PM
Ah OK, will go with stacks per cluster then.