Menu

1 / 2

NetworkPolicy Is Not Workload Identity

DEV Community: kubernetes·Zen Mesh Inc.·9 days ago
#TxJblV0a
Long article (767 words) — no AI summary yet.
Reading 0:00
15s threshold

This is article 8 of 10 in Beyond Kubernetes Defaults . Read article 7: Desired State Is Not Enough first, or start with article 1 .

NetworkPolicy is one of the most useful security controls available to Kubernetes operators.

It reduces attack surface by limiting which network paths exist.

It does not tell the application who is on the other end of the connection.

Reachability answers one question

A policy can express something like:

Pods with label A may connect to service B on port 443

Enter fullscreen mode

Exit fullscreen mode

That is valuable.

It is still different from:

This exact cryptographic workload identity is calling service B under the current generation for an operation it is authorized to perform.

Enter fullscreen mode

Exit fullscreen mode

The second statement needs identity and authorization.

Labels are not cryptographic principals

Kubernetes labels are operational metadata controlled through the Kubernetes API.

They are excellent selectors for scheduling and policy.

For…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.