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
mdr add nitinjain999/platform-skills/.cursor/rules/kubernetes.mdc@git:20260516.215750bmdr add nitinjain999/platform-skills/.cursor/rules/kubernetes.mdc@sha256:9d74fc8fd9b58769Pin 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.
[](https://markdownregistry.com/a/art_xawpdc3e3glomwzz)
1 badge views in 30 days
Versions
Audit of the latest version
- 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
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
Every file in nitinjain999/platform-skills