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

freezing-artist-51725

09/26/2019, 3:33 AM
I am trying to add a node pool to a gke cluster. I have the following
Copy code
gpu_node_pool = NodePool(
    resource_name="gpu-pool-0", 
    cluster=k8s_cluster.name,
    initial_node_count=0,
    autoscaling={"minNodeCount":0, "maxNodeCount":1},
    node_config={"guest_accelerators": ["count", "1", "type", "nvidia-tesla-p100"], 
                "disk_size_gb": 200, 
                "diskType": "pd-standard",
                "imageType": "COS"})