mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
update commented examples just remove $
This commit is contained in:
@@ -55,23 +55,23 @@ persistentvolumes (pv), persistentvolumeclaims (pvc), resourcequotas (quota),
|
||||
namespaces (ns), serviceaccounts, horizontalpodautoscalers (hpa),
|
||||
endpoints (ep) or secrets.`
|
||||
describe_example = `# Describe a node
|
||||
$ kubectl describe nodes kubernetes-minion-emt8.c.myproject.internal
|
||||
kubectl describe nodes kubernetes-minion-emt8.c.myproject.internal
|
||||
|
||||
# Describe a pod
|
||||
$ kubectl describe pods/nginx
|
||||
kubectl describe pods/nginx
|
||||
|
||||
# Describe a pod identified by type and name in "pod.json"
|
||||
$ kubectl describe -f pod.json
|
||||
kubectl describe -f pod.json
|
||||
|
||||
# Describe all pods
|
||||
$ kubectl describe pods
|
||||
kubectl describe pods
|
||||
|
||||
# Describe pods by label name=myLabel
|
||||
$ kubectl describe po -l name=myLabel
|
||||
kubectl describe po -l name=myLabel
|
||||
|
||||
# Describe all pods managed by the 'frontend' replication controller (rc-created pods
|
||||
# get the name of the rc as a prefix in the pod the name).
|
||||
$ kubectl describe pods frontend`
|
||||
kubectl describe pods frontend`
|
||||
)
|
||||
|
||||
func NewCmdDescribe(f *cmdutil.Factory, out io.Writer) *cobra.Command {
|
||||
|
||||
Reference in New Issue
Block a user