How skyhook-io/radar works
Radar is a Kubernetes UI and API server that runs locally or in-cluster. Users open the web UI, choose a cluster/context and inspect live resources; the server accesses the Kubernetes API and streams updates to the browser. The product also exposes distinct GitOps, Helm, traffic, cost, audit, upgrade-impact, timeline, and MCP capabilities. The graph combines README-documented behavior with relationships visible in the supplied source index and excerpts; unsampled feature internals are represented at their existing directories, without assuming their call paths.
Main entry points: server.go HTTP and SSE server · App.tsx Web application · main.go Radar CLI · client.ts Frontend API client
Components 32
Entry and UI
- Radar CLI
cmd/explorer/main.go - Desktop host
cmd/desktop/main.go - Web application
web/src/App.tsx - Frontend API client
web/src/api/client.ts - API configuration
web/src/api/config.ts - Kubernetes UI types
packages/k8s-ui/src/types/core.ts - Resource UI utilities
packages/k8s-ui/src/components/resources/resource-utils.ts - API resource utilities
packages/k8s-ui/src/utils/api-resources.ts - Log formatting
packages/k8s-ui/src/utils/log-format.ts - Log levels
packages/k8s-ui/src/utils/log-level.ts - Workload view
web/src/components/workload/WorkloadView.tsx - Helm views
web/src/components/helm/HelmCompareRoute.tsx - Traffic view
web/src/components/traffic/TrafficView.tsx - Toast notifications
web/src/components/ui/Toast.tsx - UI tooltips
web/src/components/ui/Tooltip.tsx - Connection context
web/src/context/ConnectionContext.tsx - Feature capabilities
web/src/contexts/CapabilitiesContext.tsx - Navigation
web/src/utils/navigation.ts
Cluster operations
- HTTP and SSE server
internal/server/server.go - Kubernetes access
internal/k8s - Authentication and RBAC
internal/auth - Issue diagnosis
internal/issues
Integrations
- GitOps and Argo CD
internal/argocd/manager.go - Helm operations
internal/helm - Metrics and sizing
internal/prometheus - Cost analysis
internal/opencost/manager.go - Traffic analysis
internal/traffic/manager.go
Analysis and history
- Configuration audit
internal/audit - Upgrade impact
internal/upgrade - Timeline history
internal/timeline/manager.go
Agent access
- MCP server
internal/mcp/server.go
Other components
- Operator
Connections 28
- Operator → Radar CLI: starts
README.md - Radar CLI → HTTP and SSE server: starts server
cmd/explorer/main.go - Desktop host → HTTP and SSE server: starts server
cmd/desktop/main.go - Operator → Web application: uses UI
README.md - Web application → Frontend API client: requests data
web/src/App.tsx - Frontend API client → API configuration: gets API base
web/src/api/client.ts - Frontend API client → HTTP and SSE server: calls API
README.md - HTTP and SSE server → Kubernetes access: accesses cluster
internal/server/server.go - Kubernetes access → HTTP and SSE server: streams updates
README.md - HTTP and SSE server → Authentication and RBAC: authorizes requests
internal/server/server.go - HTTP and SSE server → Issue diagnosis: serves diagnosis
- Web application → Kubernetes UI types: uses types
web/src/App.tsx - Web application → Resource UI utilities: uses utilities
web/src/App.tsx - Resource UI utilities → API resource utilities: uses resource helpers
- Web application → Workload view: renders view
web/src/App.tsx - Web application → Helm views: renders view
web/src/App.tsx - Web application → Traffic view: renders view
web/src/App.tsx - Log formatting → Log levels: uses levels
packages/k8s-ui/src/utils/log-format.ts - HTTP and SSE server → GitOps and Argo CD: serves GitOps
internal/server/server.go - HTTP and SSE server → Helm operations: serves Helm
internal/server/server.go - HTTP and SSE server → Metrics and sizing: serves metrics
internal/server/server.go - HTTP and SSE server → Cost analysis: serves costs
internal/server/server.go - HTTP and SSE server → Traffic analysis: serves traffic
- HTTP and SSE server → Configuration audit: serves audit
- HTTP and SSE server → Upgrade impact: serves upgrade checks
internal/server/server.go - HTTP and SSE server → Timeline history: serves history
- Radar CLI → MCP server: runs MCP
cmd/explorer/main.go - MCP server → HTTP and SSE server: exposes cluster tools