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
Controller] so that it accepts both route and ingress objects. If configured,
154
+
the same rules apply for claiming a domain for a namespace based on the creation
155
+
time of the object. For example, the oldest route winning against any other
156
+
claimants wanting to use the same namespace.
157
+
158
+
For example, ownership of routes is based on the claims made for that host name with the same namespace. The oldest route wins against any other claims.
159
+
160
+
While this makes the router compatible with Kubernetes ingress
161
+
objects, some caveats exist:
162
+
163
+
* Ingress objects store the keys and certificates in secrets, so the router needs permission to read all secrets in the system.
164
+
* Ingress objects only support edge termination for *https* routes.
165
+
166
+
To configure an existing router to have Ingress support (assuming the default
167
+
name of `router` for the deployment configuration and the service-account):
168
+
169
+
. Set the `ROUTER_ENABLE_INGRESS` environment variable to `true`:
Copy file name to clipboardExpand all lines: architecture/topics/router_environment_variables.adoc
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ connections (and any time HAProxy is reloaded), the old HAProxy processes
45
45
will "linger" around for that period. xref:time-units[(TimeUnits)]
46
46
|`ROUTER_DENIED_DOMAINS` | | A comma-separated list of domains that the host name in a route can not be part of. No subdomain in the domain can be used either. Overrides option `ROUTER_ALLOWED_DOMAINS`.
47
47
|`ROUTER_ENABLE_COMPRESSION`| | If `true` or `TRUE`, compress responses when possible.
48
+
|`ROUTER_ENABLE_INGRESS`| | If `true` or `TRUE`, look at both Ingress objects and Route objects.
48
49
|`ROUTER_LISTEN_ADDR`| 0.0.0.0:1936 | Sets the listening address for xref:../../install_config/router/default_haproxy_router.adoc#exposing-the-router-metrics[router metrics].
49
50
|`ROUTER_LOG_LEVEL` | warning | The log level to send to the syslog server.
50
51
|`ROUTER_MAX_CONNECTIONS`| 20000 | Maximum number of concurrent connections.
0 commit comments