[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Network polices 3.9

Seems to be supported [1][2]. I wonder does this feature depend on the network plugin used in the cluster. i.e. does cluster need to use the network policy plugin instead of the default?

[1] https://docs.openshift.org/latest/rest_api/apis-networking.k8s.io/v1.NetworkPolicy.html [2] https://docs.openshift.org/3.9/rest_api/apis-networking.k8s.io/v1.NetworkPolicy.html

Łukasz Strzelec wrote on 06/18/18 15:49:

I want to have working ingress network policy based on IP BLOCK, as I find at K8S. Does OpenShift can do the same ? I can't find  IP BLOCK definition in API in 3.9 version.

When I declare following  policy  - it is not workin as suppose to work ?
How to achive the same in openshift ?

|apiVersion:networking.k8s.io/v1 <http://networking.k8s.io/v1>kind:NetworkPolicymetadata:name:test-network-policynamespace:defaultspec:podSelector:matchLabels:role:dbpolicyTypes:-Ingress-Egressingress:-from:-ipBlock:cidr:|

Thx in advance.

users mailing list
users lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]