Kubernetes for PCI DSS segmentation and logging: which requirements the platform helps with
Kubernetes helps with Requirements 1.2, 1.3 and 10.2 of PCI DSS v4.0.1 through network policies that act as network security controls, change-controlled configuration, and API server audit logs, but it does not by itself make a cluster compliant or define the cardholder data environment (CDE). Scope is set by where cardholder data is stored, processed or transmitted, and by any component with unrestricted connectivity to those systems. A cluster that shares nodes, namespaces or a flat network with cardholder workloads brings those components into scope regardless of which policies exist. PCI DSS v4.0.1, published on 11 June 2024, is the only active version, since v4.0 retired on 31 December 2024, so the design should be checked against v4.0.1 wording rather than older guidance.
DeployOpen prepares the systems, configuration and evidence that a cluster needs for an assessment, including network policy design, audit log pipelines and change records. DeployOpen does not issue reports or attestations. A Qualified Security Assessor completes a Report on Compliance for a ROC, or the entity completes a Self-Assessment Questionnaire for an SAQ, and each is supported by an Attestation of Compliance. The payment brands decide which entities must validate, and the PCI Security Standards Council does not enforce compliance itself. Before design work starts, confirm with your acquirer or payment brand which validation route applies to your organization and which SAQ type, if any, fits your service provider role.
Before any build, ask your assessor how they will test each of these controls on your cluster, including what they will sample, and which environment they will accept as evidence. Map each network policy and namespace boundary to a documented CDE boundary and data-flow diagram, and confirm that audit logging of the Kubernetes API covers the events and fields that Requirement 10.2 expects. Treat the policy repository, admission configuration and cluster manifests as configuration files that must be secured and kept consistent with the live cluster, since the SAQ guidance on Requirement 1.2.8 expects this for infrastructure as code.
How Requirements 1.2, 1.3 and 10.2 map to Kubernetes capabilities
This table pairs each PCI DSS requirement in scope for segmentation and logging with the Kubernetes capability that supports it and the configuration you still need to build. Read it as a starting point for your assessor conversation: the cluster can enforce and record much of the in-cluster traffic and API activity, but the controls outside the cluster remain your responsibility to document.
| Requirement | Platform capability | Configuration needed |
|---|---|---|
| 1.2 and 1.2.2: NSC ruleset configuration and change control | Kubernetes NetworkPolicy objects act as the in-cluster ruleset, and Git history records who changed them | Store NetworkPolicy manifests in version control, route changes through pull request approval that meets the change control process in Requirement 6.5.1, and block direct edits to live objects |
| 1.2.8: Configuration files protected | Manifests, Helm values, Kustomize overlays and scripts can define the rules, so they become configuration files in scope | Restrict write access to the repository and deployment pipeline, back up the GitOps source, and confirm the live cluster matches the reviewed state |
| 1.3.1 and 1.3.2: Restrict inbound and outbound CDE traffic | Default-deny ingress and egress policies per namespace, with explicit allow rules for required flows | Confirm your CNI plugin enforces NetworkPolicy, apply default-deny to CDE namespaces, and define allow rules from the data-flow diagram; also confirm egress to external services |
| 1.3.3: NSCs between wireless networks and the CDE | None inside the cluster; this control sits on the physical or wireless network | Document the NSCs at the wireless boundary in your network infrastructure, and confirm with your network team that no wireless segment reaches CDE nodes unfiltered |
| 10.2.1: Audit logs enabled for system components | The kube-apiserver audit policy records API requests to a file or webhook backend | Define an audit policy covering CDE namespaces and Secrets access, set log file storage, and confirm the setting on every control plane node |
| 10.2.2: Audit log entry content | Audit events include the request verb, timestamp, response status, user identity, source IP and target resource | Verify sample entries contain the fields the requirement names, confirm the log forwarder preserves them, and confirm the audit policy level captures the needed detail |
| Scope boundary: Kubernetes objects and external NSCs | Cluster policies cover only pods, namespaces and services inside the cluster | Map every path into and out of the CDE, including cloud firewalls, load balancers and host firewalls, and keep those rules in your NSC inventory |
Can Kubernetes network policies count as network security controls?
A NetworkPolicy is only a rule set until the cluster's CNI plugin enforces it, so the first question for a cardholder data environment (CDE) namespace is whether the chosen CNI actually implements NetworkPolicy and what it does with traffic the policies do not match. Confirm enforcement behavior with the CNI vendor in writing, including how default-deny ingress and egress is applied, how policies behave for pods that are not selected, and whether host-network pods are covered at all. Then test it: apply a default-deny policy to each CDE namespace, document the resulting allowed flows as explicit rules, and keep evidence of a denied connection from a pod outside the allowed set. Store the policy manifests in Git so they can be tied to the change control process in Requirement 6.5.1, since Requirement 1.2.2 expects changes to NSC configurations to go through that process.
NetworkPolicy does not cover everything that reaches a CDE workload. Node-level traffic, traffic from pods to hosts, ingress through a cloud or on-premises load balancer, and east-west flows between clusters and databases outside the cluster still pass through network infrastructure that sits outside Kubernetes. Those paths need NSCs in the surrounding network, such as firewalls or routers with rulesets, and the documented network diagram and data-flow diagram required by Requirement 1.2.3 and 1.2.4 must show them. Treat the cluster as one segment within a larger design rather than as the whole of segmentation.
Whether a given Kubernetes control counts as an NSC is an assessor decision, not a vendor claim. Before relying on NetworkPolicy in scope, ask your Qualified Security Assessor how they want the control described, what evidence they will sample, and whether the policy manifests and the CNI configuration fall under the configuration-file expectations noted for Requirement 1.2.8. Ask the CNI vendor for the exact enforcement features and known limits of your version. If the assessor does not accept a Kubernetes control as an NSC, plan the perimeter NSCs first so that segmentation still holds without it.
Configuration sequence for a CDE cluster
This sequence takes a Kubernetes cluster from an undefined cardholder data boundary to one whose topology, access, network controls, logging and recovery can be shown to an assessor. Each step produces an artifact that the next step depends on. Confirm the exact requirement wording against your assessor's expectations and the current PCI DSS v4.0.1 text.
Define the CDE boundary and data-flow diagram
Your compliance lead and architects list every system component that stores, processes or transmits cardholder data, plus any component with unrestricted connectivity to them, and draw the data flows between them. The output is an accurate network diagram and data-flow diagram, which Requirement 1.2.3 and 1.2.4 expect. Confirm the boundary with your assessor before any cluster build starts, because namespaces, nodes and shared add-ons all inherit scope from it.
Choose and build a highly available control plane
Platform engineers select a kubeadm topology, either stacked etcd on the control plane nodes or an external etcd cluster, with at least three control plane nodes behind a TCP load balancer on port 6443. The kubeadm high availability guide and the etcd documentation both support this layout, and the etcd guidance recommends an odd member count with five members in production. The step is done when every control plane node joins, the load balancer health checks pass, and the topology is recorded in version control.
Enable API server audit logging
Platform engineers define an audit policy for kube-apiserver that records who did what, when, and with what result, then ship the audit log to storage that operators cannot quietly edit. This is the core evidence for Requirement 10.2.1 and 10.2.2, which expect each entry to carry the event type, timestamp, outcome, origin and affected resource. Test by performing a sample create, change and delete, then confirm each action appears with the expected fields in the central log store.
Enforce Pod Security Standards per namespace
Platform engineers label each CDE namespace with the Restricted Pod Security Standard, or the strictest level the workloads can run under, using the built-in Pod Security Admission controller. Workloads that need a privileged profile are identified and documented as exceptions with an owner and review date. Verify by attempting to deploy a privileged pod into a CDE namespace and confirming the admission controller rejects it.
Apply default-deny network policies and allow lists
Network engineers apply a default-deny ingress and egress policy to each CDE namespace, then add allow rules only for documented flows from the data-flow diagram. Those rules act as the network security controls for Requirements 1.3.1 and 1.3.2, and the CNI plugin must enforce NetworkPolicy, which you should confirm for your chosen networking component. Verify with connection tests from outside the allowed paths, and keep the test results with the change record.
Encrypt Secrets at rest and restrict RBAC
Platform engineers enable encryption at rest for Secrets in etcd, then grant only the list and watch permissions that specific service accounts need, because those verbs expose Secret values. External secret stores through the Secrets Store CSI Driver are an option if your key management model requires them. The step is complete when an etcd snapshot shows Secret data as encrypted and an access review confirms no broad list or watch grants remain.
Put all policy and manifests under change control
Platform engineers store manifests, NetworkPolicies, RBAC, admission settings and audit policy in a version control system, with protected branches and an approval gate for every change. Those approvals are the change control process that Requirement 1.2.2 links to Requirement 6.5.1, and the SAQ D notes treat this configuration as files that must be secured and kept consistent with the live cluster. Confirm drift detection, such as a GitOps controller or scheduled comparison, so that a change made outside the approved path is flagged.
Test etcd snapshot restore and retain evidence
Operators take an etcd snapshot with etcdctl snapshot save, restore it to a separate test environment with etcdutl, and confirm the cluster state, Secret encryption and policies match expectations. The restore test and its results are dated, signed off and stored with the audit logs, approved change records, diagrams and scan results. Repeat the restore test on a schedule you define and after each control plane upgrade, and record who performed it.
How change control applies to policy as code
Requirement 1.2.2 applies to Kubernetes network policy changes as much as to firewall rules. Every change to a NetworkPolicy, to the CNI configuration that enforces it, or to any cluster setting that governs traffic into or out of the cardholder data environment must be approved and managed through the change control process the entity defines for Requirement 6.5.1. The SAQ D note on Requirement 1.2.8 goes further: infrastructure as code, scripts, automated controls and backed-up or remotely stored settings used to configure or synchronize network security controls are configuration files. They must be secured and kept consistent with the active configuration. In practice, the Git repository holding Helm values, Kustomize overlays and NetworkPolicy manifests is in scope for the assessor, along with the CI pipeline and the GitOps controller that applies them.
A GitOps flow can produce the approval evidence an assessor asks for. Changes arrive as pull requests, a named approver who is not the author approves them, and branch protection blocks direct pushes to the production branch. Signed commits tie each change to an identity, and the controller's sync history records what was applied and when. Drift detection closes the loop. The reviewer will check that the live cluster matches the approved revision: that NetworkPolicy objects in CDE namespaces have not been edited with kubectl outside the pipeline, that no policy was deleted, and that default-deny rules and the Pod Security Admission labels on CDE namespaces still match the repository. Ask the team to show one deliberate out-of-band change being detected, reverted or raised as an incident, because a drift alert that nobody answers is weak evidence.
The approval process belongs to the entity, not to DeployOpen. Requirement 6.5.1 is defined by the entity's own change control policy, including who approves, what testing is required and how emergency changes are handled. DeployOpen can design the pull request, branch protection and drift detection flow so that it produces those records, and document how the flow maps to the entity's process. Confirm with your QSA whether emergency break-glass changes to the cluster are in scope for the approval records and how they will be reconciled back into Git. The entity must also decide who holds admin rights that could bypass the pipeline, because that answer determines what the drift report can be trusted to show.
Which audit log and configuration evidence auditors ask for
An assessor testing Kubernetes against PCI DSS v4.0.1 will ask two questions: can you show what happened in the cardholder data environment, and can you show the running configuration matches what was approved. The cards below cover the records that answer both, and the gaps to close before the assessment starts.
API server audit entries mapped to 10.2.2
Kubernetes API server audit events can be shaped to carry the fields Requirement 10.2.2 asks for: event type, date and time, success or failure, origin, and the identity of the affected resource. Check that your audit policy records the request and response levels you need for secrets, RBAC changes and workload creation, and confirm the chosen levels against the 10.2.1 sub-requirements (10.2.1.1 to 10.2.1.7) with your assessor. Logs from applications and databases in the cardholder data environment need their own logging, as explained in PCI SSC FAQ 1081.
PCI SSC FAQ 1081Off-cluster log retention and protection
Audit logs stored only on control plane nodes can be edited or deleted by anyone with node or etcd access, which weakens their value as evidence. Ship API server audit logs to a store that cluster administrators cannot silently change, with write-once or separately credentialed access, and record who can read and who can delete. Confirm the retention period with your assessor and your payment brand, because this document does not set one.
NetworkPolicy manifests and default-deny history
For Requirement 1.2 and 1.3, the evidence is the NetworkPolicy manifests that restrict inbound and outbound CDE traffic, including a default-deny policy in each CDE namespace. Keep these manifests in Git so the history shows when each rule was added, changed or removed, and by whom. Ask an assessor to confirm which namespaces and pods are in scope, since an unlabeled namespace with unrestricted connectivity to the CDE can itself bring components into scope.
Pull request approvals as change records
Requirement 1.2.2 expects changes to network connections and NSC configurations to go through the change control process in Requirement 6.5.1. Pull requests that show the author, the reviewer, the approval and the merge time can serve as those change records, provided branch protection blocks merges without approval and administrators cannot bypass it quietly. Confirm with your assessor that this flow meets your change control definition before you rely on it.
Live state matches Git
The SAQ D notes for Requirement 1.2.8 treat policy as code and related automation as configuration files that must stay consistent with the active configuration. Export the live NetworkPolicy and RBAC objects with kubectl on a schedule and compare them with the Git revision, keeping the diff output as evidence. Any drift should trigger an alert and a documented change or revert.
etcd snapshot and restore test records
Kubernetes stores its configuration, including Secrets, in etcd, so a restore test shows that the policy and log configuration can be recovered. Keep dated records of etcd snapshots created with etcdctl snapshot save and of restore rehearsals performed with etcdutl, including the snapshot checksum, the restore target and the result. Confirm with your assessor how often these tests are expected and who signs off on them.
Questions teams ask before running cardholder workloads on Kubernetes
Does running on Kubernetes make our cluster PCI DSS compliant?
No. Kubernetes is a platform, and PCI DSS applies to the entity and its cardholder data environment as a whole, including people, processes and technology. Compliance is shown through an assessment: a Report on Compliance completed by a Qualified Security Assessor, or a Self-Assessment Questionnaire, each backed by an Attestation of Compliance. Certificates, including Kubernetes conformance certificates, are not recognized as validation. A cluster built with network policies, RBAC and API audit logs gives an assessor evidence to review, but the assessor decides whether the controls meet each requirement in your environment. DeployOpen prepares systems, controls and evidence for that assessment but does not issue reports, attestations or certifications.
How much effort does a PCI DSS Kubernetes build take, and what drives it?
Effort depends mainly on how much of your estate is in cardholder data scope and how it is split. The main drivers are the number of clusters, how many namespaces hold cardholder data workloads, how much network segmentation must be defined with network security controls, whether you already run GitOps for change control, how your audit log pipeline is built, and whether you plan to use the customized approach, which requires more evidence of how your objectives are met. A quote should break the work into scoping, design, build, evidence collection and retest, and state which items are one-time and which recur, such as ruleset reviews and log retention checks. Ask for the written scope before comparing figures.
Can our own team run a PCI DSS Kubernetes environment without a partner?
Yes, if your team has the skills and capacity to own the work. Your team must own the scope decisions, the cardholder data environment boundary, the network diagram and data-flow diagram, the change approval process, access reviews, log review and the final evidence set. Engineers need to be comfortable with network policies, RBAC, API server audit policy, encryption of Secrets at rest and the Pod Security Standards. Many teams keep ownership internally and bring in a partner for specific parts, such as a configuration review, a security test of the segmentation or a retest after fixes. Confirm internally who signs each control before deciding.
What do we need to provide before work starts on a cardholder Kubernetes environment?
Prepare the inputs an assessor will also ask for. You need current cardholder data environment diagrams, an accurate network diagram and a data-flow diagram, a list of approved services, protocols and ports, and named owners who approve changes to network connections and network security control configurations. The team also needs read access to the clusters and their audit logs, the GitOps repositories or configuration files that define policies, and a list of the systems that connect into the cardholder data environment. Expect to provide a test or staging cluster for changes before production. Without these inputs, the scope and the timeline in a quote cannot be stated reliably.
Does PCI DSS v4.0.1 change how we should build this?
PCI DSS v4.0.1 is the only active version. It was published on 11 June 2024 as a limited revision of v4.0 with no added or deleted requirements, and v4.0 was retired on 31 December 2024. The PCI SSC ran a request for comments on v4.0.1 from 3 June to 20 July 2026 to begin the next iteration of the standard. As of October 2026, the PCI SSC had announced no release date for a new version. Build against v4.0.1 now, and keep your network security control rules, change records and log configuration in a form that can be re-mapped if a future version changes requirement numbers or wording. Confirm the current version with your acquirer or assessor before scoping.
Who enforces PCI DSS, and what happens if we do not comply?
The PCI Security Standards Council does not enforce compliance or impose penalties. It owns and maintains the standard. The individual payment brands decide which entities must comply and validate, and they run any enforcement programs. Your acquirer or the brand that processes your transactions is therefore the party to ask about your validation level, the type of assessment you need and any deadlines. Confirm these requirements in writing with that party before you commit to a scope, because they determine whether you need a Report on Compliance or a Self-Assessment Questionnaire.
Which Kubernetes controls should we expect an assessor to review for segmentation and logging?
Assessors usually look for evidence that each control works as documented and that changes to it are approved. For segmentation, expect review of network policies that restrict inbound and outbound cardholder data environment traffic to necessary traffic, with other traffic specifically denied, and of the configuration files used to define them, which must be secured and kept consistent with the active configuration. For logging, expect review of API server audit policy, log retention and the events captured for requirement 10.2.1 and the fields recorded under 10.2.2. Confirm with your assessor how they want policy-as-code change history presented, and whether they accept GitOps records as change control evidence.
How DeployOpen scopes and delivers PCI DSS-ready Kubernetes
DeployOpen approaches Kubernetes for PCI DSS segmentation and logging as a written, fixed-scope engagement inside infrastructure you control. We plan the cardholder data environment boundary, build network policies, RBAC, audit logging and policy-as-code change flow, then hand over evidence that your assessor and compliance team can review. We prepare systems and evidence for assessment; we do not issue assessment reports or attestations.
How we scope
- Agree in writing which clusters, namespaces and workloads fall inside the cardholder data environment and which sit outside it.
- Map the network diagram and data-flow diagram to the network security controls that will enforce each allowed path.
- Confirm with your QSA or internal assessor which requirements, SAQ type or ROC approach apply before build work starts.
How we build
- Write default-deny network policies for in-scope namespaces, with explicit ingress and egress rules for each approved service.
- Store network policies, admission rules and cluster configuration in Git so every change passes the same review and approval path.
- Configure API server audit policy and forward audit logs to your retained log store, then test that entries capture who acted, what changed and when.
How we hand over
- Deliver the network policy set, diagrams, change control procedure and audit logging configuration as versioned documentation.
- Provide test results showing blocked and permitted traffic paths, so your team can repeat the segmentation checks after future changes.
- Train the operators who maintain policies and log pipelines, and record which controls are owned by your team and which by DeployOpen.
How we support
- Offer ongoing support, Kubernetes upgrades and continuous testing as a retainer after handover.
- Retest segmentation after each cluster upgrade or significant policy change, and report any drift from the approved ruleset.
- Confirm with your assessor and payment brand the evidence format they expect, and adjust the evidence pack before each assessment.

