Options (3)
-n, --namespacebooleanManage a cluster using a given Kubernetes namespace
Example:
k9s {{[-n|--namespace]}} {{kubernetes_namespace}} --cluster {{cluster_name}}-c, --commandbooleanManage a cluster launching k9s in the pod view and enable debug logging
Example:
k9s {{[-c|--command]}} {{pod}} {{[-l|--logLevel]}} debug --cluster {{cluster_name}}-l, --logLevelbooleanManage a cluster launching k9s in the pod view and enable debug logging
Example:
k9s {{[-c|--command]}} {{pod}} {{[-l|--logLevel]}} debug --cluster {{cluster_name}}Examples (4)
Manage a cluster using a kubeconfig context
k9s --context kubeconfig_context_nameManage a cluster in read-only mode (disabling all commands that may cause modifications)
k9s --readonly --cluster cluster_nameManage a cluster using a given Kubernetes namespace
k9s [-n|--namespace] kubernetes_namespace --cluster cluster_namemade by @shridhargupta | data from tldr-pages