Your Kubernetes Cluster Is Running. But Is It Secure?
Six practical checks to uncover security gaps in a running Kubernetes cluster, from image scanning and RBAC to Secrets, policy enforcement and runtime detection.

Your deployments go green. Your pods are Running. Your dashboards look healthy. None of that tells you whether the cluster is secure.
Most Kubernetes security gaps don't come from clever attackers. They come from inconsistent configuration, manual processes and missing guardrails that nobody noticed because everything kept working.
Here are six questions every team should be able to answer about its clusters, with a quick way to check each one.
1. Are container images scanned before deployment?
Every image you run carries an operating system and libraries, and each can ship known vulnerabilities. If scanning happens after deployment, or not at all, you find out from an incident.
Scan an image in seconds with Trivy:
trivy image <registry>/<image>:<tag>2. Do RBAC permissions follow least privilege?
Over time, clusters collect cluster-admin bindings, wildcard roles and service accounts that can do far more than they need.
List who has cluster-admin:
kubectl get clusterrolebindings -o wide | grep cluster-adminCheck what a service account can actually do:
kubectl auth can-i --list --as=system:serviceaccount:<namespace>:<service-account>Every cluster-admin binding should have a named owner and a reason.
3. Are Secrets encrypted and managed securely?
Kubernetes Secrets are only base64-encoded by default. Anyone with read access to Secrets, or to etcd backups, can read them.
Check who can read Secrets in a namespace:
kubectl auth can-i get secrets -n <namespace> --as=system:serviceaccount:<namespace>:defaultEncrypt at rest: turn on etcd encryption, or use your cloud provider's KMS integration.
Keep secrets out of Git and images: use an external secrets manager or sealed secrets.
Rotate: have a tested process to rotate keys and passwords.
4. Are workloads protected against privilege escalation?
A single privileged container, or a pod running as root with host access, can turn an app bug into a node compromise.
Check which namespaces enforce Pod Security Standards:
kubectl get ns -L pod-security.kubernetes.io/enforceNamespaces with an empty value enforce nothing. Aim for "restricted" for application namespaces and "baseline" at minimum everywhere else.
5. Are security policies enforced automatically in every namespace?
Policies that live in a wiki are suggestions. Policies enforced by an admission controller are rules.
Check whether a policy engine such as Kyverno or OPA Gatekeeper is installed:
kubectl get validatingwebhookconfigurationsAlso check that namespaces have a default-deny NetworkPolicy, so pods can only talk to what they need:
kubectl get networkpolicy -A6. Can you detect suspicious runtime activity before it becomes an incident?
Even a well-configured cluster needs eyes at runtime: a shell spawned inside a web container, an unexpected outbound connection, a process reading service-account tokens.
Tools such as Falco watch for this behaviour and alert in real time. Check whether runtime detection is running in your cluster:
kubectl get pods -A | grep -i falcoWhy the gaps appear
Clusters rarely start insecure. They drift. A quick fix becomes permanent, a new namespace skips the policy, a service account gets broad rights "just for now". Without automated guardrails, every deploy is a chance to drift further.
Build security into the platform
At Turf Dev, we build security into every layer instead of adding it after launch:
Provisioning: clusters created from code with secure defaults.
CI/CD: image scanning and policy checks before anything deploys.
Cluster: least-privilege RBAC, Pod Security, NetworkPolicies and encrypted Secrets.
Runtime: detection and alerting on suspicious behaviour.
Continuous compliance: regular rescans so drift is caught early.
How Turf Dev can help
If you had to audit your Kubernetes clusters today, what would concern you most? Turf Dev's Kubernetes security audit answers these six questions with evidence, gives you a prioritised fix list, and rescans after hardening to prove the gaps are closed. Reach out at turfdev.in.
1 of 2 sections shown



Discussion
Have a question or something to add? Share it below.
No comments yet. Be the first to join the discussion.