From 6b56a8ecf3c984f599a8842dd3e691cddca1a810 Mon Sep 17 00:00:00 2001 From: Dan MacTough Date: Thu, 9 Nov 2017 22:26:45 -0500 Subject: [PATCH] resolve deprecation warning WARNING: mode is deprecated. Please use subnet-mode instead. --- 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.