Purpose
KubeStellar Console is an open-source multi-cluster Kubernetes management dashboard, self-described as "the world's first fully integrated and fully automated Kubernetes management and orchestration solution." It is aimed at operators and developers who need to manage multiple Kubernetes clusters simultaneously and want to leverage AI capabilities to simplify operations and CNCF project onboarding.
Main Capabilities
- AI-driven multi-cluster dashboard for browsing and managing clusters.
- Built-in guided install missions, covering 250+ CNCF projects.
- Adaptive AI: tracks card interactions and suggests replacement cards when the user's focus changes (the material mentions Claude and OpenAI).
- Onboarding: personalized dashboard after logging in via GitHub and answering role questions.
- Extensible via the Marketplace: community-provided dashboards, card presets, and themes, covering Kubernetes operations, AI/ML, security, GitOps, networking, and CNCF project integrations, without needing to add custom code to the core console package.
- Provides kc-agent: a local HTTP/WS daemon (default http://127.0.0.1:8585),将自托管控制台与用户的 kubeconfig contexts and AI provider connections.
How to Use
Hosted Demo (no installation required)
The material states that the fastest way to evaluate the console is to use the hosted version: console.kubestellar.io. No Kubernetes cluster, no installation, and no configuration are required, and demo data is built in. This hosted demo is a self-contained showcase that provides preset demo data and intentionally does not communicate with the local agent (in the Netlify build, LOCAL_AGENT_HTTP_URL is disabled, so the browser cannot access the local kc-agent).
Local Self-Hosting
start.sh downloads the prebuilt console binary and prebuilt kc-agent, starts both, and opens http://localhost:8080。
Deploying to a Cluster
Use deploy.sh, which supports the arguments --openshift, --ingress <host>, --github-oauth, and --uninstall. For complete arguments, environment variables, exit codes, and examples, see docs/deploy.md. For Helm chart installation that needs to connect to the in-cluster Kagenti backend, see Connecting Kagenti and the Kagenti deployment guide.
Source Code Development Entry Points
- CLAUDE.md: a developer guide to repository structure, testing expectations, and agent rules
- CONTRIBUTING.md: contribution process, issue/PR conventions, and checklist explanations
- docs/README.md: a documentation index grouped by audience
kc-agent
kc-agent is a small local HTTP/WS daemon (default http://127.0.0.1:8585),自托管控制台通过它与 kubeconfig contexts and AI providers. kc-agent is not required when only browsing the UI / demo data. start.sh has already automatically installed and started the prebuilt kc-agent, so most users do not need to install it manually.
Prerequisites:
- A kubeconfig pointing to one or more reachable clusters (local kubectl get nodes works)
- macOS, Linux, or Windows with WSL2
Authentication: kc-agent accepts a shared secret via KC_AGENT_TOKEN. Once set, browser and WebSocket requests must carry Authorization: Bearer <token> (for real WebSocket upgrades, ?token=<token> works). If start-dev.sh and startup-oauth.sh do not set it, they automatically generate a random KC_AGENT_TOKEN for each session. You can generate one with openssl rand -hex 32.
Once both are running, open http://localhost:8080,本地集群会出现在集群选择器中。
Windows / WSL2
The console installation script and kc-agent are POSIX shell + Go and can run as-is in WSL2. Native Windows (PowerShell / CMD) is not supported. WSL2 and Ubuntu must be installed, and it must be run from a WSL shell. start.sh requires only curl and will download a prebuilt binary, with no Go toolchain needed. Note that in PowerShell, curl is an alias for Invoke-WebRequest; use curl.exe to test endpoints. Building kc-agent from source requires Go 1.26.4+ (the version pinned in go.mod) and git.
GitHub Authentication and OAuth
The documentation states that the console uses two types of GitHub credentials, and most users need neither. There are two equivalent ways to set up the integrated PAT (the same field, FeedbackGitHubToken): set FEEDBACK_GITHUB_TOKEN=ghp_… in the .env at the repository root; or in the settings UI (self-hosted only, requires the admin role), go to Settings → GitHub Token and paste it; the UI will POST to /api/github/token. The hosted Netlify demo cannot persist a PAT.
Steps for self-hosted GitHub OAuth: create a GitHub OAuth App, set the Homepage URL to http://localhost:8080,Callback URL to http://localhost:8080/auth/github/callback;记录 Client ID and generate a Client Secret; clone the repository; create .env at the repository root and write GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET; run ./startup-oauth.sh; open http://localhost:8080 and sign in with GitHub. For Kubernetes deployments, pass --github-oauth to deploy.sh.
PAT permission scopes: a classic PAT requires the repo scope, or a fine-grained PAT requires Issues: Read & Write and Contents: Read & Write.
AI Configuration
AI is optional; when no AI key is configured, the UI, tasks, and dashboard are all usable. AI BYOK applies only to the self-hosted console. kc-agent uses local CLI providers and operator-controlled OpenAI-compatible / self-hosted LLMs. The documentation states that in the current build, raw vendor API keys such as ANTHROPIC_API_KEY, OPENAI_API_KEY, and GOOGLE_API_KEY do not make Anthropic/OpenAI/Gemini mission-capable kc-agent providers; the agent registry intentionally excludes these upstream API-key providers because they cannot execute cluster commands and traffic would be routed to vendor-specific endpoints the operator cannot control.
Recommended setup paths:
- CLI-based agents (with full tool execution capability): Claude Desktop or claude CLI, Gemini CLI, GitHub Copilot CLI (gh extension install github/gh-copilot), as well as other CLI agents such as codex, antigravity, goose, and bob. kc-agent automatically detects installed CLI agents, with no environment variables needed: ./bin/kc-agent
- Local/self-hosted LLM servers (OpenAI-compatible endpoints): Ollama (OLLAMA_URL=http://127.0.0.1:11434、OLLAMA_MODEL=llama3.2)、Open WebUI (OPEN_WEBUI_URL, OPEN_WEBUI_API_KEY, OPEN_WEBUI_MODEL), llama.cpp, LocalAI, vLLM, LM Studio, Red Hat AI Inference Server.
The documentation explains the purpose of the API-key variables in the README: ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY relate to backend/Stellar provider configuration and source-level HTTP-provider support; GROQ_API_KEY and OPENROUTER_API_KEY enable registered chat-only providers. None of these can replace the aforementioned CLI approach for using kc-agent's mission or tool-execution workflows. The "Manage Keys" button in Settings → API Keys in the UI connects to the agent's /settings/keys endpoint, but in the current build this endpoint returns an empty provider list. If no supported AI provider is configured, AI functionality falls back to deterministic/rule-based behavior.
For the security model, air-gapped deployment, and local/self-hosted LLMs, see docs/security/SECURITY-MODEL.md.
Use Cases
- Teams that need a unified view and management of multiple Kubernetes clusters.
- Users who want to onboard CNCF ecosystem projects through guided tasks.
- Scenarios where you want to query and manage clusters in natural language through an AI coding agent.
- Operations environments that need to use AI functionality under self-hosted, controllable AI endpoints (local LLM or CLI agent).
Limitations and Notes
- The hosted demo console.kubestellar.io uses preset demo data, does not connect to a local agent, cannot access real cluster data, and cannot save a PAT.
- Using your own cluster data or bringing your own AI key requires self-hosting the console.
- Native Windows (PowerShell / CMD) is not supported; WSL2 is required.
- In the current build, vendor API-key-type agents are not applicable to kc-agent's mission workflow; Settings → API Keys' Manage Keys returns an empty provider list.
- Building kc-agent from source requires Go 1.26.4+ and git.
- The documentation does not provide pricing or cost information for the console or kc-agent; not yet available.
- The documentation does not provide specific performance metrics, cluster size limits, or similar information; not yet available.