This message was deleted.
# general
s
This message was deleted.
d
You can generate the kubeconfig to be used with the kubernetes provider: https://github.com/pulumi/examples/blob/267aba12c943d7a8032dee2676d1b8ab0a344695/gcp-ts-gke/cluster.ts#L43
I'd recommend keeping app deployment in a separate stack to cluster creation/management though
b
Ah, cool, thanks! 🙂
@dry-keyboard-94795 is there any documentation about good practices for separating IaC from app/manifest code? Like, how to properly structure configs + directory structure etc
s
I, too, would recommend separating the cluster and the application into separate stacks---they (quite likely) have different lifecycles.
b
Mostly, yes, but since I'm doing this for a self-managed service that's built by a third party, I'm putting it all together. In general, though, that's a good point, I agree 🙂