OpenShift BareMetal Cluster 4.15.3. It is required that all pods in a particular namespace use certain outgoing addresses. I have set the following configuration for EgressIP:
apiVersion: k8s.ovn.org/v1
kind: EgressIP
metadata:
name: egressip-test
spec:
egressIPs:
- 10.30.30.43
- 10.30.30.44
- 10.30.30.45
- 10.30.30.46
namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: test
ping is ok but I get a “No route to host” error when accessing the target server. How can I set the gateway 10.30.30.43 for connections from these EgressIPs?