
Redaction on Kubernetes with a namespace that holds. Kubernetes gives you scheduling and isolation primitives, not a security model. The namespace, the network policy, the service account and the volume decide what the pod can reach. A default namespace with a broad role is not a boundary.
Part of redaction on cloud platforms. For the adjacent case, read redaction gcp and redaction aws.
What changes in this environment
A Job or CronJob in a dedicated namespace, a service account with no API permissions, a read-only PVC for input and a separate PVC for output. A NetworkPolicy denies egress except to the required endpoints; secrets come from a Secret or an external store. Resource limits protect the node.
Where the data hides
The visible page is only one layer. In this environment, check:
- Persistent volume snapshots
- Pod logs and stdout
- Environment variables and mounted secrets
- EmptyDir and temporary volumes
- The container image and its layers
The redaction flow
- Place the file on the input PVC.
- Submit a Job with the policy and the service account.
- Read the report from the output PVC.
- Review uncertain spans outside the cluster.
- Delete the Job, the pods and the temporary volumes.
Controls to verify
- A dedicated namespace and a restricted service account.
- A default-deny NetworkPolicy with an explicit allow list.
- Read-only input and a separate output volume.
- Secrets from an external store, not a manifest.
- Audit logging and a log retention rule.
Retention and evidence
PVCs, snapshots and node-local storage can outlive the pod. A deletion policy must cover them, and the backup schedule must be in scope. The report should land in an evidence store outside the cluster.
Limits
Cluster administrators can often read every namespace. Multi-tenant clusters weaken the boundary. GPU scheduling, large files and OCR are node-dependent. A pod is not a trust boundary by itself.
The namespace boundary
In Kubernetes the namespace is the unit of tenancy, and it earns that role only with the controls around it: network policies that default-deny and allow only the application pods to reach the redaction service, resource quotas so a noisy neighbor cannot starve the queue, and RBAC that keeps the namespace's secrets readable only by its own service accounts. A redaction namespace with an ingress controller is a redaction service on the public internet with extra YAML; check the ingress list the way you would check a firewall.
The Kubernetes-specific controls
Secrets through an external secrets operator or the platform's secret store integration, so nothing sensitive sits in etcd plaintext-adjacent. Pod security standards enforcing non-root and read-only filesystems, the same discipline as the container page, applied by admission rather than by hope. Audit logging on the API server, because kubectl cp is an egress path. And an upgrade cadence: Kubernetes versions age out of support on a known clock, and an unpatched cluster processing sensitive documents is a finding that announces itself.
The egress question
A redaction namespace usually needs almost no outbound internet: model updates arrive through your pipeline, and results go to your storage. So the egress policy can be near-total: default-deny, with the few required destinations named. A namespace that cannot reach the internet cannot phone home, cannot be pulled by a typo-squatted package, and cannot exfiltrate in the breach. The exceptions you must grant — a license check, an update mirror — are few enough to name and log. Grant them deliberately and review the list quarterly.
How Veilbrook fits
Veilbrook can run as a Kubernetes Job with a policy and a report. The namespace, the policy and the storage class are the controls you verify.
Before you release
Open the output in the same tool the recipient will use. Select each masked area and paste it into a text editor. Search for every value you removed, including the header, the attachment, the comment and the OCR layer. Compare the report with the file and keep both. If a value survives, the job is not done.
Common mistakes
- Covering text instead of replacing it.
- Checking the body but not the header or the attachment.
- Treating a successful job as a reviewed file.
- Calling a masked document anonymous.
- Leaving the original in a shared folder.
What to ask before you build
- Is the namespace dedicated to this workload?
- Can the pod run with no API permissions?
- Which storage classes and snapshots are used?
- How are secrets delivered?
- What is the log and evidence path?