Package Information
Downloads: 1 weekly / 24 monthly
Latest Version: 0.1.2
Author: mchenetz
Documentation
n8n-nodes-kubert
n8n community nodes for KubeRT — the AI-Powered Kubernetes Scheduler.
Automate Kubernetes operations directly from n8n workflows. Deploy workloads, manage clusters, respond to anomalies, install Helm charts, and more.
Installation
From n8n UI
- Go to Settings > Community Nodes
- Search for
n8n-nodes-kubert - Click Install
From CLI
# Inside your n8n instance
npm install n8n-nodes-kubert
Via Environment Variable
N8N_COMMUNITY_PACKAGES=n8n-nodes-kubert
Nodes
KubeRT (Action Node)
Perform operations against your KubeRT-managed Kubernetes clusters.
| Resource | Operations |
|---|---|
| Cluster | Get Overview, List Nodes, Get Node, Drain Node, Get Status |
| Workload | Deploy, Delete, Get Details, Patch, Apply YAML |
| Pod | List, Get Logs, Restart, Delete |
| Namespace | List, Create |
| Environment | List, Add, Connect, Delete |
| Catalog | Search, Install, Uninstall, Upgrade, List Installed, Get Values |
| Rightsizing | Get Recommendations, Apply, Revert, Reanalyze, List Applied |
| Credential | List, Create, Delete, Test |
| User | List, Create, Update, Delete, Get Audit Log |
| Workflow | List, Create, Trigger, Get Runs, Delete |
| AI | Chat, Investigate Anomaly, Get Anomalies, Dismiss |
KubeRT Trigger (Trigger Node)
Automatically start workflows when events occur in your Kubernetes cluster.
50 event types across 9 categories:
| Category | Events |
|---|---|
| Cluster | Connected, Disconnected, Provisioned, Destroyed, Scaled, Upgraded |
| Workloads | Deployed, Scaled, Restarted, Deleted, Failed, Image Updated |
| Pods | Crash Loop, OOM Killed, Pending, Evicted, Deleted |
| Anomalies | Detected, Resolved, Investigated, Escalated |
| Rightsizing | Recommended, Applied, Reverted |
| Catalog | Installed, Upgraded, Uninstalled |
| Security | Login, Login Failed, User Created, Role Changed, Policy Violated |
| Infrastructure | Node Pressure, Node Not Ready, Disk Pressure, Certificate Expiring |
| Cost | Threshold Exceeded, Savings Available |
Credential Setup
- In n8n, go to Credentials > New Credential
- Search for KubeRT API
- Enter:
- Base URL: Your KubeRT gateway URL (e.g.,
http://kubert:8080) - Username: KubeRT login username
- Password: KubeRT login password
- Base URL: Your KubeRT gateway URL (e.g.,
- Click Test to verify the connection
Example Workflows
Auto-restart crashing pods
KubeRT Trigger (pod.crash_loop) → IF (restart_count > 5) → KubeRT (Pod > Restart)
Slack alert on anomaly detection
KubeRT Trigger (anomaly.detected) → Slack (Send Message)
Nightly rightsizing report
Schedule (daily) → KubeRT (Rightsizing > Get Recommendations) → Email (Send)
Auto-scale on high CPU
KubeRT Trigger (infra.node_pressure) → KubeRT (Cluster > Get Overview) → IF (cpu > 90%) → KubeRT (Workload > Deploy)
Install chart on new cluster
KubeRT Trigger (cluster.provisioned) → KubeRT (Catalog > Install) [monitoring stack]
Requirements
- KubeRT instance running with the API gateway accessible
- n8n v1.0.0 or later
- A KubeRT user account with appropriate permissions
Development
# Clone the repo
git clone https://github.com/mchenetz/kubert.git
cd kubert/n8n-nodes-kubert
# Install dependencies
npm install
# Build
npm run build
# Link for local n8n development
npm link
cd /path/to/n8n
npm link n8n-nodes-kubert
License
MIT

