Network policy not working with kuberntes and oracle connection

8/12/2019

Defined a network policy for my spring boot app Egreess allowed ip of the oracle database and applied the network policy to the container but connection keeps failing? Any help appreciated..

-- Dhruv
kubernetes

1 Answer

8/12/2019

NetworkPolicy object requires CNI. Be sure that you have one and enforce default deny all traffic. If you haven't you can start here: https://kubernetes.io/docs/concepts/services-networking/network-policies/

-- Akın Özer
Source: StackOverflow