mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #2540 from mikedanese/kubectl-example-fix
Fixed kubectl example
This commit is contained in:
commit
c0fb54b8ca
@ -45,7 +45,7 @@ Examples:
|
|||||||
$ kubectl get replicationController 1234-56-7890-234234-456456
|
$ kubectl get replicationController 1234-56-7890-234234-456456
|
||||||
<list single replication controller in ps output format>
|
<list single replication controller in ps output format>
|
||||||
|
|
||||||
$ kubectl get -f json pod 1234-56-7890-234234-456456
|
$ kubectl get -o json pod 1234-56-7890-234234-456456
|
||||||
<list single pod in json output format>`,
|
<list single pod in json output format>`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
mapping, namespace, name := ResourceOrTypeFromArgs(cmd, args, f.Mapper)
|
mapping, namespace, name := ResourceOrTypeFromArgs(cmd, args, f.Mapper)
|
||||||
|
Loading…
Reference in New Issue
Block a user