Skip to content

Commit

Permalink
Avoid using deprecated commands in task
Browse files Browse the repository at this point in the history
The `kubectl run` way of creating Deployment is deprecated. This PR
replaces it with the new equivalent command.
  • Loading branch information
tengqm committed Jul 9, 2020
1 parent d701943 commit 621e5e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down

0 comments on commit 621e5e7

Please sign in to comment.