Templates / Kubernetes deployment & pod monitoring with Telegram alerts

Kubernetes deployment & pod monitoring with Telegram alerts

Needs changes

by Vigh Sandor ✓ · 526 views · created 2025-10-14 · SecOps

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Write Binary File. 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 8 nodes and runs on a schedule (every minute). Along the way it connects Telegram.

How it runs

Trigger: On a schedule (every minute).

  1. Kubeconfig Setup (Code): runs custom JavaScript code
  2. Get Pods (Execute Command): runs a shell command on the n8n host
  3. Get Deployments (Execute Command): runs a shell command on the n8n host
  4. Process & Generate Report (Code): runs custom JavaScript code
  5. Has Alerts? (If): checks a condition and branches into true / false
  6. Send Telegram Alert (Telegram): uses Telegram
  7. Save Report (Write Binary File): uses Write Binary File

Services it uses

Telegram

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Write Binary File in Save Report: replace with Read/Write Files from Disk.
Removed in 3.0Replace with
Write Binary File
Save Report
Read/Write Files from Disk

Nodes used (6)

From the author

SETUP INSTRUCTIONS 1. Configure Kubeconfig - Open the "Kubeconfig Setup" node - Paste your entire kubeconfig file content into the kubeconfigContent variable - Set your target namespace in the namespace variable (default: 'production') Example kubeconfig…

Excerpt from Vigh Sandor's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.