From 7ef9f73e1079f17f1eb8d68d8b787e6c38f78137 Mon Sep 17 00:00:00 2001 From: Tulio De Souza Date: Wed, 18 Oct 2017 10:48:26 +0100 Subject: [PATCH] gcloud has deprecated --mode when creating a network. We should instead use --subnet-mode now. --- docs/03-compute-resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/03-compute-resources.md b/docs/03-compute-resources.md index d81202d..eb953c0 100644 --- a/docs/03-compute-resources.md +++ b/docs/03-compute-resources.md @@ -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: ``` -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.