Skip to content

Commit ecb0c27

Browse files
committed
Minor modification in kubectl-cheatsheet.md applied
1 parent d3ada38 commit ecb0c27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/reference/kubectl/cheatsheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ kubectl cluster-info # Display
389389
kubectl cluster-info dump # Dump current cluster state to stdout
390390
kubectl cluster-info dump --output-directory=/path/to/cluster-state # Dump current cluster state to /path/to/cluster-state
391391

392-
# "View existing taints on which exist on current nodes."
393-
kubectl get nodes -o=custom-columns=NodeName:.metadata.name,TaintKey:.spec.taints[*].key,TaintValue:.spec.taints[*].value,TaintEffect:.spec.taints[*].effect
392+
# View existing taints on which exist on current nodes.
393+
kubectl get nodes -o='custom-columns=NodeName:.metadata.name,TaintKey:.spec.taints[*].key,TaintValue:.spec.taints[*].value,TaintEffect:.spec.taints[*].effect'
394394

395395
# If a taint with that key and effect already exists, its value is replaced as specified.
396396
kubectl taint nodes foo dedicated=special-user:NoSchedule

0 commit comments

Comments
 (0)