Issue requested by kubeovn/kube-ovn#3408 (comment).
Motivation
In kubeovn/kube-ovn#3408 I noticed that it is not currently possible to combine natOutgoing: true + private: true.
The effect that I would like to achieve is internal isolation between the subnets, while also allowing the pods to access addresses on the internet (e.g. for downloading datasets) via NAT-ing (so that external internet addresses cannot initiate any connection with a pod inside the cluster).
Constraints
I don't know beforehand which CIDRs the pods need to access/not to access.
Basically the pods should be able to access the whole "external world"/internet, and I don't have a predefined list of all CIDRs inside the cluster (new subnets are created and deleted dynamically all the time).
Documentation Request
One of the OVN contributors suggested in kubeovn/kube-ovn#3408 (comment) that it is possible to achieve that via ACLs. However I find that it is very hard to figure that out by myself, and I imagine that other people might be struggling with that too.
It would be nice if the docs contain examples of how to achieve this by manipulating the ACLs.
Issue requested by kubeovn/kube-ovn#3408 (comment).
Motivation
In kubeovn/kube-ovn#3408 I noticed that it is not currently possible to combine
natOutgoing: true+private: true.The effect that I would like to achieve is internal isolation between the subnets, while also allowing the pods to access addresses on the internet (e.g. for downloading datasets) via NAT-ing (so that external internet addresses cannot initiate any connection with a pod inside the cluster).
Constraints
I don't know beforehand which CIDRs the pods need to access/not to access.
Basically the pods should be able to access the whole "external world"/internet, and I don't have a predefined list of all CIDRs inside the cluster (new subnets are created and deleted dynamically all the time).
Documentation Request
One of the OVN contributors suggested in kubeovn/kube-ovn#3408 (comment) that it is possible to achieve that via ACLs. However I find that it is very hard to figure that out by myself, and I imagine that other people might be struggling with that too.
It would be nice if the docs contain examples of how to achieve this by manipulating the ACLs.