Kubernetes security hardening

How to harden a self-hosted Kubernetes cluster across admission, access, network, secrets, logging and API exposure, and what evidence auditors will ask you to keep.

On this page

Why Kubernetes security hardening takes more than a default install

A default Kubernetes install does not give an auditor or regulator the hardened posture they will ask about. If a cluster is running or about to go live, the question is not whether it works but which controls are on, who configured them and what evidence shows it. Several of the most important protections are off or unset until someone turns them on. Secrets are stored unencrypted in etcd by default, so anyone who can read the etcd data or its backups can read them. Pod Security Standards are opt-in per namespace through the built-in Pod Security Admission controller, which means workloads can run privileged until each namespace is labeled to enforce a level. Hardening therefore has to cover several layers at once: admission, RBAC, network policy, secrets, audit logging and API server exposure.

Each layer needs a decision and a record of that decision. For admission, the team chooses which Pod Security Standard (Privileged, Baseline or Restricted) each namespace enforces and where exceptions are approved. For RBAC, it decides who may read Secrets and who holds cluster-admin. For networking, it decides which pods may talk to each other and to the API server. For secrets, it decides whether etcd encryption at rest is configured, where its keys live and whether an external store is used. For audit logging, it sets the audit policy, where logs go and how long they are kept. For API exposure, it decides who can reach kube-apiserver and whether it sits behind a restricted network path. Teams that change these settings without writing them down often cannot show an assessor the state of the cluster at any given date. Confirm the exact settings your distribution supports with its documentation before you write the control narrative.

Many teams use the CIS Kubernetes Benchmark as the common reference for these checks, and assessors frequently ask how a cluster compares with it. The benchmark is a useful checklist, but it does not decide for you which recommendations apply to your distribution or managed service, and it does not replace evidence. Ask your team to answer three questions before go-live: which hardening settings are enforced today, which are documented exceptions, and which can be shown in a repeatable scan or log export. Those answers shape the rest of this page.

Every request to the API server passes through identity, RBAC and admission before it reaches etcd

The diagram starts with a user or pipeline calling the kube-apiserver, which authenticates the caller, checks RBAC and then runs Pod Security Admission before any object is written. Objects land in etcd, where Secrets should be encrypted at rest, and each API decision is recorded in the audit log. Workloads on worker nodes sit behind network policies, so the boundary between control plane and workloads is where you should check each control separately.

Request path from caller to etcd, with audit and workload isolation.

Which controls to configure and where they live

Kubernetes hardening is spread across several independent components, each with its own configuration object and its own owner. Reviewers usually ask for evidence on all six, so it helps to know which object holds each setting before the cluster is built. The cards below map each control to the surface where it is set and what to verify.

Pod Security Admission

Pod Security Admission enforces the Privileged, Baseline and Restricted Pod Security Standards, and it is set per namespace through labels on the Namespace object. Teams typically start with warn and audit modes to find workloads that would be blocked, then switch to enforce. Check which namespaces carry enforce labels, and confirm that system namespaces and privileged workloads are documented as exceptions with a named owner.

Pod Security Standards

RBAC roles and bindings

RBAC is defined by Role and ClusterRole objects, granted through RoleBinding and ClusterRoleBinding objects. Least privilege depends on reviewing wildcard verbs, cluster-admin bindings, and any access to Secrets, including list and watch. Export the bindings and check who holds each role, and remove default bindings that a workload does not need. Service accounts used by automation need the same review as human users.

NetworkPolicy

NetworkPolicy objects control pod-to-pod and pod-to-external traffic, but they only take effect if the cluster's network plugin enforces them. Start by confirming that the CNI in use supports NetworkPolicy, since not every plugin does. Then apply a default-deny policy per namespace and add explicit allow rules for required flows. Review policies alongside service changes, because a new service without rules is open by default.

Encryption at rest for etcd

Secrets are stored unencrypted in etcd unless encryption at rest is configured. This is set through an EncryptionConfiguration file that the kube-apiserver loads with its encryption provider flag, and it can use a key management service. Confirm the provider order, the key rotation process, and that existing Secrets were rewritten after the change. Also check that etcd snapshot backups are encrypted, because a backup holds the same data.

API server audit policy and logging

The audit policy file defines which requests the kube-apiserver records and at what level of detail, and it is passed to the API server at startup. Audit records are only useful if they are shipped off the control plane node to storage that operators cannot quietly alter. Decide which resources need full request bodies, such as Secrets and RBAC changes, and which need only metadata. Test that an access to a Secret actually produces an entry.

API server exposure and authentication

The kube-apiserver endpoint is reached through a load balancer on port 6443 in a high availability layout, so exposure is decided by load balancer rules, network segmentation and the authentication flags on the API server. Confirm that anonymous access is disabled, that the endpoint is not reachable from untrusted networks, and that authentication uses the identity provider and client certificates you have documented. Review the API server flags during each upgrade, because defaults can change between releases.

Authentication docs

Choosing Pod Security Standards levels and enforcement modes

The Privileged level places no restrictions on pods. It is the least secure option and is intended for workloads that genuinely need full host access, such as certain node-level agents, storage drivers or network plugins that run in system namespaces. Using it for application namespaces removes the guardrails the other two levels provide, so it should be limited to a small, named set of namespaces with clear owners.

  • Scope it tightly: Assign Privileged only to system namespaces where the platform team can document why each workload needs host access.
  • Record the exceptions: Keep a list of every namespace at this level and the workload that requires it, since auditors will ask for the reason.
  • Review on upgrade: Add-ons often change their privilege needs between releases, so recheck the list during each cluster upgrade.
  • Avoid it for tenants: Do not place team or customer workloads in a Privileged namespace to avoid fixing their manifests.

Check that every namespace labeled Privileged appears in a written exception register with an owner and a review date.

Decisions that shape the hardening work

This table compares the five decisions that most change how much hardening work a Kubernetes cluster needs and how much of it you run afterwards. Read each row as a choice you make early, with the fit and the recurring operational cost of each option. The main takeaway is that key custody, secret delivery and tenancy boundaries are hard to change after workloads are running, so settle them before the cluster takes production traffic.

DecisionWhen it fitsOperational cost
Encryption key location: KMS pluginYour security team already runs a key management service and needs keys held outside the cluster and audited there.Recurring: the KMS plugin, its availability and key rotation become part of cluster operations. Confirm plugin support with your distribution.
Encryption key location: local keyA small or isolated cluster where no external key service is available, and the risk of key material on control plane nodes is accepted and documented.Lower setup effort, but key rotation and protection of control plane hosts become your responsibility, and assessors will ask how the key is guarded.
Secrets: native Kubernetes SecretsFew secrets, short-lived workloads or teams that need the simplest path, with encryption at rest and tight RBAC on list and watch.Ongoing RBAC reviews and encryption configuration checks. Secret values remain in etcd, so backups must be protected too.
Secrets: external store through the Secrets Store CSI DriverMany credentials, central rotation requirements or an existing external vault that auditors already review.Recurring: the driver, the vault and its access policies must be maintained and upgraded alongside the cluster. Confirm which providers your platform supports.
Tenancy: one shared cluster with namespacesTeams with similar trust levels that accept namespace isolation, with Pod Security, network policies and quotas enforced in each namespace.Continuous policy drift checks across namespaces. Every new namespace needs its own labels, policies and RBAC bindings.
Tenancy: separate clustersTenants with different trust levels, regulatory boundaries or the need for independent upgrade windows.Higher recurring cost: each cluster adds control plane, backup, patching, monitoring and audit log work.
Pod Security: enforced per namespaceMost environments, where teams can move namespaces to Baseline or Restricted in stages and exceptions stay visible.Moderate: exceptions must be tracked and reviewed each time workloads change.
Pod Security: cluster-wide defaultsGreenfield clusters where every workload can meet a common standard from the start.Higher friction for legacy workloads. Confirm how your admission setup handles system namespaces.
Audit logs: in-house pipelineTeams with log engineering capacity and a need to control retention, format and access to audit events.Recurring: collection, storage, parsing, alert rules and capacity planning are carried by your own staff.
Audit logs: managed log serviceOrganizations that already use a managed logging platform with retention and access controls their auditors accept.Recurring subscription and data volume charges. Ask how audit policy is applied and how long events are retained.

Build sequence for a hardened cluster

This sequence moves a cluster from default settings to a configuration that can be explained to auditors and regulators, with each step closing on a check you can record as evidence. The order matters: exposure and identity come first, so later controls are not bypassed by an open API or shared admin credentials.

  1. Inventory workloads, identities and exposure

    Platform engineering and the application owners list every namespace, workload, service account, human identity with cluster access and external path into the API server. Record which workloads need privileged settings, host networking or hostPath mounts, because these decide which Pod Security Standard each namespace can meet. Done means you hold a written inventory that every later step references, reviewed by the security team. Ask your distribution vendor or partner which of these items they manage by default.

  2. Restrict API server exposure and authentication

    Limit network access to the kube-apiserver endpoint on port 6443 to administrative networks and the load balancer, and remove anonymous access where your distribution allows it. Connect human users through your identity provider rather than client certificates issued to individuals, following the authentication options in the Kubernetes documentation. Check that an unauthenticated request from outside the approved network is refused and that every human login maps to a named identity.

  3. Set Pod Security labels in audit and warn mode

    Label each namespace for the Pod Security Standards level its workloads can meet, starting with audit and warn modes so violations are logged and reported without blocking deployments. Platform engineering reviews the audit log and warnings with application owners and fixes manifests that rely on privileged settings. Done means the audit log shows no unexplained violations for the namespace, and each exception has a named owner and a documented reason.

  4. Switch Pod Security labels to enforce

    Once the audit and warning results are clean, set the enforce label on each namespace so non-compliant pods are rejected at admission. Keep the Privileged level only for namespaces that have a documented need, such as system components, and keep those namespaces separate from application workloads. Check that a test pod violating the chosen level is rejected and that a compliant pod is admitted, and save both results as evidence.

  5. Apply least-privilege RBAC and remove shared admin kubeconfigs

    Replace broad cluster-admin bindings with roles scoped to namespaces and verbs that each team needs, and bind them to groups from your identity provider. Revoke shared administrator kubeconfig files and rotate any credentials they contained. Restrict list and watch access to Secrets specifically, because those verbs can expose secret values. Check the result with an access review for each team and confirm that no human identity or service account holds cluster-admin without a recorded reason.

  6. Encrypt Secrets at rest

    Secrets are stored unencrypted in etcd by default, so configure encryption at rest for the Secret resource in the API server using a key management service or a key provider your distribution supports. Plan key rotation and confirm where the encryption key material is held and who can access it. Done means a Secret written after the change is stored encrypted in etcd, and a snapshot of etcd taken for backup does not reveal plaintext values. Coordinate this step with your etcd backup plan, since backups taken before the change contain unencrypted data.

  7. Apply default-deny NetworkPolicy with explicit allows

    In each namespace, apply a default-deny policy for ingress and egress, then add explicit allow rules for the traffic each application requires, such as its database, DNS and the ingress controller. Network policies depend on your CNI plugin enforcing them, so confirm that with your networking vendor before relying on the policy. Check the result by attempting a connection that should be blocked and one that should succeed, and record both outcomes for each namespace.

  8. Enable audit policy and ship logs off cluster

    Configure an audit policy on the API server that records requests to sensitive resources, including Secrets, RBAC objects and authentication events, at a level your security team has agreed. Ship audit logs to a store that cluster administrators cannot quietly alter, and set retention to match your compliance obligations. Check by performing a test change, such as creating a role binding in a non-production namespace, and confirming the event appears in the external store with the identity that made it.

  9. Patch to a supported minor release

    Confirm the cluster runs one of the minor releases the Kubernetes project still maintains, and upgrade one minor version at a time if it does not, following the version skew rules for control plane components and kubelets. Rehearse the upgrade in staging before production, and rerun the checks from earlier steps afterwards, because a version change can alter defaults. Done means the server version is inside the supported window on the official releases page, and the post-upgrade checks pass and are stored with the change record.

Mapping hardening controls to what auditors and regulators ask for

Start from the question an auditor or regulator will ask about each control, then decide which artifact answers it. The evidence map is the working document that ties each hardening setting to a configuration export, a review record or a log sample. For Pod Security Standards, the evidence is the namespace labels that enforce Baseline or Restricted, exported with kubectl get namespaces -o yaml, plus a record showing which workloads were exempted and why. For least-privilege RBAC, the evidence is a dated export of ClusterRoles, Roles and bindings, a list of holders of cluster-admin, and a signed review showing who approved each binding and when it was last checked. For encrypted Secrets, the evidence is the EncryptionConfiguration file and a test showing that a Secret written through the API is not readable in plain text from etcd. Each artifact should carry a date, the cluster name and the version under review.

Scan results and audit logs need the same discipline. Map each recommendation in the CIS Kubernetes Benchmark to its control ID and title, record which recommendations your distribution or managed service handles and which you own, and keep the scan output for each run, including the exceptions you accepted and the reason. For audit logging, an auditor will usually want a sample of API server audit events showing authentication, Secret access and RBAC changes, and proof that those logs leave the cluster and are retained for the period the policy names. Patch records should show the minor version running on each control plane node and kubelet, the date each patch was applied, and the upgrade rehearsal that preceded it. Confirm the retention period with your compliance lead before you collect anything.

DeployOpen prepares the controls, the configuration and the evidence set described above, and it can run the scans and tests that generate much of it. It does not issue audit reports, attestations or certifications. Independent auditors and certification bodies decide whether controls meet a framework, and they set the sampling and retention they expect. Ask your assessor early which control families they will test, which evidence format they accept and whether they want screenshots, exports or live access, so the evidence map is built to their request rather than assembled after the fieldwork begins.

What drives hardening effort and how to keep it down

This table lists the factors that expand Kubernetes hardening work, why each one adds effort, and how to reduce it. Read each row as a lever: the more privileged namespaces, identities, clusters and regulated Secrets you carry, the more policy, review and evidence work you inherit. Start with the reduction column when scoping a quote.

DriverWhy it adds workHow to reduce it
Namespaces and workloads needing privileged accessEach privileged or host-access pod sits outside Baseline and Restricted Pod Security controls and needs a documented exception, owner and review.Confine exceptions to dedicated namespaces, move workloads to Restricted where possible, and review exceptions on a fixed schedule.
Teams and human or service identitiesEvery identity needs RBAC bindings, group mapping and periodic access review, and shared admin kubeconfigs are hard to attribute in audit logs.Map groups from your identity provider to a small set of roles, retire shared kubeconfigs, and give automation its own scoped service accounts.
Number of clustersEach cluster repeats admission policy, network policy, audit configuration, CIS scans and upgrade rehearsals, so effort scales with cluster count.Standardize one hardened baseline as code and apply it to every cluster, and consolidate tenants where a shared boundary is acceptable.
Regulated data held in SecretsSecrets are stored unencrypted in etcd by default, so regulated credentials and keys trigger encryption at rest, tighter list and watch rights, and evidence of both.Enable encryption at rest with a key management service, limit get, list and watch on Secrets, or keep sensitive material in an external store.
Log retention and SIEM integrationAudit policy decides what is recorded, and retention, forwarding, parsing and alert tuning each need design and ongoing checks.Define an audit policy scoped to security-relevant requests, forward to the existing SIEM with a defined schema, and set retention to the period your regulator requires.
Compliance scope and assessor expectationsEach framework asks for its own evidence, such as configuration snapshots, scan results and change records, and assessors may test controls you did not plan for.Map each control to a specific setting or check before work starts, use CIS Kubernetes Benchmark scan output as recurring evidence, and confirm the required evidence format with your assessor.
Patching and API server exposureEach supported minor release needs patch review, and an internet-reachable API server adds ingress controls and monitoring.Restrict API server access to private networks or a bastion path, and schedule patch reviews against the supported release list.

How hardening differs by deployment model

A single-node or lab cluster is useful for learning, testing manifests and rehearsing changes, but it is not a safe model for regulated workloads. One node hosts the control plane, etcd and workloads together, so a single failure or misconfiguration affects everything at once. Hardening effort here goes toward establishing the baseline you will carry forward rather than toward resilience. Treat the lab as a place to test your Pod Security Standards labels, RBAC roles and network policies so they are proven before they reach a production cluster.

  • Control plane co-location: API server, etcd and workloads share one host, so access to the node effectively grants access to cluster state.
  • Shortcut risk: Lab setups often use permissive defaults, broad admin kubeconfigs and privileged pods that later get copied into production.
  • Test the controls: Apply pod-security.kubernetes.io/enforce labels in a namespace and confirm that workloads are rejected as expected.
  • Rehearse secrets handling: Enable encryption at rest for etcd in the lab so the configuration file and key rotation steps are documented before production.
  • Limited audit value: Scan results from a lab rarely satisfy an assessor for a production scope, so keep the lab separate from evidence.

Confirm with your team which lab practices are being promoted to production and which are being discarded, and record that decision.

Hardening risks that matter most in practice

Most Kubernetes compromises trace back to a few avoidable settings: readable secrets, broad permissions, privileged workloads, open API access, invisible admin actions and out-of-support versions. Each card below names one of these risks and the control that addresses it, so you can check your own clusters against the same list.

Unencrypted Secrets in etcd

Kubernetes stores Secrets unencrypted in etcd by default, so anyone who can read etcd snapshots or the raw datastore can read every credential the cluster holds. The control is encryption at rest configured on the API server with a key held in a key management service. Check that the encryption configuration is active, that existing Secrets were rewritten after it was enabled, and that etcd backups are protected the same way.

Default state in etcd
Unencrypted
Secrets good practices

Broad list and watch on Secrets

Permission to list or watch Secrets exposes the contents of every Secret in a namespace, even when the user never asks for one value by name. Review the Roles and ClusterRoles bound to controllers, CI tooling and developers, and remove list and watch wherever a get on a named Secret would do. Cluster-wide bindings deserve the closest review because they reach every namespace.

Privileged pods

A privileged container or a pod that mounts host paths and host namespaces can reach the node and, from there, other workloads. Pod Security Admission enforces the Privileged, Baseline and Restricted standards per namespace, and the Restricted standard is the target for application namespaces. Confirm which namespaces enforce a level, and list the exceptions that still allow privileged workloads.

Pod Security Standards

Exposed API server endpoints

An API server reachable from networks that do not need administrative access gives attackers a target for credential attacks and unauthenticated probing. Restrict the endpoint on port 6443 to administrative networks or a bastion, place a load balancer in front of the control plane only where needed, and disable anonymous access. Verify the exposure from outside the intended network rather than trusting the firewall configuration on paper.

Unaudited admin access

Shared admin kubeconfigs and long-lived tokens make it impossible to tell who changed what in a cluster. Use an identity provider for human users, map groups to narrow RBAC roles, and enable audit logging on the API server with a policy that records requests to Secrets, RBAC objects and exec sessions. Confirm that audit logs leave the cluster and that someone reviews them.

Unsupported minor versions

Kubernetes maintains only the three most recent minor releases, so a cluster on an older minor version stops receiving security patches. Track the end-of-life date for each minor version your clusters run, and plan one-minor-version upgrades ahead of those dates. Include node pools, add-ons and the version skew rules in the schedule, because an upgrade that leaves kubelets behind still leaves those nodes exposed.

Supported minor releases
Three
Kubernetes releases

How to test that hardening holds and fails safely

Test each control by trying to break it, and record the result as evidence. Start with admission: apply a privileged test pod to a namespace labeled for the Restricted Pod Security Standard and confirm the API server rejects it. Then repeat in a Baseline namespace and in one left unlabeled, so the team sees exactly what enforcement covers. Use a throwaway namespace and a dedicated test identity so the check cannot touch production workloads. Keep the rejected request and the admission message in the test record, since those outputs show the control working rather than a label that merely exists.

For identity and data, run access review queries with kubectl auth can-i --list as representative users, groups and service accounts, and compare the output with the role design you approved. Confirm that no workload identity can list or watch Secrets across namespaces it does not need. For encryption at rest, create a test Secret with a known value, read the stored object directly from etcd using the etcdctl tooling, and confirm the value appears encrypted rather than as plain text. Then confirm that a Secret written before encryption was enabled is rewritten after a re-encryption pass. Ask your platform team which key management service and encryption provider configuration was deployed, because that determines what the stored data should look like.

For network policy, apply a default-deny policy to a test namespace, then attempt connections from a test pod to services that have no explicit allow rule. Confirm the connections fail and that the policy's allow rules admit only the paths you listed. Note that a policy only has effect when the CNI plugin enforces it, so verify enforcement before trusting the result. For audit logging, trigger known events such as a failed authentication, a denied request and a Secret read, then search the log store for each one within an agreed time window. Missing events are a finding, not a reason to skip the check. Retest after every change to the admission configuration, RBAC bindings, network policies, encryption settings or the audit policy, and after every control plane upgrade, because a version change can reset defaults. A penetration test or an independent cluster scan against a recognized benchmark, such as the CIS Kubernetes Benchmark, gives evidence that a team's own checks cannot. Confirm with the testing provider which scope and benchmark version their report will cite.

What to monitor, back up, patch and document after hardening

How do I monitor Kubernetes audit logs and set up alerts?

Enable audit logging on the kube-apiserver, send the logs off the control plane nodes, and alert on the events that signal misuse. Audit policy decides which requests are recorded and at what detail, so write it deliberately rather than logging everything at full request detail. Prioritize alerts for authentication failures, creation of cluster-admin bindings, changes to RBAC objects, access to Secrets from unexpected identities, and exec or attach into pods in sensitive namespaces. Confirm with your platform team that log retention meets your policy and that someone reviews the alerts, since logs that nobody reads do not support an investigation. Check the audit configuration flags and policy in the official documentation for your Kubernetes version before you rely on them.

How often should RBAC roles and service accounts be reviewed?

Review RBAC bindings and service accounts on a fixed schedule and after any major team change, not only when an incident occurs. The review should list every ClusterRoleBinding and RoleBinding, flag any grant of cluster-admin or wildcard verbs, and confirm that each human user maps to a current identity from your identity provider. Service accounts deserve their own pass: check which pods use the default service account, whether automatic token mounting is still needed, and whether any long-lived tokens remain. Keep the review output as a dated record with the approver's name, because that record is what auditors ask to see. Ask your team to define the review frequency in its access control procedure.

How do I schedule CIS Benchmark scans for Kubernetes?

Run a CIS Kubernetes Benchmark scan on a recurring schedule, after each upgrade, and after significant configuration changes. The CIS Kubernetes Benchmark covers upstream Kubernetes and several managed services, so select the benchmark version and profile that matches your distribution, because some recommendations do not apply to every platform. Record which findings you accept as not applicable and why, and keep each scan report as evidence with its date and cluster version. Scan tooling and its licensing vary, so confirm what your chosen scanner supports and whether it runs inside your network. Ask for a remediation owner and a due date for every failed check.

What should an etcd snapshot include for encryption key handling?

An etcd snapshot protects cluster state, but it also contains Secrets, so its encryption key handling matters as much as its schedule. Take snapshots with etcdctl snapshot save, store them off the cluster in encrypted storage, and restrict who can read them. Keep the encryption-at-rest key configuration separate from the snapshot storage, so a stolen snapshot alone does not expose Secrets. Document where the encryption key is held, who can rotate it, and how a restore would recover it, because a snapshot is useless if the key is lost. Restores use etcdutl, so rehearse a restore in a test environment and record how long it took and what failed. Confirm the exact procedure against the etcd documentation for your version.

How often should I upgrade Kubernetes within supported minor releases?

Plan upgrades to stay within the three most recent minor releases the Kubernetes project maintains, and move one minor version at a time. The project's release cycle runs about three times a year on roughly 14-week intervals, so a cluster that skips planned upgrades can fall out of support within a year. Patch releases within a minor version also carry security fixes, so schedule them more often than minor upgrades. Follow the version skew policy: upgrade kube-apiserver first, then the controller manager, scheduler and kubelets, and keep kubelets within the allowed number of minor versions behind the API server. Rehearse each upgrade in staging, check deprecated APIs and add-on compatibility, and record each change for audit purposes. Confirm the current support dates on the releases page before you set the calendar.

How do I keep Kubernetes configuration as code for audit evidence?

Store cluster and hardening configuration in version control and apply it through a reviewed pipeline, so every change has an author, a reviewer and a timestamp. Keep manifests for Pod Security Admission labels, RBAC bindings, network policies, admission policies and audit policy in the same repository, and treat cluster-level settings such as encryption configuration as tracked files. Use pull requests with approvals for changes, and block direct edits to production objects where your tooling allows it. Periodically compare the live cluster with the repository to catch drift, and retain the history as evidence. Auditors usually ask to trace a control from the written policy to the running configuration, so the repository should make that trace easy to follow.

Can DeployOpen help prepare Kubernetes monitoring and evidence after hardening?

DeployOpen can plan and implement the monitoring, backup, patching and documentation work inside your own infrastructure, and can prepare the systems and records that your compliance assessment requires. Scope, deliverables and timelines are agreed in writing before work starts, and ongoing upgrades and continuous testing are available as retainers. DeployOpen does not issue audit reports, attestations or certifications, so independent auditors and certification bodies make those judgments. A quote follows from the written scope, which should name the clusters, audit sources, backup targets and documentation you need.

Official Kubernetes sources to read alongside this work

Read the Pod Security Standards page before you write any namespace labels. It defines the three profiles, Privileged, Baseline and Restricted, that the built-in Pod Security Admission controller enforces per namespace. Decide which profile each namespace must meet, then test workloads against it in audit or warn mode before switching to enforce, so that existing deployments that run as root, mount host paths or request privileged containers surface as findings rather than failed rollouts. The page is the primary source for the profile definitions your assessors will ask you to map to. Confirm with your own platform team which namespaces need an exception and who approves it.

Read the Good practices for Kubernetes Secrets page next, since it explains why Secrets sit unencrypted in etcd by default and what to change. Its guidance on encryption at rest, on restricting get, list and watch on Secret objects through RBAC, and on external stores through the Secrets Store CSI Driver gives you the checklist to verify against your own cluster. Confirm which encryption provider your distribution supports and where its key material is held, because that answer decides who can recover data from an etcd backup.

Use the CIS Kubernetes Benchmark page as the reference for a structured configuration review. It is a consensus guide that covers upstream Kubernetes and several managed services, and it is available as a PDF for non-commercial use. Not every recommendation will apply to your distribution, so record which ones you accept, which you deviate from and why, and keep the scan output with those decisions as audit evidence. Confirm the benchmark version that matches your Kubernetes minor release before you start, since recommendations change between versions.

How DeployOpen scopes, hardens and hands over Kubernetes security work

DeployOpen plans, implements, tests, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including Kubernetes security hardening. Work starts from a written, fixed scope, is built and verified in the client's environment, and ends with documented controls and evidence that the client's own security and compliance teams can review.

How we scope

  • Review the current clusters, distributions, namespaces and workloads to set the hardening baseline
  • Agree in writing which clusters, namespaces and control areas the hardening covers
  • Confirm which Pod Security Standards, RBAC, network policy and audit logging targets apply to your workloads

How we build

  • Apply Pod Security Admission levels per namespace and test workloads against them before enforcement
  • Configure encryption at rest for Secrets, least-privilege RBAC roles and network policies in staged rollouts
  • Set audit log policy, API server exposure limits and patch procedures, then verify each control with test cases

How we hand over

  • Deliver configuration as code, with a record of each control, its owner and how it was verified
  • Map controls to the requirements your auditors and regulators ask about, without issuing any audit opinion
  • Train your platform and security teams to run checks, review audit logs and rotate keys

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the initial handover
  • Retest hardened clusters after upgrades, add-on changes or new namespaces to catch configuration drift
  • Confirm retainer scope, response expectations and retest frequency in the written agreement before work starts

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.