Skip to content

Commit 0df6f40

Browse files
author
Bob Furu
authored
Merge pull request #44435 from Amrita42/CFE-10-374
CFE-10/374: binding options
2 parents ea5501f + 6abf9eb commit 0df6f40

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

modules/nw-ingress-controller-configuration-parameters.adoc

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,35 @@ If empty, the default value is `ingress.config.openshift.io/cluster` `.spec.doma
3636

3737
If not set, the default value is based on `infrastructure.config.openshift.io/cluster` `.status.platform`:
3838

39-
* AWS: `LoadBalancerService` (with External scope)
39+
* Amazon Web Services (AWS): `LoadBalancerService` (with External scope)
4040
* Azure: `LoadBalancerService` (with External scope)
41-
* GCP: `LoadBalancerService` (with External scope)
41+
* Google Cloud Platform (GCP): `LoadBalancerService` (with External scope)
4242
* Bare metal: `NodePortService`
4343
* Other: `HostNetwork`
44+
+
45+
[NOTE]
46+
====
47+
`HostNetwork` has a `hostNetwork` field with the following default values for the optional binding ports: `httpPort: 80`, `httpsPort: 443`, and `statsPort: 1936`.
48+
With the binding ports, you can deploy multiple Ingress Controllers on the same node for the `HostNetwork` strategy.
49+
50+
.Example
51+
[source,yaml]
52+
----
53+
apiVersion: operator.openshift.io/v1
54+
kind: IngressController
55+
metadata:
56+
name: internal
57+
namespace: openshift-ingress-operator
58+
spec:
59+
domain: example.com
60+
endpointPublishingStrategy:
61+
type: HostNetwork
62+
hostNetwork:
63+
httpPort: 80
64+
httpsPort: 443
65+
statsPort: 1936
66+
----
67+
====
4468
4569
For most platforms, the `endpointPublishingStrategy` value can be updated. On GCP, you can configure the following `endpointPublishingStrategy` fields:
4670

0 commit comments

Comments
 (0)