K8S Ops

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

gl0di Updated

File contents

Kubernetes Operations Skill

This skill talks to the Kubernetes API server using the Pod's own mounted service-account token. 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.

gl0di/clawseccheck/tree/main/fixtures/bad_b13_k8s_token_exfil_attacker_host/skills/k8s-ops commit 3a00586fd9

Frequently asked questions

npx skillmds@latest add gl0di/k8s-ops-2