RepositoryTypeScript
manishchaudhary101

manishchaudhary101/kube-argus

Real-time Kubernetes dashboard for SREs — live cluster state, drain wizard, YAML editor, just-in-time exec access, cost analysis, and AI diagnosis in a single binary

154stars
9forks
0issues
6views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: kubernetes-dashboard

#1 Repository of the week

3
TINIX TRENDING·Topic: cost-optimization

#3 Repository of the week

4
TINIX TRENDING·Topic: eks

#4 Repository of the week

Kube-Argus Logo

Kube-Argus

Real-time Kubernetes Dashboard

A Project by Manish Chaudhary

build release last commit Go React License Kubernetes Artifact Hub Docker Image GitHub Stars Issues code size license scan

Live cluster state, streaming pod logs, just-in-time exec access, interactive shell, YAML editor, drain wizard, cost analysis, and AI-powered diagnostics — in a single binary with zero dependencies.


Cluster Overview — Live node status, CPU/memory utilisation, top namespaces, and resource counts refreshed every 10 seconds.

Cluster Overview
Node Detail & Metrics — kubectl describe-style detail with Prometheus metrics, events, pod list, and admin actions (cordon, drain).

Node Detail and Metrics
Pod Metrics & Logs — Per-pod CPU/memory graphs, live log streaming, container selector, and AI-powered diagnosis.

Pod Metrics and Logs
Spot Advisor & Cost Analysis — Spot instance risk scoring, cluster cost breakdown, and intelligent consolidation recommendations.

Spot Advisor and Cost Analysis

Why Kube-Argus?

Most Kubernetes dashboards show you resources. Kube-Argus gives you a live, real-time operating picture of your cluster — what's happening now, what it costs, and how to fix it — with the same immediacy as k9s, but in a web UI you can share with your team.

Key Features

  • 💡 Single binary (~20 MB) — one Go binary serves the API and React frontend; ~30 MB Docker image
  • ⚡ 10-second auto-refresh — every view updates automatically, no manual reload
  • 🔒 Zero dependencies — no database, no CRDs, no operators, no agents on worker nodes
  • 📊 Prometheus metrics — node, pod, and workload metrics with selectable time ranges
  • 🤖 AI-powered diagnosis — LLM-powered pod troubleshooting with streaming responses
  • 💰 Cost analysis — spot instance risk scoring, namespace cost allocation, consolidation recommendations
  • 🖥️ Interactive web shell — exec into any pod over WebSocket with full terminal
  • 📋 YAML editor — view and edit raw YAML for 11 resource kinds
  • 🔐 JIT exec access — zero-trust shell access with approval workflow, auto-expiry, and custom durations up to 7 days
  • ⭐ Namespace favorites — star frequently-used namespaces, persisted per-user
  • ⏱️ CronJob manual trigger — run CronJobs on demand with JIT approval for viewers
  • 📈 Pod restart timeline — color-coded scatter chart of restart events with reasons
  • 📝 Audit trail — track logins, pod deletions, scaling actions, exec sessions

Works On

PlatformSupport LevelNotes
Amazon EKSFullAll features including Spot Advisor and cost analysis
Google GKECore + MetricsAll features except Spot Advisor
Azure AKSCore + MetricsAll features except Spot Advisor
Minikube / kind / k3sCoreAll features except cloud-specific cost analysis
Self-managed / on-premCore + MetricsFull functionality with Prometheus

Getting Started

Prerequisites

  • Access to a Kubernetes cluster (kubeconfig or in-cluster)
  • (Optional) Prometheus endpoint for metrics
  • (Optional) OIDC provider for authentication

With Docker Compose (easiest)

docker compose up

Open http://localhost:8080. Edit docker-compose.yaml to configure auth, Prometheus, or AI.

With Helm

helm repo add kube-argus https://manishchaudhary101.github.io/kube-argus
helm install kube-argus kube-argus/kube-argus \
  --namespace kube-argus --create-namespace \
  --set env.CLUSTER_NAME="my-cluster"
Alternative: OCI registry (no helm repo add needed)
helm install kube-argus oci://ghcr.io/manishchaudhary101/charts/kube-argus \
  --namespace kube-argus --create-namespace \
  --set env.CLUSTER_NAME="my-cluster"

With plain manifests

kubectl apply -f deploy/k8s/

Local Development

git clone https://github.com/manishchaudhary101/kube-argus.git
cd kube-argus
cd web && npm install && npm run build && cd ..
go run ./cmd/server

Configuration

All configuration is via environment variables. No config files to manage.

Core

VariableDefaultDescription
PORT8080HTTP listen port
CLUSTER_NAMEauto-detectedDisplay name for the cluster
LOG_LEVELinfoMinimum log level (debug, info, warn, error)

Authentication

Auth mode is auto-detected from which env vars you set:

ModeWhenLogin screen
Google SSOGOOGLE_CLIENT_ID is set"Sign in with Google" button
Generic OIDCOIDC_ISSUER is set"Sign in with SSO" button
NoneNeither setNo login wall, everyone gets DEFAULT_ROLE
Authentication variables

Google SSO

VariableDescription
GOOGLE_CLIENT_IDGoogle OAuth2 client ID
GOOGLE_CLIENT_SECRETGoogle OAuth2 client secret

Generic OIDC

VariableDefaultDescription
OIDC_ISSUER—OIDC issuer URL
OIDC_CLIENT_ID—OAuth2 client ID
OIDC_CLIENT_SECRET—OAuth2 client secret
OIDC_ADMIN_GROUPadminOIDC group claim that grants admin role

Roles & Session

VariableDefaultDescription
ADMIN_EMAILS—Comma-separated admin email addresses
DEFAULT_ROLEviewerRole when auth is disabled: viewer or admin
SESSION_SECRETrandomHMAC key for session cookies
SESSION_TTL8hSession duration

Integrations

Prometheus, AI, JIT, and AWS variables

Prometheus Metrics

VariableDescription
PROMETHEUS_URLPrometheus base URL (Grafana Cloud URLs auto-detected)
PROMETHEUS_USERBasic auth username
PROMETHEUS_KEYBasic auth password/API key

AI Diagnosis

VariableDescription
LLM_GATEWAY_URLOpenAI-compatible chat completions endpoint
LLM_GATEWAY_KEYBearer token for the LLM API
LLM_GATEWAY_MODELModel name (e.g. gpt-4o, claude-3)

JIT Exec Access

VariableDefaultDescription
JIT_CONFIGMAP_NAMEkube-argus-jitConfigMap name for JIT requests
AUDIT_CONFIGMAP_NAMEkube-argus-auditConfigMap name for audit trail
JIT_RETENTION_DAYS7Days to keep terminal JIT requests

Notifications

Settings page UI takes precedence; env vars are a bootstrap fallback for headless deploys.

VariableDescription
SLACK_WEBHOOK_URLIncoming Slack webhook for JIT request notifications
SLACK_SIGNING_SECRETSlack signing secret (enables Approve/Deny buttons in Slack)
NOTIFY_WEBHOOK_URLGeneric webhook endpoint for JIT events ({event, cluster, timestamp, actor, data} JSON)
NOTIFY_WEBHOOK_SECRETIf set, requests carry X-KubeArgus-Signature: sha256=<hex> HMAC of the body

AWS

VariableDefaultDescription
AWS_SECRET_NAME—AWS Secrets Manager secret ID
AWS_REGIONus-east-1AWS region

Architecture

┌──────────────────────────────────────────────┐
│  Browser (React + TypeScript + Tailwind)     │
│  Recharts for metrics, xterm.js for shell    │
└──────────────┬───────────────────────────────┘
               │ HTTP / WebSocket
┌──────────────▼───────────────────────────────┐
│  Go Backend (single binary)                  │
│  ┌─────────────┐ ┌──────────┐ ┌───────────┐ │
│  │ K8s API     │ │Prometheus│ │ AWS EC2   │ │
│  │ client-go   │ │ /api/v1  │ │ Spot Price│ │
│  └─────────────┘ └──────────┘ └───────────┘ │
│  ┌─────────────┐ ┌──────────┐ ┌───────────┐ │
│  │ OIDC Auth   │ │ LLM GW   │ │ Secrets   │ │
│  │ (any IdP)   │ │ (OpenAI) │ │ Manager   │ │
│  └─────────────┘ └──────────┘ └───────────┘ │
└──────────────────────────────────────────────┘

Cluster Impact

  • Cached: All K8s list operations cached in-memory, refreshed every 10 seconds server-side
  • Single connection: One set of API calls per refresh cycle, not per-user
  • No CRDs, no agents: Nothing deployed to worker nodes
  • Low footprint: Runs on 100m CPU / 128Mi memory

Feature Comparison

CapabilityKube-ArgusK8s DashboardLensHeadlampk9s
Single binary, zero deps✅❌❌❌✅
Docker image size~30 MB~250 MB~500 MB~200 MBN/A
Shared cache (no per-user load)✅❌❌❌❌
Live auto-refresh✅❌✅✅✅
Streaming pod logs✅❌✅✅✅
Web terminal (exec)✅❌✅✅Native
Spot cost analysis & consolidation✅❌❌❌❌
AI-powered pod diagnosis✅❌❌❌❌
Resource right-sizing✅❌❌❌❌
JIT exec access (approval workflow)✅❌❌❌❌
Audit trail & online users✅❌❌❌❌
Config drift detection✅❌❌❌❌
Namespace favorites✅❌❌❌❌
CronJob manual trigger (with JIT)✅❌❌❌❌
Pod restart reason timeline✅❌❌❌❌
Init container visibility✅❌✅❌✅
Drain wizard with PDB preview✅❌❌❌❌
NOC/wall screen mode✅❌❌❌❌
Web-based (sharable)✅✅❌✅❌
Open source (Apache 2.0)✅✅Freemium✅✅

Features

Cluster Overview
  • Live cluster state refreshed every 10 seconds
  • Node status (Ready, NotReady, Draining, Cordoned)
  • Cluster-wide CPU and memory utilisation
  • Warning counts and top resource consumers by namespace
Node Management
  • All nodes with status, instance type, capacity, and age
  • kubectl describe-style detail with live events
  • Drain wizard with PDB preview and streaming progress
  • Pod heatmap for noisy neighbor detection
  • Admin actions: cordon, uncordon, drain
  • Per-node Prometheus metrics
Workloads
  • Deployments, StatefulSets, DaemonSets, Jobs, CronJobs
  • Restart and scale directly from the UI
  • Aggregated logs from all pods in one color-coded view
  • ReplicaSet history, rolling update details
  • PDB status badges inline
  • Resource right-sizing recommendations (7-day Prometheus data)
  • Config drift detection
Pod Management
  • Table and card views with search, filters, and sorting
  • Pod sparklines (CPU/MEM trends updated every 10s)
  • Live log streaming with container selector
  • Previous container logs for crash debugging
  • Interactive web shell via WebSocket
  • AI-powered diagnosis for unhealthy pods
  • Restart reason timeline — color-coded scatter chart showing when and why containers restarted
Cost & Optimisation
  • Spot Advisor: risk analysis with consolidation suggestions
  • Namespace-level cost allocation
  • Total cluster cost panel (spot + on-demand)
Security
  • Three auth modes: Google SSO, generic OIDC, or none
  • Role-based access: admin vs viewer
  • JIT exec access with approval workflow, auto-expiry, and custom durations (up to 7 days)
  • JIT-gated CronJob manual trigger for viewers
  • Audit trail for all actions
  • Online users with presence indicators
  • Runs as non-root (USER nobody)
More Features
  • Networking: Services, Ingresses with hosts/paths/TLS
  • Storage: PVCs, PVs, StorageClasses with pod mapping
  • Configuration: ConfigMaps, Secrets with drift detection
  • YAML viewer/editor for 11 resource kinds
  • Topology spread constraint validation
  • Troubled pods / NOC screen with fullscreen mode
  • Spot interruption tracking with resilience scoring
  • Events filtered by namespace
  • Namespace favorites with per-user persistence
  • Init container visibility across all workload types
  • CronJob manual trigger with JIT approval

Contributing

See CONTRIBUTING.md for development setup and guidelines.


License

This project is licensed under the Apache License 2.0 — see the LICENSE file for details.

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
netdata/netdata

Full-stack observability · Metrics · Logs · Traces · Flows · Topology · Infrastructure · APM · NPM · DBM · RUM · Synthetics · Cloud · AI SRE · OpenTelemetry · SNMP · NetFlow/IPFIX/sFlow · IPMI · Redfish · 2000+ integrations

81.7k
Nov 30, 2026
RepositoryPython
bregman-arie/devops-exercises

Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

87.1k
Dec 27, 2025
RepositoryTypeScript
koala73/worldmonitor

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

91.3k
Nov 29, 2026
Repository
milanm/DevOps-Roadmap

DevOps Roadmap for 2026. with learning resources

21.0k
Nov 23, 2026
RepositoryGo
TwiN/gatus

Automated developer-oriented status page with alerting and incident support

13.0k
Dec 2, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.9k
Nov 30, 2026
RepositoryTypeScript
langfuse/langfuse

🪢 Open source AI engineering platform: AI Gateway, agent observability, evals, and prompt/skill management, built on OpenTelemetry. One open platform for every AI call and every agent. Self-host or use Langfuse Cloud.

38.1k
Dec 1, 2026
RepositoryTypeScript
SigNoz/signoz

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

32.8k
Dec 2, 2026
RepositoryTypeScript
ClickHouse/ClickStack

Resolve production issues, fast. An open source observability platform unifying session replays, logs, metrics, traces and errors powered by ClickHouse and OpenTelemetry.

10.1k
Nov 27, 2026