Skip to content

Commit 1efa00f

Browse files
authored
Update get-started-with-cluster-registry.md
updates to hpa
1 parent 1cdb7e8 commit 1efa00f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/operator-service-manager/get-started-with-cluster-registry.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,20 +122,20 @@ With HA, cluster registry and webhook pods now support a replicaset with a minim
122122
* Pods scale horizontally under CPU and memory load.
123123

124124
#### Replicas
125-
* A cluster running multiple copies, or replicas, of an application provides the first level of redundancy. Both cluster registry and webhook are defined as 'kind:deployment' with a minimum of three replicas.
125+
* A cluster running multiple copies, or replicas, of an application provides the first level of redundancy. Both cluster registry and webhook are defined as 'kind:deployment' with a minimum of three replicas and maximum of 5 replicas.
126126
#### DeploymentStrategy
127127
* A rollingUpdate strategy is used to help achieve zero downtime upgrades and support gradual rollout of applications. Default maxUnavailable configuration allows only one pod to be taken down at a time, until enough pods are created to satisfying redundancy policy.
128128
#### Pod Disruption Budget
129129
* A policy disruption budget (PDB) protects pods from voluntary disruption and is deployed alongside Deployment, ReplicaSet, or StatefulSet objects. For AOSM operator pods, a PDB with minAvailable parameter of 2 is used.
130130
#### Pod anti-affinity
131-
* Pod anti-affinity controls distribution of application pods across multiple nodes in your cluster. With HA, AOSM pod anti-affinity using the following parameters:
132-
* A scheduling mode is used to define how strictly the rule is enforced.
133-
* requiredDuringSchedulingIgnoredDuringExecution(Hard): Pods must be scheduled in a way that satisfies the defined rule. If no topologies that meet the rule's requirements are available, the pod is not scheduled.
134-
* preferredDuringSchedulingIgnoredDuringExecution(Soft): This rule type expresses a preference for scheduling pods but doesn't enforce a strict requirement. If topologies that meet the preference criteria are available, Kubernetes schedules the pod. If no such topologies are available, the pod can still be scheduled on other nodes that do not meet the preference.
135-
* A Label Selector is used to target specific pods for which the affinity is applied.
136-
* A Topology Key is used to define the node needs.
137-
* Nexus node placement is spread evenly across zones by design, so spreading the pods across nodes also gives zonal redundancy.
138-
* AOSM operator pods use a soft anti-affinity with weight 100 and topology key based on node hostnames is used.
131+
* Pod anti-affinity controls distribution of application pods across multiple nodes in your cluster. With HA enabled, AOSM implements the following anti-affinity rules:
132+
* A preferredDuringSchedulingIgnoredDuringExecution(Soft) rule type is used. With sof scheduling, topologies that meet the preference criteria are available, Kubernetes schedules the pod. If no such topologies are available, the pod can still be scheduled on other nodes that do not meet the preference.
133+
* A topology key is used based on the value of kubernetes.io/hostname.
134+
* A weight of 100 is used.
135+
#### Node affinity
136+
Nexus node placement is spread evenly across zones by design, resulting in zonal redundancy. AOSM further spreads pods evenly across nodes, using the following rules:
137+
* Prefer nodes without 'control-plane' role (weight: 10)
138+
* Prefer nodes with 'system' mode (weight: 20)
139139

140140
#### Storage
141141
* Since AOSM edge registry has multiple replicas which are spread across nodes, the persistent volume must support ReadWriteMany (RWX) access mode. PVC “nexus-shared” volume is available on Nexus clusters and supports RWX access mode.

0 commit comments

Comments
 (0)