Skip to content

Commit 621e5e7

Browse files
committed
Avoid using deprecated commands in task
The `kubectl run` way of creating Deployment is deprecated. This PR replaces it with the new equivalent command.
1 parent d701943 commit 621e5e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tasks/extend-kubernetes/http-proxy-access-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you do not already have an application running in your cluster, start
1717
a Hello world application by entering this command:
1818

1919
```shell
20-
kubectl run node-hello --image=gcr.io/google-samples/node-hello:1.0 --port=8080
20+
kubectl create deployment node-hello --image=gcr.io/google-samples/node-hello:1.0 --port=8080
2121
```
2222

2323
<!-- steps -->

0 commit comments

Comments
 (0)