apiVersion: v1
kind: Pod
metadata:
name: egress-1
labels:
name: egress-1
annotations:
pod.network.openshift.io/assign-macvlan: "true" (1)
spec:
initContainers:
- name: egress-router
image: registry.redhat.io/openshift4/ose-egress-router
securityContext:
privileged: true
env:
- name: EGRESS_SOURCE (2)
value: <egress_router>
- name: EGRESS_GATEWAY (3)
value: <egress_gateway>
- name: EGRESS_DESTINATION (4)
value: <egress_destination>
- name: EGRESS_routeR_MODE
value: init
containers:
- name: egress-router-wait
image: registry.redhat.io/openshift4/ose-pod