You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the previous command, the `egress-routes` value is the name of the `ConfigMap` object to create and `my-egress-destination.txt` is the name of the file that the data is read from.
54
+
+
55
+
[TIP]
56
+
====
57
+
You can alternatively apply the following YAML to create the config map:
58
+
59
+
[source,yaml]
60
+
----
61
+
apiVersion: v1
62
+
kind: ConfigMap
63
+
metadata:
64
+
name: egress-routes
65
+
data:
66
+
destination: |
67
+
# Egress routes for Project "Test", version 3
68
+
69
+
80 tcp 203.0.113.25
70
+
71
+
8080 tcp 203.0.113.26 80
72
+
8443 tcp 203.0.113.26 443
73
+
74
+
# Fallback
75
+
203.0.113.27
76
+
----
77
+
====
54
78
55
79
. Create an egress router pod definition and specify the `configMapKeyRef` stanza for the `EGRESS_DESTINATION` field in the environment stanza:
0 commit comments