Closed mx-zheng closed 3 years ago
Hello. I don't think this would work out of the box. However, maybe you could use Services with Endpoints to achieve this, see https://kubernetes.io/docs/concepts/services-networking/service/#services-without-selectors. I have never attempted it myself, but it looks like it may work. IIUIC you would need to setup IPs on your OVS bridges to allow routing from host to the OVS based network. Then the traffic would go out of a pod (through its primary interface, no OVS), on the host kube-proxy would send it out through the OVS bridge. I may be missing something though.
Hi guys,
k8s service is based on the kube-proxy and iptables . I don't know whether service is available while ovs-cni is enable in K8s ?
for example , I configure one service called myservice . Can it work normally with ovs-cni ?