Complete the code to enable VPC-native mode when creating a GKE cluster.
gcloud container clusters create my-cluster --enable-ip-alias=[1]To enable VPC-native mode, you must set --enable-ip-alias to true.
Complete the code to specify the secondary range for pods in a VPC-native GKE cluster.
gcloud container clusters create my-cluster --enable-ip-alias --cluster-secondary-range-name=[1]The --cluster-secondary-range-name flag specifies the secondary subnet range used for pods. It is commonly named like pods-range.
Fix the error in the command to create a VPC-native GKE cluster with correct service secondary range.
gcloud container clusters create my-cluster --enable-ip-alias --services-secondary-range-name=[1]The --services-secondary-range-name flag must point to the secondary subnet range reserved for services, usually named services-range.
Fill both blanks to create a VPC-native GKE cluster with correct secondary ranges for pods and services.
gcloud container clusters create my-cluster --enable-ip-alias --cluster-secondary-range-name=[1] --services-secondary-range-name=[2]
The --cluster-secondary-range-name should be the pods subnet range, and --services-secondary-range-name should be the services subnet range.
Fill all three blanks to create a VPC-native GKE cluster with custom network, subnetwork, and enable IP aliasing.
gcloud container clusters create my-cluster --network=[1] --subnetwork=[2] --enable-ip-alias=[3]
Specify your custom VPC network and subnetwork names, and enable IP aliasing by setting --enable-ip-alias to true.