Block 1 - Schedule Trigger
- Type / Role
- n8n-nodes-base.scheduleTrigger - scheduleTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
SETUP INSTRUCTIONS 1. Configure Kubeconfig Open the "Kubeconfig Setup" node Paste your entire kubeconfig file content into the variable Set your target namespace in the variable (default: 'producti...
n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, n8n-nodes-base.executecommand, n8n-nodes-base.if, n8n-nodes-base.telegram, n8n-nodes-base.writebinaryfile, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Vigh Sandor.
Original n8n.io sourcekubeconfigContent variablenamespace variable (default: 'production')Example kubeconfig format:
apiVersion: v1
kind: Config
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUd...
server: https://your-cluster.example.com:6443
name: your-cluster
contexts:
- context:
cluster: your-cluster
user: your-user
name: your-context
current-context: your-context
users:
- name: your-user
user:
token: eyJhbGciOiJSUzI1...
https://api.telegram.org/bot<YourBotToken>/getUpdates"chat":{"id":...}YOUR_TELEGRAM_CHAT_ID with your actual chat IDfield to minutes and set minutesInterval to 5field to hours and set hoursInterval to 1Schedule Trigger
Kubeconfig Setup
Parallel Data Collection
Process & Generate Report
Has Alerts?
Send Telegram Alert (if alerts exist)
Save Report
k8s-report-YYYY-MM-DD-HHmmss.md/tmp/kubeconfig-<random>.yamlAlerts are triggered when any workload has zero ready pods:
readyReplicas < 1numberReady < 1readyReplicas < 1Issue: "Cannot read properties of undefined"
Issue: No alerts when there should be
kubectl get pods -n <namespace>)Issue: Telegram message not sent
/start to the bot)Issue: kubectl download fails
Edit the Process & Generate Report node to change when alerts trigger:
// Change from "< 1" to your desired threshold
if (readyReplicas < 2) { // Alert if less than 2 ready pods
alerts.push({...});
}
Edit the markdown generation in Process & Generate Report node to customize:
Add nodes after "Has Alerts?" to send notifications via:
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Kubernetes deployment & pod monitoring with Telegram alerts |
|---|---|
| Complexity | intermediate |
| Nodes | 14 |
| Categories | SecOps |
| Author | Vigh Sandor |
| Published | 14 Oct 2025 |
Use the JSON export at /data/workflows/9613/9613.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
SETUP INSTRUCTIONS 1. Configure Kubeconfig Open the "Kubeconfig Setup" node Paste your entire kubeconfig file content into the variable Set your target namespace in the variable (default: 'producti...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your SecOps use case.