From 00c6193ce53cc84b086385fbb16d82be59038e0e Mon Sep 17 00:00:00 2001 From: Nelson Figueroa <30811275+nelsonfigueroa@users.noreply.github.com> Date: Mon, 5 Oct 2020 08:09:36 -0700 Subject: [PATCH] kubectl-describe: add page (#4494) --- pages/common/kubectl-describe.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/kubectl-describe.md diff --git a/pages/common/kubectl-describe.md b/pages/common/kubectl-describe.md new file mode 100644 index 0000000000..cf344fd912 --- /dev/null +++ b/pages/common/kubectl-describe.md @@ -0,0 +1,24 @@ +# kubectl describe + +> Show details of Kubernetes objects and resources. +> More information: . + +- Show details of pods in a namespace: + +`kubectl describe pods -n {{namespace}}` + +- Show details of nodes in a namespace: + +`kubectl describe nodes -n {{namespace}}` + +- Show the details of a specific pod in a namespace: + +`kubectl describe pods {{pod_name}} -n {{namespace}}` + +- Show the details of a specific node in a namespace: + +`kubectl describe nodes {{node_name}} -n {{namespace}}` + +- Show details of Kubernetes objects defined in a YAML manifest: + +`kubectl describe -f {{path/to/manifest}}.yaml`