apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: egress-router-redirect (1)
spec:
config: '{
"cniVersion": "0.4.0",
"type": "egress-router",
"name": "egress-router",
"ip": {
"addresses": [
"192.168.12.99/24" (2)
],
"destinations": [
"192.168.12.91/32" (3)
],
"gateway": "192.168.12.1" (4)
}
}'