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

incalculable-army-40859

05/21/2020, 1:32 AM
Hello - I am configuring a GKE cluster. It seems the property
useIpAliases
is missing from
ipAllocationPolicy
when creating a
gcp.container.Cluster
. If I leave an empty
ipAllocationPolicy
the cluster is not VPC-native. The property is also missing from the docs. According to the Google documentation, creating a VPC-native cluster can be achieved with:
Copy code
{
  "name": cluster-name,
  "description": description,
  ...
  "ipAllocationPolicy": {
    "useIpAliases": true,
    "createSubnetwork": true,
    "subnetworkName": subnet-name
  },
  ...
}
where
ipAllocationPolicy
is described in https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.IPAllocationPolicy.
I am using
"@pulumi/gcp": "^3.6.0"
s

stocky-island-3676

06/10/2020, 5:56 PM
@incalculable-army-40859 It’s in the doc you linked. I guess you got it working, right?
i

incalculable-army-40859

06/10/2020, 5:58 PM
Yes
2 Views