Kubernetes Operations

🌐Community
by laurigates · vlatest · Repository

Automate Kubernetes deployments, scaling, troubleshooting, and resource management tasks via laurigates's specialized AI agent.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add kubernetes-operations npx -- -y @trustedskills/kubernetes-operations
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "kubernetes-operations": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/kubernetes-operations"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to automate and manage Kubernetes clusters, deployments, and troubleshoot issues using kubectl commands and cloud-native best practices. It provides expertise in workload management (Deployments, StatefulSets, etc.), networking (Services, Ingress), configuration & storage (ConfigMaps, PersistentVolumes), and debugging. The agent will prioritize declarative YAML manifests for resource management and emphasizes validation and verification after applying changes.

When to use it

  • You need to deploy new applications or update existing deployments within a Kubernetes cluster.
  • You are experiencing issues with pod crashes (CrashLoopBackOff) or other application errors and require assistance in debugging.
  • You want to monitor the health of your nodes, pods, and services within a Kubernetes environment.
  • You need to inspect resource usage (CPU, memory) for pods and nodes.
  • You're performing routine cluster maintenance tasks like cleanup of unused resources.

Key capabilities

  • Workload Management: Deploying, updating, and managing various Kubernetes workloads including Deployments, StatefulSets, DaemonSets, Jobs, and CronJobs.
  • Networking Configuration: Managing Services, Ingress, NetworkPolicies, and DNS configurations within the cluster.
  • Configuration & Storage: Handling ConfigMaps, Secrets, PersistentVolumes, and PersistentVolumeClaims.
  • Troubleshooting: Debugging pods, analyzing logs, inspecting cluster events, and identifying common issues like CrashLoopBackOff.
  • Manifest-First Approach: Prioritizing declarative YAML manifests for resource management.
  • Validation & Verification: Utilizing --dry-run flags and inspection commands (kubectl get, kubectl describe) to ensure changes are valid and successful.

Example prompts

  • "Deploy the application defined in my-app.yaml."
  • "What is causing this pod named 'webserver' to crash?"
  • "Show me the logs for the previous instance of the 'database' pod."
  • "Check the status of the deployment named 'frontend'."

Tips & gotchas

  • Context Safety: Always explicitly specify the Kubernetes context using --context=<context-name> in every command to avoid unintended operations on different clusters. This is critical for preventing accidental changes.
  • Manifests are Key: The agent prioritizes declarative YAML manifests; ensure your resources are defined this way.
  • Validation is Important: Use the --dry-run=client flag before applying any changes to validate them and prevent errors.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
laurigates
Installs
38

🌐 Community

Passed automated security scans.