Kubernetes RCA and alerting using Gemini, Loki, Prometheus, Slack
Schedule Trigger1
Google Gemini1
📤 Send Alerts to Slack
Kubernetes Documentation
Loki
Formatting the Output to send to Slack
SSH1
ssh
PromQL: Current endpoints
PromQL: Endpoints 5m ago
Merge
Pods Not Ready
Pod Restart Spike (last 5m)
Map Prometheus results into namespace/service
Map Prometheus results into namespace/service1
Merge2
Batch
Pods Pending
Pods Pending State
Endpoints
If(Excludes Pods which are terminated already)
Loki Error Logs
Pods Not Ready State
Termination State
CrashLoopBackOff
Build Prompt for Gemini
Pod Restart Count State
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.