adamant-kite-43734
02/13/2025, 6:33 PMaloof-winter-17331
02/20/2025, 11:28 PMaloof-winter-17331
02/20/2025, 11:33 PMaloof-winter-17331
02/20/2025, 11:34 PMcreamy-pencil-82913
02/20/2025, 11:38 PMaloof-winter-17331
02/20/2025, 11:43 PMcreamy-pencil-82913
02/20/2025, 11:49 PMaloof-winter-17331
02/20/2025, 11:50 PMcreamy-pencil-82913
02/20/2025, 11:58 PMaloof-winter-17331
02/21/2025, 12:00 AMapiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: NetworkPolicy
metadata:
name: t1-allow-ingress-from-t2-and-t3
namespace: t1
spec:
podSelector:
matchLabels: {}
ingress:
- from:
- namespaceSelector:
matchExpressions:
- { key: name, operator: In, values: [kube-system, t1, t2, t3] }
where tN refers to tenant1..Naloof-winter-17331
02/21/2025, 12:01 AMcreamy-pencil-82913
02/21/2025, 12:50 AMpodSelector: Each NetworkPolicy includes a podSelector which selects the grouping of pods to which the policy applies. The example policy selects pods with the label "role=db". An empty podSelector selects all pods in the namespace.
You don’t have an empty podSelector. You have a podSelector with an empty label selector.thousands-beard-257
02/21/2025, 7:24 AMHave to say, Kube-OVN worked great, but powers-that-be nixed it because China.I’m disappointed to hear that an open-source project was nixed due to political reasons. It’s unfortunate that geopolitical factors are impacting the decision.
aloof-winter-17331
02/21/2025, 4:06 PMprehistoric-secretary-59586
05/14/2025, 5:13 PMthousands-beard-257
05/15/2025, 2:40 AMprehistoric-secretary-59586
05/15/2025, 12:36 PMprehistoric-secretary-59586
05/15/2025, 12:39 PMprehistoric-secretary-59586
05/15/2025, 12:41 PMprehistoric-secretary-59586
05/15/2025, 12:50 PMthousands-beard-257
05/16/2025, 7:56 AM