Industry Leadership
Strategic Initiatives
CSA's strategic programs driving innovation in AI, cloud, and Zero Trust.
A public-interest 501(c)(3) dedicated to secure and trustworthy AI.




Industry Leadership
Strategic Initiatives
CSA's strategic programs driving innovation in AI, cloud, and Zero Trust.
A public-interest 501(c)(3) dedicated to secure and trustworthy AI.

CSAI FoundationChaptersEventsBlog
Share your insights on how organizations assess, monitor, and manage third-party risks. Take the short survey →

What Replaces the Network Perimeter in Kubernetes

Published 11/09/2026

What Replaces the Network Perimeter in Kubernetes
Written by Alex Vakulov.

For years, enterprise network security centered on trusted internal zones, controlled boundaries, and centralized inspection of traffic crossing between them. Firewalls enforced access between zones, IP addresses helped identify systems, and central inspection points provided visibility into important traffic flows.

Kubernetes changes the conditions that made that model effective. Pods are replaceable and their IP addresses can change. Applications are split across services, while workloads communicate directly with other workloads, Kubernetes APIs, cloud services, databases, and external APIs. Many security-relevant interactions therefore never cross a traditional network edge.

The security boundary has not disappeared. It has become distributed.

Traditional network controls still matter at ingress, egress, and broader network boundaries, but they no longer mediate every workload interaction.

Functions once concentrated around the perimeter are now distributed across several control layers:

  • NetworkPolicy constrains workload communication.
  • Workload identity and credential controls establish which workload is making a request and which credentials it can obtain.
  • Kubernetes RBAC, application authorization, and cloud IAM determine what that identity is allowed to do.
  • Admission controls determine whether requested workloads and configurations are allowed into the cluster.
  • Service security can authenticate workloads and encrypt service communication.
  • Runtime security provides visibility into workload behavior after deployment.
  • Telemetry and observability connect network, identity, API, policy, and runtime evidence during investigation.

This article maps those distributed controls to the security functions they now perform, helping teams understand where enforcement belongs, where gaps can emerge, and how to evaluate the effective security boundary around a Kubernetes workload.

 

NetworkPolicy Moves Segmentation Inside the Cluster

The first control is network segmentation. Kubernetes NetworkPolicy defines which traffic is allowed to and from selected pods, including communication between workloads and to external destinations. Native NetworkPolicy operates primarily at layers 3 and 4, using selectors, IP ranges, ports, and protocols. Enforcement depends on a network implementation that supports NetworkPolicy.

A simple application might require:

Source

Destination

Decision

frontend

API

Allow

API

database

Allow

frontend

database

Deny

dev

production

Deny

This moves segmentation closer to individual workloads rather than relying mainly on broader subnet boundaries.

In practice, teams often start by observing real application dependencies, then introduce default-deny policies where appropriate and explicitly allow required paths. Applying restrictive policies before understanding those dependencies can break production traffic, particularly in older clusters where service communication was never documented. For example, if a workload uses an external service for transferring large files, the workload's required outbound connections must be accounted for when defining egress rules.

The important architectural distinction is between the Kubernetes NetworkPolicy model itself and capabilities provided by the networking implementation. Some implementations extend the model with additional policy and visibility features. Cilium, for example, supports standard Kubernetes NetworkPolicy and provides its own policy resources with capabilities such as layer 7 controls. Those extended features should not be confused with the capabilities of the native NetworkPolicy API itself.

NetworkPolicy takes over an important part of the segmentation role once associated with network firewalls. But controlling connectivity does not establish workload identity or determine what an allowed workload is authorized to do.

Connectivity is only the first decision. The next is: who is making the request?

 

Workload Identity and Credentials Replace Trust Based on Location

Traditional architectures often treated network location as a rough proxy for identity. Traffic originating from an application network could receive more trust than traffic arriving from outside it.

That assumption becomes unreliable in Kubernetes, where workloads are dynamic and IP addresses are temporary. Security decisions therefore need an identity that remains meaningful as the workload moves or is recreated.

Kubernetes service accounts provide identities that workloads can use when interacting with the Kubernetes API. Modern Kubernetes uses projected service account tokens that are time-limited and rotated by the kubelet, rather than relying on the older pattern of long-lived service account token Secrets.

Cloud platforms extend the same principle to cloud resources. Workload identity mechanisms allow Kubernetes workloads to obtain scoped cloud permissions without embedding permanent cloud access keys in containers, the same goal endpoint privilege management pursues for human users: no standing access, credentials scoped and granted only when needed.

The important shift is from asking where a request originated to asking which workload is making it.

That also changes how credentials should be handled. Long-lived credentials baked into images, stored in deployment manifests, or broadly exposed through environment configuration weaken workload isolation. Where possible, teams should prefer short-lived credentials and narrowly scoped permissions over distributing permanent access keys.

Workload identity can also support authenticated service communication. Where required, teams can use mutual TLS to authenticate workloads and encrypt traffic between services. A service mesh is one way to provide this capability, but it should be adopted only when the security and operational requirements justify the added complexity.

A useful security review question is: If this pod is compromised, which identities, permissions, and credentials does the attacker gain?

A pod may have tightly restricted network connectivity while still carrying a cloud identity capable of accessing sensitive storage, secrets, or other resources. In that case, network segmentation alone provides limited containment.

 

Authorization Moves Above the Network

Allowing a network connection does not mean every action over that connection should be allowed. In Kubernetes environments, authorization typically has to be evaluated at several levels.

 

Kubernetes API Authorization

Kubernetes RBAC controls which users, groups, and service accounts can perform operations on Kubernetes resources. Roles and ClusterRoles define permissions, while RoleBindings and ClusterRoleBindings assign those permissions to subjects.

The practical risk is excessive control plane privilege. A service account that only needs to read a ConfigMap should not also be able to create workloads, read unrelated Secrets, or modify cluster-wide resources. Those permissions can materially expand the impact of a compromised workload.

 

Application API Authorization

Application services have their own authorization requirements. One service may legitimately be able to reach another while still being restricted to specific operations, data objects, or business functions. Those decisions may depend on scopes, object-level authorization, application roles, API gateway policy, or safeguards against abuse patterns such as fake account creation. Network connectivity alone cannot express that level of permission.

 

Cloud API Authorization

Kubernetes workloads may also call cloud provider APIs. Here, effective access depends on cloud IAM roles, resource policies, workload identity, temporary credentials, and the permissions attached to them.

This distinction is fundamental: NetworkPolicy determines whether workload A can reach workload B. Authorization determines which actions workload A is allowed to perform once it reaches the target.

For practitioners, the key review question is therefore not just whether a path exists, but what actions become possible along that path and which identities grant them.

Confusing reachability with authorization is how apparently well-segmented environments still end up with excessive effective privilege.

 

Admission Control Creates a Boundary Before Runtime

Authorization determines whether an identity may create or modify Kubernetes resources. Admission control adds another decision: should the requested configuration be allowed into the cluster?

Admission controllers evaluate API requests after authentication and authorization but before the requested object is persisted. They can therefore prevent unsafe configurations from reaching runtime.

Pod Security Admission can enforce Kubernetes Pod Security Standards such as Baseline and Restricted. These standards cover controls such as privileged containers, host namespaces, privilege escalation, Linux capabilities, and other security-sensitive pod settings.

Organizations can apply additional policies for requirements that fall outside those standards. Kubernetes provides ValidatingAdmissionPolicy for declarative validation, while external policy engines such as Kyverno and OPA Gatekeeper can support broader policy requirements where needed. The same policy engines increasingly enforce checks that originate outside the cluster entirely, such as rejecting any image that lacks a valid signature or verified build provenance, extending admission control into software supply chain security.

Typical admission rules may:

  • reject unnecessary privileged workloads
  • restrict host namespace access
  • limit dangerous capabilities or volume configurations
  • require approved workload settings
  • enforce required security metadata

The practitioner question is straightforward: If an authorized user or service account submits an unsafe workload, what prevents that configuration from reaching runtime?

This is why part of the Kubernetes security boundary exists before the workload ever runs.

 

Runtime Context Shows What Static Policy Cannot

Preventive controls define what a workload may be allowed to run, access, and do. They cannot show whether the running workload is behaving as expected.

Consider a payment service that is legitimately allowed to query its database and call external processors as part of its payment infrastructure. That connection may be fully consistent with NetworkPolicy and application design. But if the same pod unexpectedly starts a shell, reads credential files, probes other services, and then connects to the database, the meaning of that allowed connection changes.

Runtime security adds this behavioral context. It can observe signals such as process execution, system calls, sensitive file access, privilege changes, and unexpected network activity. Depending on the implementation, this visibility may come from kernel telemetry, including eBPF-based mechanisms.

The practitioner question is: Is this workload doing something that its static permissions technically allow, but its expected behavior does not justify?

Runtime context complements preventive controls rather than replacing them. NetworkPolicy, least privilege, and secure workload configuration still define what should be possible. Runtime visibility helps determine what is actually happening.

 

East-West Visibility Replaces the Single Chokepoint View

Traditional perimeter architectures had an operational advantage: many important flows passed through a relatively small number of observation points.

Kubernetes distributes traffic and the evidence needed to investigate it. A security investigation may require context from:

  • cluster and namespace
  • workload and pod
  • service account or workload identity
  • source and destination service
  • network policy state or enforcement context
  • Kubernetes API activity
  • cloud IAM activity
  • process and runtime behavior

Raw IP addresses are often insufficient as the primary investigation context because workloads can be short-lived and addresses can change as workloads are recreated.

The important requirement is therefore correlation, not simply more telemetry. Security teams need to connect network activity to workload identity, policy context, API actions, and runtime behavior.

A useful investigation should be able to answer: Which workload communicated with which service, using which identity, under which policy, and what happened next?

That is the visibility model a distributed security boundary requires. The challenge is less about collecting another log stream and more about reconstructing one security event across several control and telemetry domains.

 

The New Kubernetes Security Boundary at a Glance

The perimeter has effectively become a set of related security decisions.

Security question

Primary control area

Example mechanisms

Can these workloads communicate?

Network segmentation

Kubernetes NetworkPolicy

Which workload is requesting access?

Workload identity

Kubernetes service accounts, cloud workload identity

Is service communication authenticated?

Service security

mTLS, service mesh where appropriate

May this identity perform this action?

Authorization

Kubernetes RBAC, application authorization, cloud IAM

Should this workload configuration be admitted?

Admission control

Pod Security Admission, ValidatingAdmissionPolicy, Gatekeeper, Kyverno

Which credentials can the workload obtain?

Credential controls

Projected service account tokens, workload identity, temporary credentials

Is the workload behaving as expected?

Runtime security

Process, system call, file, privilege, and network telemetry

Can we reconstruct what happened?

Security visibility and correlation

Network, identity, Kubernetes API, cloud IAM, policy, and runtime telemetry

 

The Hard Part Is the Seams

Distributed controls provide more precise enforcement, but they also create a coordination problem. In most organizations, no single team owns the entire security boundary.

Platform or network teams may manage cluster connectivity. Application teams own business authorization. Security teams may manage admission policy, runtime detection, and credential lifecycle. As a result, individual controls can look sound while the path between them remains dangerous.

A pod may have restrictive NetworkPolicy but an overprivileged cloud identity. A workload may pass admission checks while using a service account with excessive Kubernetes permissions. A runtime alert may identify suspicious behavior without showing which cloud privileges the affected workload can exercise.

These gaps matter because attackers move across control boundaries. Compromise of one workload can become access to another service, a Kubernetes API action, a cloud privilege, or a sensitive credential.

Kubernetes security therefore cannot be evaluated simply by checking whether individual controls are deployed. Teams need to understand whether those controls produce a coherent, effective boundary around the workload.

The most dangerous gaps often exist between controls rather than inside any single control. That makes ownership, policy alignment, exception handling, and telemetry correlation part of the security architecture itself.

 

Apply the Model to One Critical Workload

Teams do not need to redesign the entire platform to test this model. Start with one business-critical workload and trace its effective security boundary. Ask:

  1. Which workloads, external services, and cloud resources can it reach?
  2. Which Kubernetes service account or workload identity does it use?
  3. Which Kubernetes and cloud permissions does that identity have?
  4. Which secrets, tokens, or other credentials can the workload obtain?
  5. Which admission policies constrain how it can be deployed?
  6. Which runtime signals would indicate unexpected behavior?
  7. Can the security team reconstruct activity across network, identity, API, policy, and runtime telemetry?

Then assume the workload has been compromised: What is the next reachable asset, credential, or privilege? That question exposes the effective attack path across the controls described in this article. It also reveals where apparently strong individual controls fail to contain compromise when combined.

 

What Actually Replaced the Perimeter?

No single control replaced the network perimeter. In Kubernetes, the effective boundary is created by the combined effect of connectivity, identity, authorization, admission, and runtime controls.

The real test is whether those controls contain compromise when a workload is breached.

That is where Kubernetes security succeeds or fails: at the points where distributed controls reinforce each other or leave an attack path open.

Unlock Cloud Security Insights

Unlock Cloud Security Insights

Choose the CSA newsletters that match your interests:

Subscribe to our newsletter for the latest expert trends and updates