You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/operator-service-manager/get-started-with-cluster-registry.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,20 +122,20 @@ With HA, cluster registry and webhook pods now support a replicaset with a minim
122
122
* Pods scale horizontally under CPU and memory load.
123
123
124
124
#### 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.
126
126
#### DeploymentStrategy
127
127
* 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.
128
128
#### Pod Disruption Budget
129
129
* 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.
130
130
#### 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)
139
139
140
140
#### Storage
141
141
* 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