Skip to content

Commit 3479a61

Browse files
authored
Merge pull request #77368 from dfitzmau/OSDOCS-9350-parameters
OSDOCS-9350: Contentx consolidate Ingress Controller parameter tidy
2 parents ad8e7b2 + a936851 commit 3479a61

11 files changed

+82
-67
lines changed

_topic_maps/_topic_map.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ Topics:
13431343
File: ingress-controller-dnsmgt
13441344
Distros: openshift-enterprise,openshift-origin
13451345
- Name: Configuring the Ingress Controller endpoint publishing strategy
1346-
File: nw-ingress-controller-endpoint-publishing-strategies
1346+
File: nw-configuring-ingress-controller-endpoint-publishing-strategy
13471347
Distros: openshift-enterprise,openshift-origin
13481348
- Name: Verifying connectivity to an endpoint
13491349
File: verifying-connectivity-endpoint

machine_management/control_plane_machine_management/cpmso_provider_configurations/cpmso-config-options-aws.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ You can enable features by updating values in the control plane machine set.
2727

2828
//Restricting the API server to private (AWS control plane machine set version)
2929
include::modules/private-clusters-setting-api-private.adoc[leveloffset=+2]
30+
3031
[role="_additional-resources"]
3132
.Additional resources
32-
* xref:../../../networking/nw-ingress-controller-endpoint-publishing-strategies.adoc#nw-ingresscontroller-change-internal_nw-ingress-controller-endpoint-publishing-strategies[Configuring the Ingress Controller endpoint publishing scope to Internal]
33+
* xref:../../../networking/nw-configuring-ingress-controller-endpoint-publishing-strategy.adoc#nw-ingresscontroller-change-internal_nw-configuring-ingress-controller-endpoint-publishing-strategy[Configuring the Ingress Controller endpoint publishing scope to Internal]
3334

3435
//Selecting a larger Amazon Web Services instance type for control plane machines
3536
include::modules/cpms-changing-aws-instance-type.adoc[leveloffset=+2]

machine_management/control_plane_machine_management/cpmso_provider_configurations/cpmso-config-options-azure.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You can enable features by updating values in the control plane machine set.
2828
include::modules/private-clusters-setting-api-private.adoc[leveloffset=+2]
2929
[role="_additional-resources"]
3030
.Additional resources
31-
* xref:../../../networking/nw-ingress-controller-endpoint-publishing-strategies.adoc#nw-ingresscontroller-change-internal_nw-ingress-controller-endpoint-publishing-strategies[Configuring the Ingress Controller endpoint publishing scope to Internal]
31+
* xref:../../../networking/nw-configuring-ingress-controller-endpoint-publishing-strategy.adoc#nw-ingresscontroller-change-internal_nw-configuring-ingress-controller-endpoint-publishing-strategy[Configuring the Ingress Controller endpoint publishing scope to Internal]
3232

3333
//Selecting an Azure Marketplace image
3434
include::modules/installation-azure-marketplace-subscribe.adoc[leveloffset=+2]

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

Lines changed: 18 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Module included in the following assemblies:
22
//
3-
// * ingress/configure-ingress-operator.adoc
3+
// * ingress/ingress-operator.adoc
4+
45
:_mod-docs-content-type: REFERENCE
56
[id="nw-ingress-controller-configuration-parameters_{context}"]
67
= Ingress Controller configuration parameters
78

8-
The `ingresscontrollers.operator.openshift.io` resource offers the following
9-
configuration parameters.
9+
The `ingresscontrollers.operator.openshift.io` resource includes optional configuration parameters that you can configure to meet specific needs for your organization.
1010

1111
[cols="3a,8a",options="header"]
1212
|===
@@ -26,11 +26,13 @@ The `domain` value must be unique among all Ingress Controllers and cannot be up
2626
If empty, the default value is `ingress.config.openshift.io/cluster` `.spec.domain`.
2727

2828
|`replicas`
29-
|`replicas` is the desired number of Ingress Controller replicas. If not set, the default value is `2`.
29+
|`replicas` is the number of Ingress Controller replicas. If not set, the default value is `2`.
3030

3131
|`endpointPublishingStrategy`
3232
|`endpointPublishingStrategy` is used to publish the Ingress Controller endpoints to other networks, enable load balancer integrations, and provide access to other systems.
3333

34+
For cloud environments, use the `loadBalancer` field to configure the endpoint publishing strategy for your Ingress Controller.
35+
3436
ifndef::openshift-rosa,openshift-dedicated[]
3537
On GCP, AWS, and Azure you can configure the following `endpointPublishingStrategy` fields:
3638
endif::openshift-rosa,openshift-dedicated[]
@@ -53,47 +55,27 @@ endif::openshift-dedicated[]
5355
ifndef::openshift-rosa,openshift-dedicated[]
5456
* Azure: `LoadBalancerService` (with External scope)
5557
* Google Cloud Platform (GCP): `LoadBalancerService` (with External scope)
56-
* Bare metal: `NodePortService`
57-
* Other: `HostNetwork`
5858
endif::openshift-rosa,openshift-dedicated[]
59-
+
60-
[NOTE]
61-
====
62-
`HostNetwork` has a `hostNetwork` field with the following default values for the optional binding ports: `httpPort: 80`, `httpsPort: 443`, and `statsPort: 1936`.
63-
With the binding ports, you can deploy multiple Ingress Controllers on the same node for the `HostNetwork` strategy.
6459

65-
.Example
66-
[source,yaml]
67-
----
68-
apiVersion: operator.openshift.io/v1
69-
kind: IngressController
70-
metadata:
71-
name: internal
72-
namespace: openshift-ingress-operator
73-
spec:
74-
domain: example.com
75-
endpointPublishingStrategy:
76-
type: HostNetwork
77-
hostNetwork:
78-
httpPort: 80
79-
httpsPort: 443
80-
statsPort: 1936
81-
----
82-
====
83-
+
84-
[NOTE]
85-
====
86-
On {rh-openstack-first}, the `LoadBalancerService` endpoint publishing strategy is only supported if a cloud provider is configured to create health monitors. For {rh-openstack} 16.2, this strategy is only possible if you use the Amphora Octavia provider.
87-
88-
For more information, see the "Setting cloud provider options" section of the {rh-openstack} installation documentation.
89-
====
9060
ifndef::openshift-rosa[]
9161
For most platforms, the `endpointPublishingStrategy` value can be updated. On GCP, you can configure the following `endpointPublishingStrategy` fields:
9262

9363
* `loadBalancer.scope`
9464
* `loadbalancer.providerParameters.gcp.clientAccess`
65+
endif::openshift-rosa[]
66+
67+
ifndef::openshift-rosa,openshift-dedicated[]
68+
For non-cloud environments, such as a bare-metal platform, use the `NodePortService`, `HostNetwork`, or `Private` fields to configure the endpoint publishing strategy for your Ingress Controller.
69+
70+
If you do not set a value in one of these fields, the default value is based on binding ports specified in the `infrastructure.config.openshift.io/cluster` `.status.platform` resource.
71+
endif::openshift-rosa,openshift-dedicated[]
72+
73+
ifndef::openshift-rosa[]
74+
If you need to update the `endpointPublishingStrategy` value after your cluster is deployed, you can configure the following `endpointPublishingStrategy` fields:
75+
9576
* `hostNetwork.protocol`
9677
* `nodePort.protocol`
78+
* `private.protocol`
9779
endif::openshift-rosa[]
9880
9981
|`defaultCertificate`
@@ -319,9 +301,3 @@ The `HTTPEmptyRequestsPolicy` type accepts either one of two values:
319301
320302
These connections come from load balancer health probes or web browser speculative connections (preconnect) and can be safely ignored. However, these requests can be caused by network errors, so setting this field to `Ignore` can impede detection and diagnosis of problems. These requests can be caused by port scans, in which case logging empty requests can aid in detecting intrusion attempts.
321303
|===
322-
323-
324-
[NOTE]
325-
====
326-
All parameters are optional.
327-
====

modules/nw-ingress-controller-endpoint-publishing-strategies.adoc

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Module included in the following assemblies:
22
//
3-
// * ingress/configure-ingress-operator.adoc
3+
// * networking/nw-configuring-ingress-controller-endpoint-publishing-strategy.adoc
44

5+
:_mod-docs-content-type: CONCEPT
56
[id="nw-ingress-controller-endpoint-publishing-strategies_{context}"]
67
= Ingress Controller endpoint publishing strategy
78

@@ -33,3 +34,23 @@ For more information, see the link:https://kubernetes.io/docs/concepts/services-
3334
The `HostNetwork` endpoint publishing strategy publishes the Ingress Controller on node ports where the Ingress Controller is deployed.
3435

3536
An Ingress Controller with the `HostNetwork` endpoint publishing strategy can have only one pod replica per node. If you want _n_ replicas, you must use at least _n_ nodes where those replicas can be scheduled. Because each pod replica requests ports `80` and `443` on the node host where it is scheduled, a replica cannot be scheduled to a node if another pod on the same node is using those ports.
37+
38+
The `HostNetwork` object has a `hostNetwork` field with the following default values for the optional binding ports: `httpPort: 80`, `httpsPort: 443`, and `statsPort: 1936`. By specifying different binding ports for your network, you can deploy multiple Ingress Controllers on the same node for the `HostNetwork` strategy.
39+
40+
.Example
41+
[source,yaml]
42+
----
43+
apiVersion: operator.openshift.io/v1
44+
kind: IngressController
45+
metadata:
46+
name: internal
47+
namespace: openshift-ingress-operator
48+
spec:
49+
domain: example.com
50+
endpointPublishingStrategy:
51+
type: HostNetwork
52+
hostNetwork:
53+
httpPort: 80
54+
httpsPort: 443
55+
statsPort: 1936
56+
----

modules/nw-ingresscontroller-change-external.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * networking/ingress-operator.adoc
3+
// * networking/nw-configuring-ingress-controller-endpoint-publishing-strategy.adoc
44

55
[id="nw-ingresscontroller-change-external_{context}"]
66
= Configuring the Ingress Controller endpoint publishing scope to External

modules/nw-ingresscontroller-change-internal.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Module included in the following assemblies:
22
//
3-
// * networking/ingress-operator.adoc
3+
// * networking/nw-configuring-ingress-controller-endpoint-publishing-strategy.adoc
44

5+
:_mod-docs-content-type: PROCEDURE
56
[id="nw-ingresscontroller-change-internal_{context}"]
67
= Configuring the Ingress Controller endpoint publishing scope to Internal
78

networking/ingress-operator.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ include::modules/nw-ne-openshift-ingress.adoc[leveloffset=+1]
1515
//ifndef::openshift-rosa,openshift-dedicated[] NOTE: commenting out this ifndef to track what was in place before OSDOCS-4883.
1616
include::modules/nw-installation-ingress-config-asset.adoc[leveloffset=+1]
1717

18+
// Ingress Controller configuration parameters
1819
include::modules/nw-ingress-controller-configuration-parameters.adoc[leveloffset=+1]
1920

2021
[id="configuring-ingress-controller-tls"]
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="nw-configuring-ingress-controller-endpoint-publishing-strategy"]
3+
= Configuring the Ingress Controller endpoint publishing strategy
4+
include::_attributes/common-attributes.adoc[]
5+
:context: nw-configuring-ingress-controller-endpoint-publishing-strategy
6+
7+
toc::[]
8+
9+
The `endpointPublishingStrategy` is used to publish the Ingress Controller endpoints to other networks, enable load balancer integrations, and provide access to other systems.
10+
11+
[IMPORTANT]
12+
====
13+
On {rh-openstack-first}, the `LoadBalancerService` endpoint publishing strategy is only supported if a cloud provider is configured to create health monitors. For {rh-openstack} 16.2, this strategy is only possible if you use the Amphora Octavia provider.
14+
15+
For more information, see the " Setting {rh-openstack} Cloud Controller Manager options" section of the {rh-openstack} installation documentation.
16+
====
17+
18+
// Ingress Controller endpoint publishing strategy
19+
include::modules/nw-ingress-controller-endpoint-publishing-strategies.adoc[leveloffset=+1]
20+
21+
// Configuring the Ingress Controller endpoint publishing scope to Internal
22+
include::modules/nw-ingresscontroller-change-internal.adoc[leveloffset=+2]
23+
24+
// Configuring the Ingress Controller endpoint publishing scope to External
25+
include::modules/nw-ingresscontroller-change-external.adoc[leveloffset=+2]
26+
27+
[role="_additional-resources"]
28+
== Additional resources
29+
30+
* xref:../networking/ingress-operator.adoc#nw-ingress-controller-configuration-parameters_configuring-ingress[Ingress Controller configuration parameters].
31+
32+
* xref:../installing/installing_openstack/installing-openstack-installer-custom.adoc#installation-osp-setting-cloud-provider-options_installing-openstack-installer-custom[Setting {rh-openstack} Cloud Controller Manager options].

networking/nw-ingress-controller-endpoint-publishing-strategies.adoc

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)