https://pulumi.com logo
#general
Title
# general
g

gray-tailor-20387

03/30/2020, 8:25 AM
Hey community, 2 questions I want to make separation between management and application in my cluster and thinking of doing this with 2 different nodepools. Is this a good idea? In python pulumi i can't seem to link an additional node pool to my cluster. I'm supposed to do this with "*`cluster_id`*" in *"*class `pulumi_digitalocean.*KubernetesNodePool"*`But i have no clue where I'm supposed to get this cluster_id. (in Terraform they do it this way:
Copy code
cluster_id = digitalocean_kubernetes_cluster.foo.id
b

billowy-army-68599

03/30/2020, 3:59 PM
Hey Robin, did you define your cluster with pulumi? If you did, you should have a variable populated with your cluster_id, if you didn't, you can use
KubernetesCluster.get
https://www.pulumi.com/docs/reference/pkg/python/pulumi_digitalocean/#pulumi_digitalocean.KubernetesCluster.get