# Kubectl

> Kubectl Kubernetes CLI reference. Covers resource management (get/apply/delete/patch/scale), debugging (logs/exec/debug/ port-forward), rollouts, RBAC, JSONPath queries, dry-run YAML generation, kubeconfig contexts, and krew plugin manager.

- Skill: `bytesagain/kubectl` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add bytesagain/kubectl`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bytesagain/kubectl/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: bytesagain (https://skillmd.com/u/bytesagain)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/bytesagain/kubectl

---


# Kubectl Reference

Kubernetes CLI.

## Commands

| Command | Description |
|---------|-------------|
| `intro` | Config, contexts, resources |
| `resources` | Get, apply, delete, scale |
| `debugging` | Logs, exec, port-forward |
| `advanced` | JSONPath, RBAC, rollouts |

