update command used to create deployment (#19005)
The previous one was showing a deprecation warning when used.
This commit is contained in:
@@ -34,7 +34,7 @@ document. The examples use a small nginx webserver that echoes back the source
|
||||
IP of requests it receives through an HTTP header. You can create it as follows:
|
||||
|
||||
```console
|
||||
kubectl run source-ip-app --image=k8s.gcr.io/echoserver:1.4
|
||||
kubectl create deployment source-ip-app --image=k8s.gcr.io/echoserver:1.4
|
||||
```
|
||||
The output is:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user