From 55704e06662d8fae29a5c7c16548031beb3a5b90 Mon Sep 17 00:00:00 2001 From: Rui Alves Date: Wed, 11 Oct 2023 05:31:17 +0100 Subject: [PATCH] k9s: add page (#10911) * k9s: add page * k9s: update description Co-authored-by: K.B.Dharun Krishna * k9s: update link to documentation Co-authored-by: K.B.Dharun Krishna * k9s: update command style description Co-authored-by: K.B.Dharun Krishna * k9s: update command style description Co-authored-by: K.B.Dharun Krishna --------- Co-authored-by: K.B.Dharun Krishna --- pages/common/k9s.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/k9s.md diff --git a/pages/common/k9s.md b/pages/common/k9s.md new file mode 100644 index 000000000..be4994151 --- /dev/null +++ b/pages/common/k9s.md @@ -0,0 +1,20 @@ +# k9s + +> View and manage Kubernetes clusters. +> More information: . + +- Manage a cluster using a kubeconfig context: + +`k9s --context {{kubeconfig_context_name}}` + +- Manage a cluster in read-only mode (disabling all commands that may cause modifications): + +`k9s --readonly --cluster {{cluster_name}}` + +- Manage a cluster using a given kubernetes namespace: + +`k9s --namespace {{kubernetes_namespace}} --cluster {{cluster_name}}` + +- Manage a cluster launching k9s in the pod view and enable debug logging: + +`k9s --command {{pod}} --logLevel debug --cluster {{cluster_name}}`