apiVersion: k8s.ovn.org/v1
kind: EgressService
metadata:
name: <egress_service_name> (1)
namespace: <namespace> (2)
spec:
sourceIPBy: <egress_traffic_ip> (3)
nodeSelector: (4)
matchLabels:
node-role.kubernetes.io/<role>: ""
network: <egress_traffic_network> (5)