You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the reproduce example I took a default deny policy. Initially I observed this with policies similar to the following. So its not just a problem on default deny.
When only the all-to-myapp policy is active it still works. Only after applying the NetworkPolicy which restricts the egress the liveness probe starts to fail.
On testing this I always restarted the pod as otherwise the policies did not become active.
@aojea we should probably compare the behavior of this to other implementations? It sort of makes sense that a default deny policy wouldn't allow any traffic.
What happened:
NetworkPolicies let liveness probes fail.
What you expected to happen:
NetworkPolicies do not affect liveness probes.
How to reproduce it (as minimally and precisely as possible):
For the reproduce example I took a default deny policy. Initially I observed this with policies similar to the following. So its not just a problem on default deny.
When only the
all-to-myapp
policy is active it still works. Only after applying the NetworkPolicy which restricts the egress the liveness probe starts to fail.On testing this I always restarted the pod as otherwise the policies did not become active.
Environment:
kind v0.27.0 go1.24.0 linux/amd64
docker info
:kubectl version
):The text was updated successfully, but these errors were encountered: