Kubebar is designed with a "security-first, local-only" philosophy. It acts as a lightweight observer for your Kubernetes clusters, relying entirely on your existing local environment and security configurations.
Kubebar is a wrapper around the kubectl command-line tool. It does not implement its own Kubernetes API client; instead, it leverages the battle-tested authentication and communication logic of kubectl.
- Requirement:
kubectlmust be installed and accessible in your systemPATH(typically/usr/local/bin/kubectlor/opt/homebrew/bin/kubectl). - Access: Kubebar calls
kubectlto fetch cluster status, node health, workload details, and events. It never asks for or stores your Kubernetes credentials (tokens, certificates, or passwords).
To understand which clusters are available and how to connect to them, Kubebar needs to read your kubeconfig file.
- Why: To populate the context picker during setup and to authorize requests via
kubectl. - Note: macOS may prompt you for permission to access the
.kubefolder when Kubebar first attempts to run a command.
Kubebar stores its own configuration (selected context, watchlist, and refresh cadence) at:
~/Library/Application Support/Kubebar/config.json
- This file contains no sensitive credentials. It only stores the names of the resources you wish to monitor.
- No Remote Telemetry: Kubebar does not send usage data or cluster information to any external servers.
- No Secret Access: Kubebar never queries Kubernetes
Secrets. It only reads high-level status metadata (Pods, Nodes, Events). - Process Isolation: All Kubernetes interaction happens through sub-processes calling your local
kubectlbinary.
If you see a "Permission Denied" state in the menu:
- Check Kubeconfig: Ensure your current user has read access to
~/.kube/config. - Binary Path: Ensure
kubectlis executable. You can verify this by runningwhich kubectlin your terminal. - macOS Gatekeeper: If you are running a pre-compiled version of Kubebar, you may need to explicitly allow it to execute sub-processes in System Settings > Privacy & Security.