# log analyzer kubernetes

> Diagnostic agent for Kubernetes and OpenShift logs, identifying root causes for pod failures and security leaks.

log analyzer kubernetes is a paid AI agent skill on Agensi by Ivan Firestone, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [Ivan Firestone](https://www.agensi.io/creators/ifirestone)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/log-analyzer-kubernetes
- Tags: llm-ops, kubernetes, openshift, eks, sre, devops

## About this skill

Cloud-native applications often fail with cryptic error codes or silent crashes that leave developers digging through thousands of lines of logs. This skill acts as a Level 2/3 platform support agent to parse logs and resource descriptions, pinpointing the root cause of failures across Kubernetes and OpenShift environments.

### What it does
- **Root cause identification** parses exit codes like 137 (OOMKilled) or 127 (command not found) to distinguish between application, platform, and configuration errors.
- **Security auditing** identifies and flags sensitive data such as base64 secrets, ServiceAccount tokens, and cloud-provider ARNs that should not be in logs.
- **Resource analysis** evaluates `describe pod` outputs to catch `FailedMount`, `ResourceQuota` violations, and taints/tolerations issues.
- **OpenShift specialization** handles OCP-specific resources like Routes, DeploymentConfigs, and Security Context Constraints (SCC) validation errors.
- **Cloud-provider diagnostics** troubleshoots provider-specific auth issues including EKS IRSA, GKE KSA-GSA bindings, and AKS Workload Identity.

### How it works
1. **Log ingestion** where the user provides logs or `kubectl`/`oc` command outputs.
2. **Context gathering** where the agent asks clarifying questions about the distribution (EKS, GKE, AKS, OCP), resource limits, or CNI plugins.
3. **Structured diagnosis** which generates a standardized executive report identifying criticality, findings, and sensitive data risks.

### Frameworks & tools
Kubernetes (vanilla, EKS, GKE, AKS) and OpenShift (OCP). Supports diagnostic data from `kubectl` and `oc` CLI tools, focusing on Pods, Deployments, Ingress, Routes, and SCCs.

### Why this beats prompting it yourself
Generic prompts often miss the nuances of Kubernetes exit codes or the hierarchical nature of OpenShift SCCs. This skill enforces a structured diagnostic methodology that proactively checks for missing context like `--previous` logs and identifies sensitive data leaks that standard LLM prompts ignore.

### Use cases
- Debugging `CrashLoopBackOff` cycles by analyzing previous container logs and dependencies.
- Resolving `Pending` pods by checking `ResourceQuota` and scheduler constraints.
- Fixing OpenShift permission issues related to `Security Context Constraints`.
- Auditing logs for exposed credentials, IPs, and internal cluster tokens.

### Known limitations
This skill does not execute commands or modify live resources. It requires users to manually provide log and description outputs for analysis.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the log analyzer kubernetes skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific Kubernetes and OpenShift issues does this skill help resolve?

The agent identifies root causes for complex failures like CrashLoopBackOff, OOMKilled errors, and OpenShift-specific SCC violations while simultaneously auditing logs for leaked secrets or ServiceAccount tokens.

### Which AI agents or platforms can I use this skill with?

This skill is compatible with any AI agent or platform that supports structured text input, as it processes standard 'kubectl' and 'oc' command outputs provided by the user.

### Does this skill require direct access to my Kubernetes cluster via an API or service account?

No direct access is required; the skill operates by analyzing the log snippets and resource descriptions you manually provide, ensuring your cluster remains isolated and secure.

### Does it support OpenShift-specific features, or is it limited to vanilla Kubernetes?

Yes, the skill includes specialized logic for OpenShift-native resources such as Routes, DeploymentConfigs, and Security Context Constraints (SCC) that generic AI prompts often overlook.

### What exactly is included in the purchase of this skill?

You receive the diagnostic skill package including the structured methodology for root cause analysis and security auditing, along with documentation on how to provide the most effective diagnostic data.

### Are there any types of diagnostic data that this skill cannot process?

While it handles standard log formats and resource descriptions, it is not currently designed to analyze binary data or raw network packet captures (PCAPs).

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
