Kubernetes RCA and alerting using Gemini, Loki, Prometheus, Slack â n8n ã¯ãŒã¯ãããŒ
æŠèŠ
Summary This n8n workflow automates Kubernetes root cause analysis (RCA) and incident alerting by integrating with Loki, Prometheus, and Slack. It streamlines log collection, cluster health monitoring, and AI-driven RCA with Gemini, saving DevOps teams hours of manual troubleshooting. Designed for production-grade Kubernetes environments, this plug-and-play workflow delivers actionable insights directly to your Slack channels.
Whoâs It For
ð ïž DevOps Engineers automating Kubernetes monitoring a
䜿çšããŒã
ã¯ãŒã¯ãããŒãã¬ãã¥ãŒ
ä»çµã¿
- 1
ããªã¬ãŒ
ãã®ã¯ãŒã¯ãããŒã¯ ã¹ã±ãžã¥ãŒã« ããªã¬ãŒã§éå§ããŸããå®çŸ©ãããã¹ã±ãžã¥ãŒã«ã§å®è¡ã
- 2
åŠç
ããŒã¿ã¯ 26 åã®ããŒããæµããŸã, connecting code, httprequest, ifã
- 3
åºå
ã¯ãŒã¯ãããŒã¯èªååãå®äºããèšå®ãããå®å ã«çµæãé ä¿¡ããŸãã
ããŒã詳现 (26)
HTTP Request
httpRequest
Code
code
ãã®ã¯ãŒã¯ãããŒã®ã€ã³ããŒãæ¹æ³
- 1å³åŽã® JSONãããŠã³ããŒã ãã¿ã³ãã¯ãªãã¯ããŠã¯ãŒã¯ãããŒãã¡ã€ã«ãä¿åããŸãã
- 2n8nã€ã³ã¹ã¿ã³ã¹ãéããã¯ãŒã¯ãããŒ â æ°èŠ â ãã¡ã€ã«ããã€ã³ããŒã ã«é²ã¿ãŸãã
- 3ããŠã³ããŒããã
kubernetes-rca-and-alerting-using-gemini-loki-prometheus-slackãã¡ã€ã«ãéžæããã€ã³ããŒããã¯ãªãã¯ããŸãã - 4åãµãŒãã¹ããŒãã® èªèšŒæ å ±ïŒAPIããŒãOAuthãªã©ïŒãèšå®ããŸãã
- 5ã¯ãŒã¯ãããŒããã¹ã ãã¯ãªãã¯ããŠåäœç¢ºèªããæå¹åããŸãã
ãŸãã¯n8nã® JSONããã€ã³ããŒã ã«çŽæ¥è²Œãä»ãïŒ
ã€ã³ãã°ã¬ãŒã·ã§ã³
ãã®ã¯ãŒã¯ãããŒãååŸ
ã¯ã³ã¯ãªãã¯ã§ããŠã³ããŒãïŒã€ã³ããŒã
n8n.ioã§èŠãäœæè
John Pranay Kumar Reddy
@johnpranay
ã¿ã°
n8nåããŠã§ããïŒ
n8nã¯ç¡æã®ãªãŒãã³ãœãŒã¹ã¯ãŒã¯ãããŒèªååããŒã«ã§ããã»ã«ããã¹ããŸãã¯ã¯ã©ãŠãçããå©çšããã ããŸãã
n8nãç¡æã§å§ãã â