Paste a manifest. See what the admission controller would say, before your cluster does.
Pod Security levels, RBAC escalation paths, removed APIs, and plaintext secrets checked in your browser. PSS v1.35-v1.37 rules verified 2026-11-29. Nothing is uploaded.
Manifest
1 object · 31 linesInspection report
Strictest namespace label this workload survives today: pod-security.kubernetes.io/enforce: privileged · Score F (0/100)
Host namespace sharing (hostPID)
Sharing host PID/IPC/Network namespaces breaks container isolation and exposes host processes or node interfaces.
Sensitive hostPath mounted (/var/run/docker.sock)
Mounting /var/run/docker.sock from the host grants container escape or root access on the node.
Privileged container "api"
Full access to the host kernel and devices. Breaks Baseline and Restricted.
Container "api" sets runAsUser: 0 (root)
Explicitly running as UID 0 violates PSS Restricted.
Container "api" does not drop ALL capabilities
PSS Restricted requires `capabilities.drop: ["ALL"]` on every Linux container.
Container "api" missing seccompProfile: RuntimeDefault
PSS Restricted requires RuntimeDefault or Localhost seccompProfile on Pod or Container.
Container "api" allows privilege escalation
Without `allowPrivilegeEscalation: false`, setuid binaries inside the container can gain extra privileges.
Container "api" does not enforce runAsNonRoot: true
PSS Restricted requires `runAsNonRoot: true` at Pod or Container level.
Plaintext secret in env "STRIPE_API_KEY" (Stripe Key)
Hardcoded credentials in Pod manifests leak into Git, etcd, and `kubectl describe`.
Missing CPU/memory requests or memory limit on "api"
Without requests and a memory limit, kube-scheduler cannot bin-pack accurately and BestEffort pods are evicted first under memory pressure.
Mutable image tag ":latest" on "api"
Image "registry.internal/payments:latest" is mutable; rollbacks or node reschedules can pull a different digest.
Single replica Deployment (replicas: 1)
Node drains, spot interruptions, or rolling restarts will cause brief downtime with only 1 replica.
automountServiceAccountToken is not disabled
Kubernetes mounts a ServiceAccount JWT into /var/run/secrets/kubernetes.io/serviceaccount by default even if the app never calls the K8s API.
Missing readinessProbe and livenessProbe on "api"
Without readinessProbe, traffic routes to pods before startup finishes; without livenessProbe, deadlocked processes stay alive.
Writable root filesystem on "api"
Leaving the root filesystem writable lets an attacker drop binaries or tamper with scripts at runtime.
Provided as is, without warranty. Verify results; consult an expert for important decisions. Disclaimer
Audit findings and generated patches can be wrong or incomplete for your cluster and Kubernetes version. Review every manifest and diff, and test in a non-production environment, before you apply anything to a production cluster.
Patch & Redaction Preview
unified diffProvided as is, without warranty. Verify results; consult an expert for important decisions. Disclaimer
Audit findings and generated patches can be wrong or incomplete for your cluster and Kubernetes version. Review every manifest and diff, and test in a non-production environment, before you apply anything to a production cluster.
Common Kubernetes Pod Errors & Exit Codes
Kubernetes OOMKilled (Exit Code 137)
Why containers die with Exit Code 137, how Linux cgroup OOM differs from liveness SIGKILL, and exact memory limit fixes.
CrashLoopBackOffKubernetes CrashLoopBackOff Triage
Step-by-step triage for containers stuck in exponential restart backoff (10s to 5m).
runAsNonRoot ErrorCreateContainerConfigError: runAsNonRoot & Image Runs as Root
Fix CreateContainerConfigError when Pod Security Standards Restricted enforces runAsNonRoot: true on a root-default image.
Liveness Kill / 137Liveness Probe Failed & Exit 137 Restart Loops
Distinguish liveness probe SIGKILL (Exit 137 + Reason: Error) from OOMKilled and prevent cascading restart storms.
ImagePullBackOffImagePullBackOff & ErrImagePull Fix
Fix missing imagePullSecrets, invalid tags, private registry auth 401/403, and Docker Hub 429 rate limits.
Pending (Memory)Pod Pending: Insufficient Memory
Why kube-scheduler leaves Pods Pending on nodes that look idle in kubectl top, including KEP-753 native sidecars and initContainer math.