I used to trigger a VPC native cluster with: ``` ...
# google-cloud
i
I used to trigger a VPC native cluster with:
Copy code
ipAllocationPolicy: {
          useIpAliases: true, //  creates the cluster with Alias IP addresses
          createSubnetwork: true, // enables ip aliasing
        },
but this config was removed. I used an explicit network/subnetwork passed to my cluster, but it does not trigger creation of a VPC native cluster. What could I be missing there @gentle-diamond-70147?
This old config is still referenced by the gcp docs https://cloud.google.com/kubernetes-engine/docs/how-to/alias-ips
I’m trying with the
ipAllocationPolicy
block defined now:
Copy code
ipAllocationPolicy: {
          // use_ip_aliases defaults to true if the ip_allocation_policy block is defined
        },
Found that in a terraform issue
That appears to work, not done creating yet but it does say alias IP enabled in the console
g
Sorry for the delay... did that work?
And did the
location
setting work for you?
i
yes, that triggered VPC native (ip aliasing enabled)
location
still doesn’t work for zone only. I’m going to circle back to it once I have some other issues ironed out