Rapid dashboard development with Kubernetes, GitOps and AI-powered tools
π¬ Interactive Animation Demo: mydocs/animated-workflow.html
Open locally to see the AI + Telepresence + Kubernetes workflow in action
Experience true cloud-native development - edit locally with your favorite AI tools while running against live Kubernetes data.
# 1. Mount Observable container filesystem locally via Telepresence
./scripts/telepresence-observable-connect.sh intercept
# 2. Edit files locally with Claude Code, Gemini CLI, or any IDE
code src/security.md # Your changes sync automatically
# 3. Test against live Kubernetes data instantly
curl http://localhost:3000/security # See your changes immediately
π― Perfect for: Dashboard development, data analysis, real-time debugging with production-like data
Experience Python data processing with Interactive JavaScript visualizations running on live Kubernetes data.
π Main Dashboard - System Overview
Real-time system health, service links, and comprehensive metrics overview
βοΈ Operations Dashboard - System Monitoring
Log volume analysis, service activity monitoring, and operational health insights
π‘οΈ Security Dashboard - Threat Analysis
Security event monitoring, threat detection, and forensic investigation tools
- π¬ Interactive Animation Demo - See the workflow in action
- Live Development Setup - Start here for hands-on development
- Telepresence Integration - Mount remote containers locally
- AI Tools Integration - Claude Code + Gemini CLI workflows
- File Mounting Strategies - Local β Remote file sync
- System Architecture - Understanding the stack
- Architecture Documentation - Complete system design
- GitHub Actions SSH Signing - Automated workflow setup
- API Endpoints - Testing and development
- Complete Setup Guide - Full deployment instructions
- Example Usage - Step-by-step tutorials
- Kubernetes cluster (tested with k3s, kind)
- Telepresence installed locally
- AI tools: Claude Code, Gemini CLI, or your preferred editor
# Configure cluster IP
vi config/cluster-config.env # Set your cluster IP
# Bootstrap entire stack
./scripts/bootstrap-gitops.sh
# Method 1: Telepresence Intercept (Recommended)
./scripts/telepresence-observable-connect.sh intercept
# β
Routes cluster traffic to your local machine
# β
Mount remote filesystem locally
# β
Edit with any local tool
# Method 2: Direct Container Access
./scripts/observable-dashboard-manager.sh quick-edit index.md
# β
Direct file editing in container
# β
Hot reload on save
# Option A: Claude Code integration
code . # Open project in VS Code with Claude Code extension
# Edit files locally, changes sync to cluster automatically
# Option B: Gemini CLI integration
gemini chat "Help me create a security dashboard showing failed login attempts"
# Use AI suggestions, implement in local files
# Intercept all Observable Framework traffic
./scripts/telepresence-observable-connect.sh intercept
# Now your local development server handles cluster requests
npm run dev # Your local changes serve cluster traffic
# Mount remote container filesystem locally
./scripts/telepresence-observable-connect.sh local-dev
# Remote files appear in local filesystem
ls -la /app/src/ # See container files locally
# Continuous sync mode
./scripts/telepresence-observable-connect.sh sync
# Edit locally β AI tools integration
code src/security.md
# Changes appear in cluster immediately
curl http://observable.k3s.local/security
- β True local development with cluster data
- β AI tool integration - use Claude Code, Gemini CLI locally
- β Instant feedback - see changes immediately
- β Production-like environment - real Kubernetes data
- β Network access - local tools can call cluster APIs
# 1. Start Telepresence intercept
./scripts/telepresence-observable-connect.sh intercept
# 2. Open project with Claude Code
code .
# 3. Edit files with AI assistance
# Claude Code can:
# - Analyze live log data from cluster APIs
# - Generate Observable Plot visualizations
# - Create Python data loaders
# - Build markdown dashboards
# 1. Mount filesystem locally
./scripts/telepresence-observable-connect.sh local-dev
# 2. Use Gemini for development assistance
gemini chat "Create a Python script to analyze Quickwit security logs"
# 3. Implement suggestions in mounted files
# Changes sync automatically to cluster
graph LR
A[Local AI Tools<br/>Claude Code/Gemini CLI] --> B[Local Filesystem<br/>src/dashboards/]
B --> C[Telepresence Sync]
C --> D[Kubernetes Container<br/>/app/src/]
D --> E[Observable Framework<br/>Hot Reload]
E --> F[Live Dashboard<br/>observable.k3s.local]
# Best for: Full-featured development with AI tools
./scripts/telepresence-observable-connect.sh intercept
# Local filesystem mirrors remote container
/local/project/src/ β /app/src/ (in container)
# Best for: Quick edits and testing
./scripts/observable-dashboard-manager.sh upload-file dashboard.md
# Watch for changes and auto-sync
fswatch -o src/ | xargs -n1 ./scripts/sync-to-cluster.sh
# Best for: Container-native development
kubectl exec -it observable-pod -- /bin/bash
# Use container tools directly
conda activate observable
python src/data/loki-logs.py
Complete observability stack with GitOps, data processing, and development environment
Python + JavaScript hybrid architecture for real-time analytics
Telepresence integration with Claude Code and Gemini CLI for live development
Automated security scanning and deployment pipeline
- π Python Data Processing - Real-time API integration with Loki/Quickwit
- π Observable Framework - Interactive JavaScript visualizations
- π Live Development - Telepresence-powered local development
- π‘οΈ Security Focus - Dedicated security log analysis and threat detection
- βοΈ Operations Monitoring - System health and performance dashboards
- Live Data Integration - Real Kubernetes log data
- AI Tool Support - Claude Code, Gemini CLI integration
- Hot Reload - Instant dashboard updates
- Remote Debugging - Local tools with cluster data access
- GitOps Deployment - Automated infrastructure management
All D2 diagrams β | Complete architecture documentation β
# 1. Start development environment
./scripts/telepresence-observable-connect.sh intercept
# 2. Create security dashboard with AI assistance
claude-code create src/security-advanced.md
# AI helps analyze Quickwit data and create visualizations
# 3. Test with live data
curl http://localhost:3000/security-advanced
# 1. Mount container filesystem
./scripts/telepresence-observable-connect.sh local-dev
# 2. Develop Python loader locally
gemini chat "Help me create a data loader for authentication events"
# Edit src/data/auth-events.py locally
# 3. Test against cluster APIs
python src/data/auth-events.py # Accesses live Quickwit API
# 1. Intercept traffic for debugging
./scripts/telepresence-observable-connect.sh intercept
# 2. Debug with local tools
npm run dev -- --inspect # Node.js debugging
# OR
python -m pdb src/data/loki-logs.py # Python debugging
# 3. See results immediately in cluster
- Python 3.12+ with conda environment
- Node.js with Observable Framework
- Git for version control
- curl/wget for API testing
- Standard Unix tools (vi, nano, bash)
- Claude Code - AI-powered development
- Gemini CLI - Command-line AI assistance
- VS Code - Full IDE support via Telepresence
- Your favorite tools - Any local editor works
- Loki API:
http://loki.k3s.local:3100
- Operational logs - Quickwit API:
http://quickwit.k3s.local:7280
- Security logs - Prometheus:
http://prometheus.k3s.local:9090
- Metrics - Observable Framework:
http://observable.k3s.local
- Dashboard serving
- Start developing β - Complete setup and first dashboard
- View examples β - Step-by-step tutorials
- Explore APIs β - Data sources and integration
- Learn GitOps β - Automated deployment workflows
π― This environment provides the perfect blend of local development flexibility with production-like Kubernetes data access. Start developing immediately with your preferred AI tools while leveraging live cluster data!