Skip to content

Commit fee1eb5

Browse files
committed
Update Shiftstack affinity information
This change resolves OSDOCS-3064
1 parent 1a31cd7 commit fee1eb5

7 files changed

+22
-9
lines changed

installing/installing_openstack/installing-openstack-installer-custom.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ After you deploy your cluster, you can attach pods to additional networks. For m
4242
====
4343

4444
include::modules/installation-osp-config-yaml.adoc[leveloffset=+2]
45-
include::modules/installation-osp-setting-worker-affinity.adoc[leveloffset=+1]
45+
// include::modules/installation-osp-setting-worker-affinity.adoc[leveloffset=+1]
4646
include::modules/ssh-agent-using.adoc[leveloffset=+1]
4747
include::modules/installation-osp-accessing-api.adoc[leveloffset=+1]
4848
include::modules/installation-osp-accessing-api-floating.adoc[leveloffset=+2]

installing/installing_openstack/installing-openstack-installer-kuryr.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ After you deploy your cluster, you can attach pods to additional networks. For m
5050

5151
include::modules/installation-osp-kuryr-port-pools.adoc[leveloffset=+2]
5252
include::modules/installation-osp-kuryr-settings-installing.adoc[leveloffset=+2]
53-
include::modules/installation-osp-setting-worker-affinity.adoc[leveloffset=+1]
53+
// include::modules/installation-osp-setting-worker-affinity.adoc[leveloffset=+1]
5454
include::modules/ssh-agent-using.adoc[leveloffset=+1]
5555
include::modules/installation-osp-accessing-api.adoc[leveloffset=+1]
5656
include::modules/installation-osp-accessing-api-floating.adoc[leveloffset=+2]

installing/installing_openstack/installing-openstack-installer-restricted.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ include::modules/installation-initializing.adoc[leveloffset=+1]
3434
include::modules/installation-configure-proxy.adoc[leveloffset=+2]
3535
include::modules/installation-configuration-parameters.adoc[leveloffset=+2]
3636
include::modules/installation-osp-restricted-config-yaml.adoc[leveloffset=+2]
37-
include::modules/installation-osp-setting-worker-affinity.adoc[leveloffset=+1]
37+
// include::modules/installation-osp-setting-worker-affinity.adoc[leveloffset=+1]
3838
include::modules/ssh-agent-using.adoc[leveloffset=+1]
3939
include::modules/installation-osp-accessing-api.adoc[leveloffset=+1]
4040
include::modules/installation-osp-accessing-api-floating.adoc[leveloffset=+2]

modules/installation-configuration-parameters.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,14 @@ On clusters that use Kuryr, {rh-openstack} Octavia does not support availability
779779
|For compute machines, the availability zone to install root volumes on. If you do not set a value for this parameter, the installer selects the default availability zone.
780780
|A list of strings, for example `["zone-1", "zone-2"]`.
781781

782+
|`compute.platform.openstack.serverGroupPolicy`
783+
|Server group policy to apply to the group that will contain the compute machines in the pool. You cannot change server group policies or affiliations after creation. Supported options include `anti-affinity`, `soft-affinity`, and `soft-anti-affinity`. The default value is `soft-anti-affinity`.
784+
785+
An `affinity` policy prevents migrations and therefore affects {rh-openstack} upgrades. The `affinity` policy is not supported.
786+
787+
If you use a strict `anti-affinity` policy, an additional {rh-openstack} host is required during instance migration.
788+
|A server group policy to apply to the machine pool. For example, `soft-affinity`.
789+
782790
|`controlPlane.platform.openstack.additionalNetworkIDs`
783791
|Additional networks that are associated with control plane machines. Allowed address pairs are not created for additional networks.
784792
|A list of one or more UUIDs as strings. For example, `fa806b2f-ac49-4bce-b9db-124bc64209bf`.
@@ -797,6 +805,14 @@ On clusters that use Kuryr, {rh-openstack} Octavia does not support availability
797805
|For control plane machines, the availability zone to install root volumes on. If you do not set this value, the installer selects the default availability zone.
798806
|A list of strings, for example `["zone-1", "zone-2"]`.
799807

808+
|`controlPlane.platform.openstack.serverGroupPolicy`
809+
|Server group policy to apply to the group that will contain the control plane machines in the pool. You cannot change server group policies or affiliations after creation. Supported options include `anti-affinity`, `soft-affinity`, and `soft-anti-affinity`. The default value is `soft-anti-affinity`.
810+
811+
An `affinity` policy prevents migrations, and therefore affects {rh-openstack} upgrades. The `affinity` policy is not supported.
812+
813+
If you use a strict `anti-affinity` policy, an additional {rh-openstack} host is required during instance migration.
814+
|A server group policy to apply to the machine pool. For example, `soft-affinity`.
815+
800816
|`platform.openstack.clusterOSImage`
801817
|The location from which the installer downloads the {op-system} image.
802818

modules/installation-osp-default-deployment.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ To support an {product-title} installation, your {rh-openstack-first} quota must
2323
|Instances | 7
2424
|Security groups | 3
2525
|Security group rules | 60
26+
|Server groups | 2 - plus 1 for each additional availability zone in each machine pool
2627
|======================================
2728

2829
A cluster might function with fewer than recommended resources, but its performance is not guaranteed.

modules/installation-osp-default-kuryr-deployment.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Use the following quota to satisfy a default cluster's minimum requirements:
2828
|Instances | 7
2929
|Security groups | 250 - 1 needed per Service and per NetworkPolicy
3030
|Security group rules | 1000
31+
|Server groups | 2 - plus 1 for each additional availability zone in each machine pool
3132
|Load balancers | 100 - 1 needed per Service
3233
|Load balancer listeners | 500 - 1 needed per Service-exposed port
3334
|Load balancer pools | 500 - 1 needed per Service-exposed port

modules/installation-osp-setting-worker-affinity.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,10 @@
1111
[id="installation-osp-setting-worker-affinity_{context}"]
1212
= Setting compute machine affinity
1313

14-
Optionally, you can set the affinity policy for compute machines during installation. The installer does not select an affinity policy for compute machines by default.
14+
Optionally, you can set the affinity policy for compute machines during installation. By default, both compute and control plane machines are created with a `soft-anti-affinity` policy.
1515

1616
You can also create machine sets that use particular {rh-openstack} server groups after installation.
1717

18-
[NOTE]
19-
====
20-
Control plane machines are created with a `soft-anti-affinity` policy.
21-
====
22-
2318
[TIP]
2419
====
2520
You can learn more about link:https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/configuring_the_compute_service_for_instance_creation/configuring-instance-scheduling-and-placement[{rh-openstack} instance scheduling and placement] in the {rh-openstack} documentation.

0 commit comments

Comments
 (0)