PCI-DSS and SOC 2 for Kubernetes

What PCI-DSS and SOC 2 actually demand of a platform team, why scoping and segmentation is the highest-leverage decision you make, and how the requirements map onto Kubernetes primitives you already run.

Overview

Compliance as translation plus evidence

Compliance frameworks arrive on a platform team as questions from someone who does not use Kubernetes, and the instinct is to treat them as paperwork. That instinct produces the annual scramble: three weeks of screenshots, a spreadsheet of exceptions, and controls that exist for the audit rather than the system.

The better framing is that PCI-DSS and SOC 2 ask for properties a well-run platform should have anyway, in a vocabulary designed for auditors. The engineering work is translation plus evidence. Each framework requirement, from PCI-DSS or SOC 2, becomes a platform control such as a NetworkPolicy, an RBAC binding, an admission policy or an audit log. Each control feeds an evidence pipeline that produces complete populations, meaning every record of that kind for the whole period. The auditor then samples from those populations.

Key concepts

  • Cardholder data environment (CDE)
  • Scope and segmentation
  • Trust Services Criteria
  • Type I versus Type II
  • Preventive versus detective control
  • Encryption at rest for etcd
  • API audit logging
  • Evidence and population

Interview questions

  • Explain the difference between PCI-DSS and SOC 2, and what each actually demands of a platform team.
  • How do you scope a Kubernetes cluster for PCI, and why is segmentation the highest-leverage decision you can make?
  • Map the framework requirements onto Kubernetes primitives. Walk me through the controls you would implement.
  • How does GitOps satisfy change management requirements, and what breaks it?
  • What is the difference between a preventive and a detective control, and why does an auditor care so much?
  • What do auditors actually ask for, and how do you make evidence collection continuous rather than an annual scramble?

Sign up free to read the full topic

More DevOps topics

Start free on Cariara · Coding problems · System design studio