⚡ Only 300 spots remaining • Closes in 2d 14h 32m
Prevent cluster downtime from noisy neighbors. This workflow polls the Google Cloud Monitoring (Stackdriver) API for Kubernetes Container metrics. If any pod's usage hits 90% of its requested limits, an alert with the pod name and namespace is sent to your operations Google Chat room.
This workflow is pre-configured and ready for deployment. Simply import the JSON template into your n8n instance and configure your credentials.
This is an exclusive blueprint. Copy the JSON below to use it.
PRO TIP
Always test your workflow in a development environment before pushing to production.
{
"nodes": [
{
"parameters": {
"interval": 5,
"unit": "minutes"
},
"name": "Every 5m",
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [250, 300]
},
{
"parameters": {
"url": "https://monitoring.googleapis.com/v3/projects/YOUR_PROJECT/timeSeries",
"qs": {
"filter": "metric.type=\"kubernetes.io/container/cpu/usage_time\""
}
},
"name": "Get Metrics",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [450, 300]
},
{
"parameters": {
"chatId": "YOUR_CHAT_ROOM",
"text": "=⚠️ GKE Alert: Pod {{$json[\"resource\"][\"labels\"][\"pod_name\"]}} is exceeding resource limits!"
},
"name": "Notify Ops",
"type": "n8n-nodes-base.googleChat",
"typeVersion": 1,
"position": [650, 300]
}
],
"connections": {
"Every 5m": {
"main": [[{"node": "Get Metrics", "type": "main", "index": 0}]]
},
"Get Metrics": {
"main": [[{"node": "Notify Ops", "type": "main", "index": 0}]]
}
}
}To use this, copy the JSON above and paste it directly onto your n8n canvas.
Join the elite marketers who have offloaded their entire backend to n8n. Get direct support and custom builds in our private forum.