From 621e5e72362184411ee9c0ad3f287f3cafa91419 Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Thu, 9 Jul 2020 10:21:51 +0800 Subject: [PATCH] Avoid using deprecated commands in task The `kubectl run` way of creating Deployment is deprecated. This PR replaces it with the new equivalent command. --- .../en/docs/tasks/extend-kubernetes/http-proxy-access-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/extend-kubernetes/http-proxy-access-api.md b/content/en/docs/tasks/extend-kubernetes/http-proxy-access-api.md index dd80c8c349..b3aae7fc3e 100644 --- a/content/en/docs/tasks/extend-kubernetes/http-proxy-access-api.md +++ b/content/en/docs/tasks/extend-kubernetes/http-proxy-access-api.md @@ -17,7 +17,7 @@ If you do not already have an application running in your cluster, start a Hello world application by entering this command: ```shell -kubectl run node-hello --image=gcr.io/google-samples/node-hello:1.0 --port=8080 +kubectl create deployment node-hello --image=gcr.io/google-samples/node-hello:1.0 --port=8080 ```