Kubernetes network policy for apiserver with linkerd #14123
Unanswered
matt-mercer
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
before meshing a namespace with linkerd , I was able to use a kubernetes network policy like below, to allow egress to the api server, now that linkerd is involved , I can no longer access the api server when the network policy is in-place .. ( there are other egress rules in place to allow outbound dns and access to linkerd namespace, this is just the apiserver snippet )..
With no network policies in place, everything is fine ... but when I apply the network policies, I get a connection error ..
in the logs for linkerd-proxy I see
I've also tried adding network policies for explict egress to the API server IP e.g.
but no joy
I have also considered the
config.linkerd.io/skip-outbound-ports: 443
... but as a need to use anEgressNetwork
on some traffic from 443 .. I'm thinking this isn't really an optionany help appreciated ..
Beta Was this translation helpful? Give feedback.
All reactions