Home / nitinjain999 / platform-skills · .cursor/rules/kubernetes.mdc · GitHub

kubernetes rulesA

kubernetes is agent-read markdown (rules) from nitinjain999/platform-skills: Kubernetes and OpenShift workload generation rules — security defaults, resource limits, probes.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Kubernetes & OpenShift Rules

Always generate Deployments with all of the following. Missing any item is a Critical finding.

## Required fields on every container

```yaml
resources:
  requests:
    cpu: "100m"
    memory: "128Mi"
  limits:
    memory: "256Mi"     # Set memory limit. Omit cpu limit — it causes throttling.

securityContext:
  runAsNonRoot: true
  runAsUser: 1000       # Omit on OpenShift — SCC assigns the UID
  allowPrivilegeEscalation: false
  readOnlyRootFilesystem: true
  capabilities:
    drop: ["ALL"]

livenessProbe:
  httpGet: { path: /healthz, port: 8080 }
  initialDelaySeconds: 10
  periodSeconds: 10

readinessProbe:
  httpGet: { path: /ready, port: 8080 }
  initialDelaySeconds: 5
  periodSeconds: 5
```

## Required ServiceAccount settings

```yaml
automountServiceAccountToken: false
```

## Required pod-level securityContext

```yaml
spec:
  securityContext:
    seccompProfile:
      type: RuntimeDefault
```

## Never generate

- `privileged: true`
- `hostNetwork: true` / `hostPID: true` / `hostIPC: true`
- `image: myapp:latest` — always pin to a digest or explicit tag
- Missing `PodDisruptionBudget` for services with `replicas > 1`
…

Read the whole file at its exact version.

How to install

Latest version
mdr add nitinjain999/platform-skills/.cursor/rules/kubernetes.mdc@git:20260516.215750b
Exact content
mdr add nitinjain999/platform-skills/.cursor/rules/kubernetes.mdc@sha256:9d74fc8fd9b58769

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xawpdc3e3glomwzz.svg)](https://markdownregistry.com/a/art_xawpdc3e3glomwzz)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260516.215750b latest2026-05-16 215750b 1,468 BA view

Audit of the latest version

A  14 of 14 checks passed. Deterministic, no model, same answer every run.
  • pass: Size between 200 bytes and 200 KB (1468 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nitinjain999/platform-skills · 42 stars · license Apache-2.0 · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xawpdc3e3glomwzz
GET https://markdownregistry.com/api/v1/resolve?ref=nitinjain999/platform-skills/.cursor/rules/kubernetes.mdc
GET https://markdownregistry.com/api/v1/blob/9d74fc8fd9b587699e693a8e5832a820dbe7b8e436c8ecbb239f81b0d0660b34

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from nitinjain999/platform-skills

keda rules
nitinjain999/platform-skills · .cursor/rules/keda.mdc · KEDA ScaledObject and ScaledJob generation rules — auth patterns, scaling safety, best practices
git:20260516.afdf992 · audit A · 42 stars
platform-skills rules
nitinjain999/platform-skills · .cursor/rules/platform-skills.mdc · Platform engineering rules — applies to all files in this workspace
git:20260911.e8a972c · audit A · 42 stars
terraform rules
nitinjain999/platform-skills · .cursor/rules/terraform.mdc · Terraform module and resource generation rules — blast radius, IAM least privilege, SOC 2 defaults
git:20260516.215750b · audit A · 42 stars
.cursorrules rules
nitinjain999/platform-skills · .cursorrules
git:20260911.e8a972c · audit A · 42 stars
CLAUDE.md claude
nitinjain999/platform-skills · CLAUDE.md
git:20260621.0546baa · audit A · 42 stars
platform-skills skill
nitinjain999/platform-skills · SKILL.md · Use when troubleshooting, implementing, reviewing, or auditing platform infrastructure as a system — where Kubernetes…
git:20260911.e8a972c · audit A · 42 stars
platform-skills skill
nitinjain999/platform-skills · skills/platform-skills/SKILL.md · Use when troubleshooting, implementing, reviewing, or auditing platform infrastructure as a system — where Kubernetes…
git:20260911.e8a972c · audit A · 42 stars

Every file in nitinjain999/platform-skills

Other files named kubernetes

kubernetes skill
notque/vexjoy-agent · skills/infrastructure/kubernetes/SKILL.md · Kubernetes operations: debugging, security, RBAC, and infrastructure tooling.
git:20260919.28d30f9 · audit A · 424 stars
kubernetes skill
openhands/extensions · skills/kubernetes/SKILL.md · Set up and manage local Kubernetes clusters using KIND (Kubernetes IN Docker). Use when testing Kubernetes applications…
git:20260701.599cc4d · audit A · 150 stars
kubernetes skill
magnus919/agent-skills · kubernetes/SKILL.md · Operate, troubleshoot, secure, upgrade, and automate Kubernetes clusters and workloads safely across upstream…
git:20260902.035e58d · audit A · 93 stars
kubernetes skill
mjunaidca/mjs-agent-skills · .claude/skills/kubernetes/SKILL.md · Production-grade Kubernetes manifests and debugging for containerized applications. This skill should be used when…
git:20260124.14c9905 · audit A · 28 stars
kubernetes skill
yuecao365/offercome · src/lib/mock-interviews/skills/kubernetes/SKILL.md · Kubernetes 怎么面:调度与工作负载、网络、存储、可观测排查、多集群治理。JD 点名 K8s 时读。
git:20260920.a4843f5 · audit A · 23 stars
kubernetes skill
iuliandita/skills · skills/kubernetes/SKILL.md · Build and review Kubernetes/K8s manifests, Helm charts, Kustomize overlays, Gateway API, and ArgoCD deployments.
git:20260920.ebf9a3d · audit A · 7 stars
kubernetes skill
fmind/dot · skills/kubernetes/SKILL.md · Operate Kubernetes clusters with kubectl, Helm, k9s, kustomize, and stern.
git:20260919.4491844 · audit A · 9 stars
kubernetes skill
lukaskellerstein/claude-my-marketplace · plugins/infra-plugin/skills/kubernetes/SKILL.md · Kubernetes and GKE operations: kubectl, manifests, deployments, services, workload identity, autopilot, config…
git:20260709.80a1f3d · audit A · 3 stars

Browse by kind, by grade A, or by owner.