# AI assistant for Kubernetes via chat: logs, metrics, and manifest management
This automation template enables chat-based management of a Kubernetes cluster using an AI agent powered by LangChain and MCP. Users can request logs, metrics, events, and manage resources without CLI. Ideal for teams integrating AI assistants into infrastructure operations.
## Who it´s for
- DevOps engineers managing Kubernetes clusters via chat
- SREs needing quick access to pod and node status
- Developers who want logs and events without using the CLI
- Administrators automating microservice issue diagnostics
- Teams deploying internal AI assistants for infrastructure
## What the automation does
- Receives user messages via a chat interface
- Processes queries using a LangChain agent (GPT-4o-mini) to determine required actions
- Executes cluster operations: retrieving events, logs, metrics, describing resources, creating/updating from YAML
- Maintains conversation context for multi-step interactions
- Returns results directly to the user in text format
## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic based on chat_message
- Integrations with Kubernetes, OpenAI API, and MCP Server
- SSE support for streaming responses
- Basic documentation for setup and adaptation
## Requirements for setup
- Access to n8n (self-hosted or cloud)
- OpenAI account with valid API key
- Configured MCP Server connected to Kubernetes tools
- Kubernetes cluster access with appropriate read/write permissions
- kubeconfig available to the MCP Server
## Benefits and outcomes
- Faster cluster issue diagnosis without terminal access
- Lower entry barrier for developers working with Kubernetes
- Centralized operations via a unified chat interface
- Enable routine tasks automation through AI
- Support for stateful conversations in complex admin scenarios
- Improved accessibility of infrastructure data for non-technical roles (with permission limits)
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet