Linux command
k9s 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start k9s
k9s
Start in namespace
k9s -n [namespace]
Start with specific context
k9s --context [context-name]
Start read-only
k9s --readonly
Show specific resource
k9s --command [pods|deployments|services]
List all clusters
k9s --all-namespaces
说明
k9s is a terminal UI for Kubernetes. It provides real-time cluster management with keyboard navigation. The tool displays pods, deployments, services, and more. It supports logs, exec, and resource editing.
参数
- -n _NAMESPACE_
- Start in namespace.
- --context _NAME_
- Kubernetes context.
- --readonly
- Read-only mode.
- --command _RESOURCE_
- Initial resource view.
- -A, --all-namespaces
- All namespaces.
- --help
- Display help information.
FAQ
What is the k9s command used for?
k9s is a terminal UI for Kubernetes. It provides real-time cluster management with keyboard navigation. The tool displays pods, deployments, services, and more. It supports logs, exec, and resource editing.
How do I run a basic k9s example?
Run `k9s` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -n _NAMESPACE_ do in k9s?
Start in namespace.