kcm
kcm¶
Manage kubeconfig files and kubectl contexts
Synopsis¶
kubeconfig-manager (kcm) is a TUI + CLI for managing local kubeconfig files and kubectl contexts, with tagging and destructive-action guardrails.
Options¶
SEE ALSO¶
- kcm alert - Configure destructive-action alerts per kubeconfig or context
- kcm audit - Show the guard-prompt audit log (kubectl + helm approvals / aborts)
- kcm context - Rename or delete contexts within a kubeconfig file
- kcm contexts - List contexts in the default kubeconfig (~/.kube/config)
- kcm doctor - Run diagnostic checks against the local kcm + kubectl setup
- kcm helm - Run helm through the values-path / context mismatch guard
- kcm helm-guard - Configure the helm values-path / context mismatch guard
- kcm import - Merge a kubeconfig file into the default ~/.kube/config (or --into)
- kcm init - First-run walkthrough: palette seed, shell hook, starship snippet
- kcm install-shell-hook - Install shell integration (kcm function and kubectl alias)
- kcm kubectl - Run kubectl through the destructive-action guard
- kcm list - List kubeconfig files in the managed directory
- kcm merge - Merge two kubeconfig files into a new file
- kcm prune - List (and optionally remove) state entries whose kubeconfig is gone or whose topology changed
- kcm rename - Rename a kubeconfig file on disk (metadata re-binds automatically)
- kcm show - Show contexts, clusters, and users of a kubeconfig file
- kcm split - Extract a context (with its cluster and user) into its own file
- kcm starship - Print a one-line tag/alert summary for starship's custom module
- kcm tag - Manage tags on kubeconfig files or individual contexts
- kcm tui - Launch the interactive TUI
- kcm uninstall-shell-hook - Remove the shell integration block from the rc file
- kcm use - Print a shell snippet that exports KUBECONFIG to the selected file