Avoid using deprecated commands in task

The `kubectl run` way of creating Deployment is deprecated. This PR
replaces it with the new equivalent command.
This commit is contained in:
Qiming Teng
2020-07-09 10:21:51 +08:00
parent d701943a43
commit 621e5e7236
@@ -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
```
<!-- steps -->