@@ -41,6 +41,7 @@ az k8s-extension create --cluster-name
41
41
[--config global.networkfunctionextension.webhook.pod.mutation.matchConditionExpression= ]
42
42
[--config global.networkfunctionextension.clusterRegistry.clusterRegistryGCCadence= ]
43
43
[--config global.networkfunctionextension.clusterRegistry.clusterRegistryGCThreshold= ]
44
+ [--config global.networkfunctionextension.clusterRegistry.registryService.scale= {" small" , " medium" , " large" }]
44
45
[--version]
45
46
```
46
47
@@ -102,6 +103,17 @@ The referenced matchCondition implies that the pods getting accepted in kube-sys
102
103
* 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.
103
104
104
105
#### 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
+
105
117
`--config global.networkfunctionextension.enableClusterRegistry=`
106
118
* This configuration provisions a registry in the cluster to locally cache artifacts.
107
119
* 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
111
123
`--config global.networkfunctionextension.clusterRegistry.highAvailability.enabled=`
112
124
* This configuration provisions the cluster registry in high availability mode if cluster registry is enabled.
113
125
* 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
114
127
* Accepted values: true, false.
115
128
* Default value: true.
116
129
@@ -161,15 +174,21 @@ The referenced matchCondition implies that the pods getting accepted in kube-sys
161
174
* This configuration triggers garbage collection process when cluster registry usage exceeds this value.
162
175
* Default value: 0.
163
176
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
+ ```
173
192
174
193
## Update network function extension
175
194
The Azure CLI command 'az k8s-extension update' is executed to update the NFO extension.
0 commit comments