Apparently, applying this, on an K3s v1.28.1 cluster .. all nodes - ALSO the control-plane node >> the communication to the api is down.
What am I doing wrong?
late-needle-80860
09/29/2023, 12:24 PM
I can’t login to the nodes over ssh. So blocking that works but apparently have some very bad side effect. Api communication down.
late-needle-80860
09/29/2023, 12:25 PM
Someone in the know whether k3s uses ssh for internal communication? As far as I know it doesn’t … so I’m very surprised by this behavior.
late-needle-80860
09/29/2023, 12:25 PM
Thank you very much.
late-needle-80860
09/29/2023, 1:16 PM
Okay! I recovered “myself”. By going into recovery mode on the OS >> new user >> delete the policy with a good ol’ kubectl delete command … and we’re back.
I also, I think, now understand the root cause. It’s the way Cilium<>Kubernetes goes into enforcement mode - where. As soon as a policy applies to an endpoint … everything NOT mentioned in the rule is denied.