Skip to content

Commit 20c9195

Browse files
authored
Update manage-network-function-operator.md
update for scale
1 parent 64fd820 commit 20c9195

File tree

1 file changed

+28
-9
lines changed

1 file changed

+28
-9
lines changed

articles/operator-service-manager/manage-network-function-operator.md

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ az k8s-extension create --cluster-name
4141
[--config global.networkfunctionextension.webhook.pod.mutation.matchConditionExpression=]
4242
[--config global.networkfunctionextension.clusterRegistry.clusterRegistryGCCadence=]
4343
[--config global.networkfunctionextension.clusterRegistry.clusterRegistryGCThreshold=]
44+
[--config global.networkfunctionextension.clusterRegistry.registryService.scale={"small", "medium", "large"}]
4445
[--version]
4546
```
4647

@@ -102,6 +103,17 @@ The referenced matchCondition implies that the pods getting accepted in kube-sys
102103
* This condition comes into play only when the CNF/Component/Application are getting installed into the namespace as per the rules and namespaceSelectors. If there are more pods getting spin up in that namespace, this condition is applied.
103104

104105
#### Cluster Registry
106+
107+
> [!NOTE]
108+
> * When managing a NAKS cluster with AOSM, the default parameter values enable HA as the recommended configuration.
109+
> * When managing a AKS cluster with AOSM, HA must be disabled using the following configuration options:
110+
>
111+
>```
112+
> --config global.networkfunctionextension.clusterRegistry.highAvailability.enabled=false
113+
> --config global.networkfunctionextension.webhook.highAvailability.enabled=false
114+
> --config global.networkfunctionextension.clusterRegistry.storageClassName=managed-csi
115+
>```
116+
105117
`--config global.networkfunctionextension.enableClusterRegistry=`
106118
* This configuration provisions a registry in the cluster to locally cache artifacts.
107119
* Default values enable lazy loading mode unless global.networkfunctionextension.enableEarlyLoading=true.
@@ -111,6 +123,7 @@ The referenced matchCondition implies that the pods getting accepted in kube-sys
111123
`--config global.networkfunctionextension.clusterRegistry.highAvailability.enabled=`
112124
* This configuration provisions the cluster registry in high availability mode if cluster registry is enabled.
113125
* Default value is true and uses Nexus Azure kubernetes service (NAKS) nexus-shared volume on AKS recommendation is set false.
126+
* Registry Pod Replica Count: minimum: 3, maximum: 5
114127
* Accepted values: true, false.
115128
* Default value: true.
116129
@@ -161,15 +174,21 @@ The referenced matchCondition implies that the pods getting accepted in kube-sys
161174
* This configuration triggers garbage collection process when cluster registry usage exceeds this value.
162175
* Default value: 0.
163176
164-
> [!NOTE]
165-
> * When managing a NAKS cluster with AOSM, the default parameter values enable HA as the recommended configuration.
166-
> * When managing a AKS cluster with AOSM, HA must be disabled using the following configuration options:
167-
>
168-
>```
169-
> --config global.networkfunctionextension.clusterRegistry.highAvailability.enabled=false
170-
> --config global.networkfunctionextension.webhook.highAvailability.enabled=false
171-
> --config global.networkfunctionextension.clusterRegistry.storageClassName=managed-csi
172-
>```
177+
`--config global.networkfunctionextension.clusterRegistry.registryService.scale=`
178+
* This configuration sets the CPU and memory resources for cluster registry to a pre-defined scale option.
179+
* Accetped values: small, medium, large.
180+
* Default value: medium.
181+
* Following are the registry resource specifications for all 3 scales:
182+
```
183+
- limits:
184+
- small: cpu: 100m, memory: 2Gi
185+
- medium: cpu: 500m, memory: 2Gi
186+
- large: cpu: 1, memory: 4Gi
187+
- requests:
188+
- small: cpu: 100m, memory: 250Mi
189+
- mediumL cpu: 250m, memory: 500Mi
190+
- large: cpu: 500m, memory: 1Gi
191+
```
173192
174193
## Update network function extension
175194
The Azure CLI command 'az k8s-extension update' is executed to update the NFO extension.

0 commit comments

Comments
 (0)