apiVersion: network.operator.openshift.io/v1
kind: Egressrouter
metadata:
name: <egress_router_name>
namespace: <namespace> (1)
spec:
addresses: [ (2)
{
ip: "<egress_router>", (3)
gateway: "<egress_gateway>" (4)
}
]
mode: Redirect
redirect: {
redirectRules: [ (5)
{
destinationIP: "<egress_destination>",
port: <egress_router_port>,
targetPort: <target_port>, (6)
protocol: <network_protocol> (7)
},
...
],
fallbackIP: "<egress_destination>" (8)
}