Hello - I am configuring a GKE cluster. It seems t...
# general
i
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
@incalculable-army-40859 It’s in the doc you linked. I guess you got it working, right?
i
Yes