450-kubernetes

450-kubernetes is a cursor rule for Cursor from d-padmanabhan/agent-engineering-handbook. It costs 0 tokens per session (1,112 once invoked), scanned A, original, MIT.

A set of mandatory safety rules for Kubernetes workloads, controllers, and Argo CD. Kubernetes runs containerized applications, while Argo CD manages their deployment from declared configuration.

In plain words
What is it for?
Use it when designing or reviewing Kubernetes deployments, ServiceAccounts, RBAC, container security settings, image versions, resource limits, probes, and Argo CD changes.
Why use it?
It reduces security and availability risks by requiring restricted permissions, protected secrets, safer containers, resource settings, health checks, and controlled exceptions.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it when designing or reviewing Kubernetes deployments, ServiceAccounts, RBAC, container security settings, image versions, resource limits, probes, and Argo CD changes.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/d-padmanabhan/agent-engineering-handbook/450-kubernetes
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/d-padmanabhan/agent-engineering-handbook

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 450-kubernetes

README.md
[![agentmods](https://agentmods.dev/badge/rules/d-padmanabhan/agent-engineering-handbook/450-kubernetes/github.svg)](https://agentmods.dev/rules/d-padmanabhan/agent-engineering-handbook/450-kubernetes)
Your own site
<a href="https://agentmods.dev/rules/d-padmanabhan/agent-engineering-handbook/450-kubernetes"><img src="https://agentmods.dev/badge/rules/d-padmanabhan/agent-engineering-handbook/450-kubernetes/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 450-kubernetes

Your own site · 80×15
<a href="https://agentmods.dev/rules/d-padmanabhan/agent-engineering-handbook/450-kubernetes"><img src="https://agentmods.dev/badge/rules/d-padmanabhan/agent-engineering-handbook/450-kubernetes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,112 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01112
Opus 5.5 $0.00000 $0.00445
Sonnet 5.5 $0.00000 $0.00222
Haiku 4.5 $0.00000 $0.00111

Measured 2mo ago against content hash aaa9958b0f53, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

450-kubernetes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rules/450-kubernetes.mdc · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kubernetes Engineering Gates

This rule owns mandatory policy only. Use the Kubernetes containers skill (${HANDBOOK_ROOT}/skills/kubernetes-containers/SKILL.md) for workloads, troubleshooting, Helm, EKS, Podtrace, and Argo CD. Use the Kubernetes operator development skill (${HANDBOOK_ROOT}/skills/kubernetes-operator-development/SKILL.md) for CRD, controller, webhook, provider, lifecycle, and operator testing workflows.

Workload Security

  • Use least-privilege ServiceAccounts and RBAC. Do not grant wildcard verbs or resources without a documented, narrow justification.
  • Do not commit plaintext credentials, tokens, private keys, or rendered Secret values. Use an approved secret delivery mechanism.
  • Default to the Restricted Pod Security Standard: run as non-root, disallow privilege escalation, use a read-only root filesystem when compatible, drop capabilities, and configure seccomp.
  • Treat privileged containers, host namespaces, host paths, broad Linux capabilities, and control-plane access as explicit exceptions with an owner, expiry, compensating controls, and review.
  • Pin deployable images by immutable digest for production. Mutable tags are not release identity.
  • Define resource requests and limits from measured behavior. Add meaningful startup, readiness, and liveness probes where the workload lifecycle requires them.

Availability and Ownership

  • Selectors, labels, ports, namespaces, and ownership boundaries MUST agree across workloads, Services, policies, autoscalers, and disruption budgets.
  • Stateful resources require an explicit persistence, backup, restore, retention, and deletion policy.
  • NetworkPolicy must default-deny where the platform supports it, then allow only required ingress and egress.
  • Tolerations permit placement but do not select nodes. Use trusted node affinity for dedicated pools, and require hard affinity, anti-affinity, or topology-spread constraints to be feasible under minimum and degraded cluster capacity.
  • Changes to shared cluster-scoped resources require ownership review before application.

Read the full file on GitHub · 68 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +1 lines aaa9958b0f53
  2. 2mo ago Changed · +4 lines 25b5715b0d5e
  3. 3mo ago First seen · 63 lines · 0 tokens per session scan A e6fefd2450a8

Subscribe to this mod's changes

450-kubernetes is a cursor rule published in the GitHub repository d-padmanabhan/agent-engineering-handbook (21 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,112 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

450-kubernetes compared with cursor rules from other repositories

450-kubernetes next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
450-kubernetesd-padmanabhan/agent-engineering-handbookCursor rule215d agoMITA0Cursor
aws-ecssanjeed5/awesome-cursor-rules-mdcCursor rule3.6k9d agoCC0-1.0A2,640Cursor
kubernetesnitinjain999/platform-skillsCursor rule742d agoApache-2.0A0Cursor
build-deploymenthatefsystems/search-engine-coreCursor rule516d agoApache-2.0A8Cursor
kubernetes-helmasaphe/promptcraftCursor rule44d agononeA0Cursor
deploymentlevifig/rails-instructionsCursor rule571y agoMITA0Cursor
docker-deploymentmadebyaris/poinf-of-salesCursor rule1591y agoMITC0Cursor