ๆƒฏๆ€ง่šๅˆ ้ซ˜ๆ•ˆ่ฟฝ่ธชๅ’Œ้˜…่ฏปไฝ ๆ„Ÿๅ…ด่ถฃ็š„ๅšๅฎขใ€ๆ–ฐ้—ปใ€็ง‘ๆŠ€่ต„่ฎฏ
้˜…่ฏปๅŽŸๆ–‡ ๅœจๆƒฏๆ€ง่šๅˆไธญๆ‰“ๅผ€

ๆŽจ่่ฎข้˜…ๆบ

B
Blog
Hugging Face - Blog
Hugging Face - Blog
ๆœˆๅ…‰ๅšๅฎข
ๆœˆๅ…‰ๅšๅฎข
้’›ๅช’ไฝ“๏ผšๅผ•้ข†ๆœชๆฅๅ•†ไธšไธŽ็”Ÿๆดปๆ–ฐ็Ÿฅ
้’›ๅช’ไฝ“๏ผšๅผ•้ข†ๆœชๆฅๅ•†ไธšไธŽ็”Ÿๆดปๆ–ฐ็Ÿฅ
ไบบไบบ้ƒฝๆ˜ฏไบงๅ“็ป็†
ไบบไบบ้ƒฝๆ˜ฏไบงๅ“็ป็†
ๅš
ๅšๅฎขๅ›ญ - Franky
่ฎฉๅฐไบงๅ“็š„็‹ฌ็ซ‹ๅ˜็Žฐๆ›ด็ฎ€ๅ• - ezindie.com
่ฎฉๅฐไบงๅ“็š„็‹ฌ็ซ‹ๅ˜็Žฐๆ›ด็ฎ€ๅ• - ezindie.com
P
Proofpoint News Feed
F
Fortinet All Blogs
H
Help Net Security
OSCHINA ็คพๅŒบๆœ€ๆ–ฐๆ–ฐ้—ป
OSCHINA ็คพๅŒบๆœ€ๆ–ฐๆ–ฐ้—ป
V
Visual Studio Blog
Jina AI
Jina AI
J
Java Code Geeks
Blog โ€” PlanetScale
Blog โ€” PlanetScale
S
SegmentFault ๆœ€ๆ–ฐ็š„้—ฎ้ข˜
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
็พŽ
็พŽๅ›ขๆŠ€ๆœฏๅ›ข้˜Ÿ
ๅš
ๅšๅฎขๅ›ญ - ๅธๅพ’ๆญฃ็พŽ
ๅฎ็މ็š„ๅˆ†ไบซ
ๅฎ็މ็š„ๅˆ†ไบซ
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems โ€“ The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for theโ€ฆ Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance โ€” not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test โ€œAI pollsโ€ are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - kubeastra/KubeAstra: AI-powered Kubernetes troub...
pruthviraja ยท 2026-05-06 ยท via Hacker News - Newest: "AI"

CI License: Apache 2.0 Python 3.11+ Next.js 16 MCP compatible PRs welcome

๐Ÿ“ฌ Subscribe for release updates โ€” new versions, no spam

Your clusters are talking. This assistant helps you listen.

An AI-powered Kubernetes troubleshooting assistant that lets teams investigate, diagnose, and resolve cluster issues through natural language โ€” via a chat-based web UI or directly inside your IDE (Cursor / Claude Desktop / VS Code via MCP).

Combines live kubectl access with pluggable LLM providers (Gemini, Ollama/local, more coming) for root-cause analysis that turns cryptic Kubernetes failures into clear answers and actionable fix commands.

See it in action

Watch the 90-second demo

โ–ถ Watch the 90-second demo โ€” Kubeastra walking through 7 real Kubernetes failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, stuck PVC, unschedulable pod, namespace-wide health, runbook generation).

Want to reproduce it locally? make demo spins up a kind cluster pre-seeded with six broken workloads. See demo/README.md.


Why this exists

Every DevOps engineer has been here: a pod is crashlooping at 2 AM, and you're mentally chaining together kubectl get, kubectl describe, kubectl logs, cross-referencing events, checking resource limits, and Googling error messages โ€” all while half asleep.

This tool handles that investigation loop for you:

  • Ask in plain English โ€” "Why is payment-service crashing in production?"
  • Get root-cause analysis โ€” not just logs, but AI-synthesized explanations of what's wrong and why
  • Receive fix commands โ€” ready to run, with safety confirmations for write operations
  • Generate runbooks โ€” so your team doesn't debug the same issue twice
  • Stay on your own infra โ€” run entirely locally with Ollama, no data leaves your cluster

Key Features

๐Ÿ” 34 Built-in Kubernetes Tools

Live cluster tools (28) โ€” pod/deployment/service inspection, event streams, multi-namespace discovery, rollout status, kubeconfig context switching, log retrieval with previous-container support, resource-graph topology, deployment-level investigation, namespace-wide health analysis, and safe write operations (delete, scale, restart, patch โ€” all gated behind confirm=true).

AI analysis tools (6) โ€” error analysis with RAG-backed similarity search, curated fix playbooks for 11 error categories, AI-generated runbooks, cluster health reports, post-incident summarization.

๐Ÿ’ฌ Two Ways to Use It

Web UI IDE / MCP Integration
Chat-based Next.js interface for team-wide troubleshooting Direct integration into Cursor, Claude Desktop, or any MCP client
Shareable sessions with persistent chat history (SQLite) Debug without leaving your editor
SSH panel to attach to any remote kubeadm cluster 34 tools available via stdio or HTTP MCP transport

๐Ÿ”Œ Pluggable LLM Providers

Pick your LLM โ€” Google Gemini (default, free tier available) or Ollama (fully local โ€” your cluster data never leaves your network). OpenAI and Anthropic Claude adapters coming next.

๐Ÿ›ก๏ธ Safety First

  • Read-only by default โ€” all kubectl commands are validated before execution
  • Explicit confirmation required for write operations (delete, scale, restart, patch)
  • Full audit logging of every command executed
  • RBAC-aware โ€” respects your existing Kubernetes permissions
  • Input validation โ€” namespace/name/label-selector safety checks prevent injection

๐Ÿš€ Deploy Anywhere

  • Local dev โ€” docker-compose one-liner
  • Kind demo cluster โ€” make demo spins up a broken cluster so you can see the tool work in 60 seconds
  • Production Helm chart โ€” deploy into the same clusters it monitors
  • SSH multi-cluster โ€” query any remote kubeadm cluster without copying kubeconfigs

Quick Start

Option 1: Try the demo (60 seconds, no cluster needed)

Prerequisites: Docker Desktop, kind, kubectl

git clone https://github.com/kubeastra/KubeAstra.git
cd KubeAstra
make demo

Spins up a local kind cluster with pre-broken workloads (CrashLoop, OOM, ImagePull, stuck PVC) and launches the web UI.

Open http://localhost:3000 and ask "what's broken in the demo namespace?".

The demo generates its own kubeconfig automatically โ€” it does not touch your host's current kubectl context. See demo/README.md for full prerequisites and troubleshooting.

Option 2: Run locally against your own cluster

Prerequisites: a running Kubernetes cluster with kubectl access, and a Google Gemini API key (free tier) or Ollama running locally.

# 1. Configure the backend
cp ui/backend/.env.example ui/backend/.env
#    โ†’ set GEMINI_API_KEY (or LLM_PROVIDER=ollama) in .env

# 2. Start via docker-compose (kubeconfig mounted read-only)
cd ui
docker compose up --build

# 3. Open http://localhost:3000

Option 3: Use via MCP (Cursor / Claude Desktop)

cd mcp
./setup.sh        # creates venv, installs deps, writes MCP config entry

Edit mcp/.env:

GEMINI_API_KEY=your-key-here          # or LLM_PROVIDER=ollama
ALLOWED_NAMESPACES=prod,staging,default

Restart your IDE โ€” all 34 tools appear as MCP tools.

Option 4: Deploy to Kubernetes via Helm

helm upgrade --install kubeastra helm/kubeastra \
  --namespace kubeastra --create-namespace \
  --set backend.image.repository=ghcr.io/your-org/kubeastra-backend \
  --set frontend.image.repository=ghcr.io/your-org/kubeastra-frontend \
  --set secrets.geminiApiKey="YOUR_KEY" \
  --set secrets.kubeconfig="$(cat ~/.kube/config | base64 | tr -d '\n')"

How It Works

  1. You ask a question โ€” "Why are pods in checkout-service not starting?"
  2. Intent classification โ€” LLM (Gemini or local Ollama) picks the right tool + extracts params. Falls back to a 30+ pattern regex router if no LLM key is set.
  3. Auto-discovery โ€” if you don't specify a namespace, find_workload searches across all namespaces.
  4. Live investigation โ€” executes read-only kubectl commands against your cluster (or over SSH if you've connected a remote node).
  5. AI synthesis โ€” instead of dumping raw JSON, returns a clear 2โ€“3 sentence diagnosis with root cause and next steps.
  6. Persistence โ€” every message, tool call, and result saved to SQLite so you can pick up where you left off.

Example Interaction

You: Why is my-app crashing in the dev namespace?
Assistant: my-app-7d4f9b-xkj2p is in CrashLoopBackOff. The container is failing
with exit code 1 during startup โ€” the application logs show a connection
refused error to redis-master:6379. The Redis pod in this namespace is in
Pending state due to an unbound PVC.

Suggested fix:
  kubectl get pvc -n dev                   # Check PVC status
  kubectl describe pvc redis-data -n dev   # Check binding issue

Would you like me to generate a runbook for Redis PVC recovery?

Configuration

All settings are read from environment variables (or .env):

Variable Default Description
LLM_PROVIDER gemini gemini or ollama
GEMINI_API_KEY โ€” Required when LLM_PROVIDER=gemini. Get one free
GEMINI_MODEL gemini-2.5-flash Gemini model to use
OLLAMA_BASE_URL http://localhost:11434 Ollama server URL
OLLAMA_MODEL llama3.1 Ollama model name (must be pulled first)
ALLOWED_NAMESPACES * Comma-separated list, or * for all
KUBECTL_TIMEOUT_SECONDS 15 Per-command timeout
MAX_LOG_TAIL_LINES 200 Max log lines per request
ENABLE_RECOVERY_OPERATIONS false Enables delete_pod, rollout_restart, scale_deployment, apply_patch
WEAVIATE_URL http://localhost:8080 Optional RAG vector DB

Repository Layout

kubeastra/
โ”œโ”€โ”€ ui/
โ”‚   โ”œโ”€โ”€ frontend/          # Next.js chat UI
โ”‚   โ”œโ”€โ”€ backend/           # FastAPI app + SQLite persistence
โ”‚   โ””โ”€โ”€ docker-compose.yml
โ”œโ”€โ”€ mcp/
โ”‚   โ”œโ”€โ”€ mcp_server/        # MCP server (stdio + HTTP transports)
โ”‚   โ”œโ”€โ”€ k8s/               # kubectl wrappers, SSH runner, validators
โ”‚   โ”œโ”€โ”€ ai_tools/          # Error analysis, runbooks, error summary
โ”‚   โ”œโ”€โ”€ services/          # LLM providers, Weaviate, embeddings
โ”‚   โ””โ”€โ”€ config/settings.py
โ”œโ”€โ”€ helm/kubeastra/        # Helm chart
โ”œโ”€โ”€ demo/                  # Kind + broken workloads for `make demo`
โ””โ”€โ”€ docs/                  # Public documentation

Roadmap

  • Gemini + Ollama (local) LLM support
  • Demo mode with kind cluster
  • Visual resource graph (Ingress โ†’ Service โ†’ Deployment โ†’ Pod)
  • Approval flow for write operations
  • Deployment-level investigation (investigate_workload)
  • Namespace-wide health analysis (analyze_namespace)
  • Agentic investigation loop (multi-step ReAct)
  • OpenAI + Anthropic Claude adapters
  • Prometheus / Loki / Tempo observability integrations
  • CLI tool (kubeastra investigate <pod>)
  • Slack bot integration (alert-driven investigation)
  • "What changed?" view โ€” recent deployments, ConfigMap/Secret mutations
  • Shareable session URLs
  • VS Code extension (beyond MCP)
  • Post-mortem generator
  • CNCF Sandbox submission

Contributing

Contributions are welcome โ€” especially the items at the top of the roadmap. See CONTRIBUTING.md for local setup, project layout, and how to add a new tool, and CODE_OF_CONDUCT.md for community guidelines.

Looking for a starter task? Check the good first issue label.


License

Apache 2.0 โ€” see LICENSE for details.