Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

25
k9s Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`