Fix missing selector subcommand (#10982)

For accuracy the second command "kubectl set" in the pipeline under the example`s breakdown should contain subcommand: selector
pull/11005/head
nepomucen 2018-11-15 02:45:18 +01:00 committed by k8s-ci-robot
parent 3d8f4a2e73
commit d69f6b2353
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ kubectl create service clusterip my-svc --clusterip="None" -o yaml --dry-run | k
```
1. The `kubectl create service -o yaml --dry-run` command creates the configuration for the Service, but prints it to stdout as YAML instead of sending it to the Kubernetes API server.
1. The `kubectl set --local -f - -o yaml` command reads the configuration from stdin, and writes the updated configuration to stdout as YAML.
1. The `kubectl set selector --local -f - -o yaml` command reads the configuration from stdin, and writes the updated configuration to stdout as YAML.
1. The `kubectl create -f -` command creates the object using the configuration provided via stdin.
## Using `--edit` to modify objects before creation