This message was deleted.
# general
s
This message was deleted.
b
hey! Are you planning on building your clusters with pulumi too, or do they already exist?
p
plan to build them as well
b
a common pattern is to have 2 different projects - cluster, 2 stack for each which exports a kubeconfig - in your app project, you have 2 stacks and you use a stack reference to import the cluster kubeconfig which language SDK are you planning to use? I can share an example
p
typescript
b
so take the following example, the
kubeconfig
is exported here: https://github.com/jaxxstorm/containers-from-the-couch/blob/main/infra/index.ts#L50 and then here I build the provider and use the stack name using
pulumi.getStack()
p
ah I get it!
will give this a go