Files
my-rook-config/deploy/examples
Oded Viner 8ae7637750 security: restrict mgr NetworkPolicy to ingress-only
The MGR watch-active sidecar needs Kubernetes API access to
read configmaps and monitor active-standby state. The API
server is host-networked and cannot be targeted by
pod/namespace selectors, making egress restrictions
impractical.

Switch the rook-ceph-mgr NetworkPolicy from egress-only to
ingress-only:
- Allow MON/OSD/MDS/tools pods on ports 6800-7300
- Allow Prometheus scraping on port 9283
- Remove egress rules that blocked API server access and
  caused CrashLoopBackOff in the watch-active container

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 9cec9780fd)
2026-06-30 17:41:34 +00:00
..
2021-11-30 09:12:53 +01:00
2026-05-12 12:49:21 -10:00
2021-11-30 09:12:53 +01:00
2024-02-07 17:36:59 -07:00
2021-11-30 09:12:53 +01:00
2021-11-30 09:12:53 +01:00
2021-11-30 09:12:53 +01:00

For documentation on running Rook in your Kubernetes cluster see the Kubernetes Quickstart Guide