kubecfg
kubecfg
kubecfg is a Kubernetes kubeconfig manager with fast context switching, namespace management, context groups, health checks, guarded sessions, and policy profiles.
Install
brew tap kadirbelkuyu/tap
brew install kadirbelkuyu/tap/kubecfg
go install github.com/kadirbelkuyu/kubecfg@latest
Quickstart
kubecfg use
kubecfg ns kube-system
kubecfg current
kubecfg status
kubecfg guard start --ttl 30m
Core Commands
kubecfg useswitches contexts directly or interactively.kubecfg nssets or shows the namespace for the current context.kubecfg statuschecks Kubernetes API reachability.kubecfg groupmanages named context groups.kubecfg policyinspects and validates guard policy profiles.kubecfg guardstarts, inspects, and stops guarded sessions.