Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: adaptive-enforcement-lab-claude-skills-kubernetes-integratio3description: Kubernetes Integration4---56# Kubernetes Integration78## When to Use This Skill910A well-designed Kubernetes CLI works seamlessly both on developer laptops and inside cluster pods. This section covers:1112- **[Client Configuration](client-configuration.md)** - Automatic config detection for all environments13- **[RBAC Setup](rbac-setup.md)** - Service accounts and permissions14- **[Common Operations](common-operations/index.md)** - List, patch, and restart resources1516---171819## Implementation2021*See [examples.md](examples.md) for detailed code examples.*2223---242526## Key Principles2728| Practice | Description |29| ---------- | ------------- |30| **Use contexts everywhere** | Pass `context.Context` to all Kubernetes operations |31| **Handle cancellation** | Respect context cancellation for clean shutdowns |32| **Wrap errors with context** | Include resource type and name in error messages |33| **Default to current namespace** | Match kubectl behavior for namespace resolution |34| **Support both configs** | Always handle in-cluster and out-of-cluster scenarios |35| **Minimal RBAC** | Request only the permissions your CLI needs |3637---3839*Build clients that work everywhere: laptop, CI runner, or pod.*404142## Examples4344See [examples.md](examples.md) for code examples.45## References4647- [Source Documentation](https://adaptive-enforcement-lab.com/build/go-cli-architecture/)48- [AEL Build](https://adaptive-enforcement-lab.com/build/)4950---51> Converted and distributed by [TomeVault](https://tomevault.io/claim/adaptive-enforcement-lab) — claim your Tome and manage your conversions.52<!-- tomevault:4.0:skill_md:2026-04-15 -->
Run npx skillmds@latest add tomevault-io/adaptive-enforcement-lab-claude-skills-kubernetes-integratio in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Kubernetes Integration It is listed under DevOps & Infra on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.