This Kubernetes security checklist gives platform, DevOps, and application teams a repeatable way to review production clusters. It covers access, workload identity, admission controls, images, network policy, secrets, runtime protection, logging, and incident response, with commands and evidence to collect during each review.
Overview
Kubernetes security is not a one-time configuration task. A cluster changes whenever a namespace is added, a workload is deployed, a controller is upgraded, or an identity gains new permissions. A useful review therefore checks both the technical control and the evidence that shows the control is operating as intended.
Use this checklist for quarterly security reviews, before an audit, after a major cluster change, and during the onboarding of a new namespace or team. Adapt the depth to your environment. A development cluster may need a lighter process, while a production cluster handling sensitive data should have documented ownership, approval paths, and incident procedures.
Record each item in a simple register with five fields: control, owner, status, evidence, and remediation date. Avoid treating a passing configuration scan as proof that the surrounding process is safe. For example, a namespace may have a network policy while still allowing more traffic than the application requires, and an image may be signed while being deployed from an unapproved registry.
What to track
1. Cluster access and RBAC
Start with the identities that can reach the Kubernetes API and the permissions they receive. Review human users, service accounts, CI/CD identities, cloud integrations, and break-glass accounts. Look for broad use of cluster-admin, wildcard permissions, unused bindings, and service accounts shared by unrelated workloads.
Useful review commands include:
kubectl auth can-i --list --as=system:serviceaccount:namespace:service-account
kubectl get rolebindings,clusterrolebindings -A -o wide
kubectl get serviceaccounts -A
Collect the current RBAC manifests, identity provider configuration, access review output, and a list of approved administrators. Confirm that privileged access is time-bound or separately controlled where practical, and that audit logs identify the person or automation making a change.
2. Workload identity and pod security
Check that pods use dedicated service accounts rather than a default account when they need API access. Review whether tokens are mounted unnecessarily, whether containers run as non-root users, and whether workloads are allowed to use privileged mode, host networking, host paths, or host process namespaces.
Namespace-level Pod Security Admission labels or an equivalent policy should match the risk of the workloads in that namespace. Inspect labels and workload security contexts:
kubectl get ns --show-labels
kubectl get deploy,statefulset,daemonset -A -o yaml
Evidence should include the approved pod security profile, exceptions with named owners, and test results from representative deployments. Exceptions should be narrow and documented rather than silently becoming the default.
3. Admission policies and change control
Admission controls can prevent unsafe objects from entering the cluster. Depending on your platform, check policies for allowed registries, required labels, resource requests and limits, security contexts, approved capabilities, host access, and image signature or provenance requirements.
Review both the policy definitions and their enforcement mode. A policy running only in audit or warning mode may provide useful visibility but does not block a risky deployment. Capture recent policy violations, the associated owners, and the process for approving an exception. Policy changes should pass through version control and the same review path as application or infrastructure changes.
4. Image security and software supply chain
Track where images come from, how they are built, and how they are selected for deployment. Prefer approved registries, pinned image references, and a documented process for replacing vulnerable or unsupported base images. Tags such as latest make it harder to determine exactly what is running; immutable digests provide a clearer deployment record.
Review image scanning results, base-image ownership, SBOM availability, signing or attestation verification, and CI/CD controls that prevent unapproved images from reaching production. Keep the build identity and source revision associated with each release. The software supply chain security guide provides a broader framework for SBOMs, signing, and provenance.
5. Network policy and service exposure
Determine whether namespaces and workloads have a default-deny posture appropriate to their role. Then document the traffic that must be allowed: ingress from an application gateway, calls to specific services, DNS resolution, telemetry, and approved external dependencies. A Kubernetes network policy should express those relationships rather than merely exist as a checkbox.
kubectl get networkpolicy -A
kubectl describe networkpolicy -n namespace policy-name
Check ingress objects, load balancers, node ports, and service types for unintended exposure. Verify that policy behavior is tested from both permitted and denied paths. Save policy manifests, connectivity test results, and an application dependency diagram as evidence.
6. Secrets and encryption
List how applications receive credentials, certificates, tokens, and encryption keys. Kubernetes Secret objects are not a complete secrets-management strategy by themselves. Review encryption at rest, access permissions, rotation ownership, external secret integrations, and the risk of credentials appearing in manifests, logs, container arguments, or CI/CD output.
Check for old credentials, unused secrets, and service accounts that retain access after a team or workload changes. Do not paste secret values into tickets or review documents. Instead, record metadata such as the secret name, owner, last rotation date, storage system, and rotation procedure. See the Kubernetes secrets management guide for a focused review of storage, rotation, and auditing.
7. Runtime controls, logging, and detection
Define which runtime events require attention: unexpected shell execution, sensitive host access, unusual process behavior, privilege changes, suspicious network connections, or a sudden increase in failed authentication. The exact tooling will vary, but the review should confirm that signals reach a monitored destination and have an assigned response owner.
Verify Kubernetes audit logging for administrative activity, control-plane and node log retention, container log collection, and time synchronization. Check that logs do not expose credentials or unnecessary personal data. Record sample events showing that an RBAC change, workload deployment, and policy denial can be traced from detection to responsible identity.
8. Backups, recovery, and incident response
Security controls are incomplete if the team cannot recover safely after a compromise. Track backup coverage for cluster state, application data, and critical configuration. Confirm that backups are protected from the same identities that administer the cluster and that restoration has been tested in an isolated environment.
Maintain a runbook for suspected credential theft, malicious workload deployment, exposed service, and compromised node. It should identify who can isolate a namespace, revoke credentials, preserve evidence, communicate impact, and restore service. Link the checklist to the team’s broader SRE runbooks and service ownership records.
Cadence and checkpoints
Use different review depths for different time horizons:
- Per deployment: validate image source or digest, required security context, policy admission result, resource boundaries, and secret references.
- Monthly: review critical vulnerabilities, privileged workloads, new RBAC bindings, exposed services, policy violations, and open security exceptions.
- Quarterly: perform the full checklist across every production cluster and namespace, test selected network-deny rules, review break-glass access, and verify backup restoration or incident exercises.
- After a major change: repeat relevant checks after a Kubernetes upgrade, identity-provider change, new ingress path, migration to a new registry, or adoption of a new admission controller.
Use a stable snapshot date for each review. Save command output, policy versions, scanner reports, exception approvals, and remediation tickets together. This creates a useful comparison between review periods instead of a collection of unrelated screenshots.
How to interpret changes
A rising number of findings does not always mean security has deteriorated. A new scanner, broader namespace coverage, or stricter policy may reveal issues that were already present. Compare findings with the scope and tooling used during the previous review before drawing conclusions.
Prioritize changes by exposure and exploitability rather than raw count. A newly exposed administrative endpoint, an overprivileged workload with access to sensitive data, or a credential with no rotation owner deserves immediate attention. A missing non-sensitive label may be assigned to normal engineering work, provided the control is not being used to enforce a security boundary.
For each unresolved item, record the affected asset, likely impact, temporary mitigation, owner, due date, and validation method. Close a finding only after retesting the control. For example, after adding a network policy, verify both allowed application traffic and blocked traffic; after tightening RBAC, confirm that required automation still works without restoring broad permissions.
When to revisit
Keep this Kubernetes security checklist as a living review document. Revisit it at least quarterly and whenever the cluster’s trust boundaries change. Update it after Kubernetes version upgrades, changes to Pod Security Admission defaults or policy tooling, new image-signing requirements, changes in cloud identity integration, or the introduction of a new ingress, service mesh, storage system, or secrets provider.
Set a calendar reminder with an accountable owner rather than relying on memory. Before the next review, export current RBAC bindings, namespace labels, network policies, workload security contexts, image inventory, admission findings, and recent audit events. Compare them with the previous snapshot and open remediation work for meaningful regressions.
As a practical starting point, schedule a 30-minute monthly review of high-risk changes and a deeper quarterly assessment. Use the cluster upgrade runbook when version changes trigger a review, and pair security findings with service ownership information from your catalog. The goal is not to produce a perfect checklist score; it is to maintain clear control over who can change the cluster, what workloads can do, what traffic they can receive, and how the team will respond when assumptions fail.