@@ -174,9 +174,45 @@ The referenced matchCondition implies that the pods getting accepted in kube-sys
174
174
## Update network function extension
175
175
The Azure CLI command 'az k8s-extension update' is executed to update the NFO extension.
176
176
177
+ ```bash
178
+ az k8s-extension update --resource-group
179
+ --cluster-name
180
+ --cluster-type {connectedClusters}
181
+ --extension-type {Microsoft.Azure.HybridNetwork}
182
+ --name
183
+ --release-namespace {azurehybridnetwork}
184
+ --release-train {preview, stable}
185
+ --config Microsoft.CustomLocation.ServiceAccount=azurehybridnetwork-networkfunction-operator
186
+ [--version] {version-target}
187
+ [--config global.networkfunctionextension.enableClusterRegistry={false, true}]
188
+ [--config global.networkfunctionextension.enableLocalRegistry={false, true}]
189
+ [--config global.networkfunctionextension.enableEarlyLoading={false,true}]
190
+ [--config global.networkfunctionextension.clusterRegistry.highAvailability.enabled={true, false}]
191
+ [--config global.networkfunctionextension.clusterRegistry.autoScaling.enabled={true, false}]
192
+ [--config global.networkfunctionextension.webhook.highAvailability.enabled={true, false}]
193
+ [--config global.networkfunctionextension.webhook.autoScaling.enabled={true, false}]
194
+ [--config global.networkfunctionextension.clusterRegistry.storageClassName=]
195
+ [--config global.networkfunctionextension.clusterRegistry.storageSize=]
196
+ [--config global.networkfunctionextension.webhook.pod.mutation.matchConditionExpression=]
197
+ [--config global.networkfunctionextension.clusterRegistry.clusterRegistryGCCadence=]
198
+ [--config global.networkfunctionextension.clusterRegistry.clusterRegistryGCThreshold=]
199
+ ```
200
+
201
+
177
202
## Delete network function extension
178
203
The Azure CLI command 'az k8s-extension delete' is executed to delete the NFO extension.
179
204
205
+ ``` bash
206
+ az k8s-extension delete --resource-group
207
+ --cluster-name
208
+ --cluster-type {connectedClusters}
209
+ --extension-type {Microsoft.Azure.HybridNetwork}
210
+ --name
211
+ --release-namespace {azurehybridnetwork}
212
+ --release-train {preview, stable}
213
+ --config Microsoft.CustomLocation.ServiceAccount=azurehybridnetwork-networkfunction-operator
214
+ ```
215
+
180
216
## Examples
181
217
Create a network function extension with auto upgrade.
182
218
``` bash
@@ -207,3 +243,13 @@ Create a network function extension with side loading feature enabled.
207
243
``` bash
208
244
az k8s-extension create --resource-group myresourcegroup --cluster-name mycluster --name myextension --cluster-type connectedClusters --extension-type Microsoft.Azure.HybridNetwork --scope cluster --config Microsoft.CustomLocation.ServiceAccount=azurehybridnetwork-networkfunction-operator --release-namespace azurehybridnetwork --config global.networkfunctionextension.enableLocalRegistry=true
209
245
```
246
+
247
+ Update a network function extension to enable cluster registry.
248
+ ``` bash
249
+ az k8s-extension update --resource-group naks-1-rg --cluster-name naks-1 --cluster-type connectedClusters --name networkfunction-operator --extension-type Microsoft.Azure.HybridNetwork --release-namespace azurehybridnetwork --config networkFunctionExtension.EnableManagedInClusterEdgeRegistry=true –-config networkFunctionExtension.EdgeRegistrySizeInGB=1024
250
+ ```
251
+
252
+ Update a network function extension to reach a new target version.
253
+ ``` bash
254
+ az k8s-extension update --resource-group naks-1-rg --cluster-name naks-1 --cluster-type connectedClusters --name networkfunction-operator --extension-type Microsoft.Azure.HybridNetwork --release-namespace azurehybridnetwork --version X.X.XXXX-YYY
255
+ ```
0 commit comments