k9s: add page (#10911)

* k9s: add page

* k9s: update description

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* k9s: update link to documentation

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* k9s: update command style description

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* k9s: update command style description

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Rui Alves 2023-10-11 05:31:17 +01:00 committed by GitHub
parent ba0ad0b7a6
commit 55704e0666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
pages/common/k9s.md Normal file
View File

@ -0,0 +1,20 @@
# k9s
> View and manage Kubernetes clusters.
> More information: <https://k9scli.io/topics/commands/>.
- 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}}`