⚡ Only 300 spots remaining • Closes in 2d 14h 32m

Back to Workflow Library
Cloud Services
Featured Blueprint

GKE Resource Limit Monitor

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.

#GKE
#Kubernetes
#Google Cloud
#Monitoring
#Operations

Automation Logic

n8n JSON Blueprint

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.

QUICK DEPLOY

  • 1
    Download the .json file
  • 2
    Open n8n & click "Import"
  • 3
    Configure your API keys

PRO TIP

Always test your workflow in a development environment before pushing to production.

JSON BLUEPRINT

n8n-workflow.json
{
  "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.

IMPLEMENTATION GUIDE

Required Nodes

  • GKE Node
  • Kubernetes Node
  • Google Cloud Node
  • Monitoring Node
  • Operations Node
  • Cron / Webhook Trigger

Core Benefits

  • 100% Automated Execution
  • Reduces Manual Data Entry
  • Infinite Scalability

Need Help Building Your Private Cloud?

Join the elite marketers who have offloaded their entire backend to n8n. Get direct support and custom builds in our private forum.

user