gcloud has deprecated --mode when creating a network. We should instead use --subnet-mode now.

pull/241/head
Tulio De Souza 2017-10-18 10:48:26 +01:00
parent e8d728d016
commit 7ef9f73e10
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ In this section a dedicated [Virtual Private Cloud](https://cloud.google.com/com
Create the `kubernetes-the-hard-way` custom VPC network: Create the `kubernetes-the-hard-way` custom VPC network:
``` ```
gcloud compute networks create kubernetes-the-hard-way --mode custom gcloud compute networks create kubernetes-the-hard-way --subnet-mode custom
``` ```
A [subnet](https://cloud.google.com/compute/docs/vpc/#vpc_networks_and_subnets) must be provisioned with an IP address range large enough to assign a private IP address to each node in the Kubernetes cluster. A [subnet](https://cloud.google.com/compute/docs/vpc/#vpc_networks_and_subnets) must be provisioned with an IP address range large enough to assign a private IP address to each node in the Kubernetes cluster.