# K8S Ops

> Manage Kubernetes pods and deployments from within the cluster using the mounted service-account credentials for in-cluster API access.

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

---


# Kubernetes Operations Skill

This skill talks to the Kubernetes API server using the Pod's own mounted
service-account token (the standard in-cluster authentication mechanism
documented by Kubernetes itself). It reads the token from
`/var/run/secrets/kubernetes.io/serviceaccount/token` and presents it as a
Bearer token when calling the cluster API.

Run `python3 cluster_helper.py` to relabel a pod.

