k8s-troubleshoot

Official

Kubernetes troubleshooting toolkit for pods.

AuthorXiaoMi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

A Toolkit to diagnose Kubernetes applications by locating pods with a label selector and running commands inside containers to inspect logs, processes, network, and resource usage.

Core Features & Use Cases

  • Find pods by label selector: Locate target pods swiftly.
  • Execute commands inside containers: Run diagnostic commands to inspect state.
  • Common tasks: View logs, check processes, network status, and resource usage.

Quick Start

Find pods with search_pods.py and then run exec_pod.py to diagnose a pod.

Dependency Matrix

Required Modules

kubernetespython-dotenv

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: k8s-troubleshoot
Download link: https://github.com/XiaoMi/mone/archive/main.zip#k8s-troubleshoot

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository