Interview Prep/DevSecOps/Kubernetes Security Posture

Draw the layered security controls for workloads on Kubernetes.

BeginnerProductionKubernetes Security Posture
Answer
flowchart TD
  A["Signed, scanned image"] --> B["Admission: signature, PSA, Kyverno policies"]
  B --> C["Pod: non-root, read-only FS, dropped capabilities, seccomp"]
  C --> D["Network: default-deny NetworkPolicy, mTLS"]
  D --> E["Identity: dedicated service account, scoped cloud role"]
  E --> F["Runtime: Falco or Tetragon detection"]
  F --> G["Audit logs to SIEM"]

Each layer assumes the one before it can fail. Admission keeps bad workloads out, pod hardening limits a compromised container, network and identity limit lateral movement, and runtime detection plus audit logs show what happened.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Kubernetes Security Posture