Skip to content

Commit 9277b6c

Browse files
MaysaMacedomaxwelldbkalexand-rh
committed
Fix enablePortPoolsPrepopulation setting definition
As part of the work to reduce OpenStack resource usage[1] the Namespace is only now handled when a Pod on Pods Network is created in it. This new behavior also affects when the ports pool prepopulation happens requiring update to the docs. [1] https://issues.redhat.com/browse/OSASINFRA-2590 Co-authored-by: Max Bridges <[email protected]> Co-authored-by: Kathryn Alexander <[email protected]>
1 parent 6223b8a commit 9277b6c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/installation-osp-kuryr-port-pools.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Because Kuryr keeps each namespace in a separate subnet, a separate ports pool i
1717

1818
Prior to installing a cluster, you can set the following parameters in the `cluster-network-03-config.yml` manifest file to configure ports pool behavior:
1919

20-
* The `enablePortPoolsPrepopulation` parameter controls pool prepopulation, which forces Kuryr to add ports to the pool when it is created, such as when a new host is added, or a new namespace is created. The default value is `false`.
20+
* The `enablePortPoolsPrepopulation` parameter controls pool prepopulation, which forces Kuryr to add Neutron ports to the pools when the first pod that is configured to use the dedicated network for pods is created in a namespace. The default value is `false`.
2121
* The `poolMinPorts` parameter is the minimum number of free ports that are kept in the pool. The default value is `1`.
2222
* The `poolMaxPorts` parameter is the maximum number of free ports that are kept in the pool. A value of `0` disables that upper bound. This is the default setting.
2323
+

modules/installation-osp-kuryr-settings-active.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
poolBatchPorts: 3 <3>
4040
poolMaxPorts: 5 <4>
4141
----
42-
<1> Set `enablePortPoolsPrepopulation` to `true` to make Kuryr create new Neutron ports after a namespace is created or a new node is added to the cluster. This setting raises the Neutron ports quota but can reduce the time that is required to spawn pods. The default value is `false`.
42+
<1> Set `enablePortPoolsPrepopulation` to `true` to make Kuryr create Neutron ports when the first pod that is configured to use the dedicated network for pods is created in a namespace. This setting raises the Neutron ports quota but can reduce the time that is required to spawn pods. The default value is `false`.
4343
<2> Kuryr creates new ports for a pool if the number of free ports in that pool is lower than the value of `poolMinPorts`. The default value is `1`.
4444
<3> `poolBatchPorts` controls the number of new ports that are created if the number of free ports is lower than the value of `poolMinPorts`. The default value is `3`.
4545
<4> If the number of free ports in a pool is higher than the value of `poolMaxPorts`, Kuryr deletes them until the number matches that value. Setting the value to `0` disables this upper bound, preventing pools from shrinking. The default value is `0`.

modules/installation-osp-kuryr-settings-installing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ spec:
8080
poolMaxPorts: 5 <4>
8181
openstackServiceNetwork: 172.30.0.0/15 <5>
8282
----
83-
<1> Set the value of `enablePortPoolsPrepopulation` to `true` to make Kuryr create new Neutron ports after a namespace is created or a new node is added to the cluster. This setting raises the Neutron ports quota but can reduce the time that is required to spawn pods. The default value is `false`.
83+
<1> Set `enablePortPoolsPrepopulation` to `true` to make Kuryr create new Neutron ports when the first pod on the network for pods is created in a namespace. This setting raises the Neutron ports quota but can reduce the time that is required to spawn pods. The default value is `false`.
8484
<2> Kuryr creates new ports for a pool if the number of free ports in that pool is lower than the value of `poolMinPorts`. The default value is `1`.
8585
<3> `poolBatchPorts` controls the number of new ports that are created if the number of free ports is lower than the value of `poolMinPorts`. The default value is `3`.
8686
<4> If the number of free ports in a pool is higher than the value of `poolMaxPorts`, Kuryr deletes them until the number matches that value. Setting this value to `0` disables this upper bound, preventing pools from shrinking. The default value is `0`.

0 commit comments

Comments
 (0)