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/aks/planned-maintenance.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
@@ -24,7 +24,7 @@ When you use the feature of planned maintenance in AKS, you can run both types o
24
24
## Before you begin
25
25
26
26
* This article assumes that you have an existing AKS cluster. If you don't have an AKS cluster, see [Create an AKS cluster](./learn/quick-kubernetes-deploy-cli.md).
27
-
* If you're using the Azure CLI, upgrade to the latest version by using the [az upgrade](/cli/azure/update-azure-cli#manual-update) command.
27
+
* If you're using the Azure CLI, upgrade to the latest version by using the [`az upgrade`](/cli/azure/update-azure-cli#manual-update) command.
28
28
29
29
## Considerations
30
30
@@ -136,7 +136,7 @@ Valid values for `weekIndex` include `First`, `Second`, `Third`, `Fourth`, and `
136
136
137
137
### [Azure CLI](#tab/azure-cli)
138
138
139
-
Add a maintenance window configuration to an AKS cluster by using the [az aks maintenanceconfiguration add][az-aks-maintenanceconfiguration-add] command.
139
+
Add a maintenance window configuration to an AKS cluster by using the [`az aks maintenanceconfiguration add`][az-aks-maintenanceconfiguration-add] command.
140
140
141
141
The first example adds a new `default` configuration that schedules maintenance to run from 1:00 AM to 2:00 AM every Monday. The second example adds a new `aksManagedAutoUpgradeSchedule` configuration that schedules maintenance to run every third Friday between 12:00 AM and 8:00 AM in the `UTC+5:30` time zone.
142
142
@@ -232,7 +232,7 @@ You can use a JSON file to create a maintenance configuration instead of using p
232
232
}
233
233
```
234
234
235
-
2. Add the maintenance window configuration by using the [az aks maintenanceconfiguration add][az-aks-maintenanceconfiguration-add] command with the `--config-file` parameter.
235
+
2. Add the maintenance window configuration by using the [`az aks maintenanceconfiguration add`][az-aks-maintenanceconfiguration-add] command with the `--config-file` parameter.
236
236
237
237
The first example adds a new `default` configuration by using the `default.json` file. The second example adds a new `aksManagedAutoUpgradeSchedule` configuration by using the `autoUpgradeWindow.json` file.
238
238
@@ -250,7 +250,7 @@ You can use a JSON file to create a maintenance configuration instead of using p
250
250
251
251
### [Azure CLI](#tab/azure-cli)
252
252
253
-
Update an existing maintenance configuration by using the [az aks maintenanceconfiguration update][az-aks-maintenanceconfiguration-update] command.
253
+
Update an existing maintenance configuration by using the [`az aks maintenanceconfiguration update`][az-aks-maintenanceconfiguration-update] command.
254
254
255
255
The following example updates the `default` configuration to schedule maintenance to run from 2:00 AM to 3:00 AM every Monday:
256
256
@@ -295,7 +295,7 @@ az aks maintenanceconfiguration update --resource-group myResourceGroup --cluste
295
295
}
296
296
```
297
297
298
-
2. Update the maintenance window configuration by using the [az aks maintenanceconfiguration update][az-aks-maintenanceconfiguration-update] command with the `--config-file` parameter:
298
+
2. Update the maintenance window configuration by using the [`az aks maintenanceconfiguration update`][az-aks-maintenanceconfiguration-update] command with the `--config-file` parameter:
299
299
300
300
```azurecli-interactive
301
301
az aks maintenanceconfiguration update --resource-group myResourceGroup --cluster-name myAKSCluster --name default --config-file ./default.json
@@ -305,15 +305,15 @@ az aks maintenanceconfiguration update --resource-group myResourceGroup --cluste
305
305
306
306
## List all maintenance windows in an existing cluster
307
307
308
-
List the current maintenance configuration windows in your AKS cluster by using the [az aks maintenanceconfiguration list][az-aks-maintenanceconfiguration-list] command:
308
+
List the current maintenance configuration windows in your AKS cluster by using the [`az aks maintenanceconfiguration list`][az-aks-maintenanceconfiguration-list] command:
309
309
310
310
```azurecli-interactive
311
311
az aks maintenanceconfiguration list --resource-group myResourceGroup --cluster-name myAKSCluster
312
312
```
313
313
314
314
## Show a specific maintenance configuration window in an existing cluster
315
315
316
-
View a specific maintenance configuration window in your AKS cluster by using the [az aks maintenanceconfiguration show][az-aks-maintenanceconfiguration-show] command with the `--name` parameter:
316
+
View a specific maintenance configuration window in your AKS cluster by using the [`az aks maintenanceconfiguration show`][az-aks-maintenanceconfiguration-show] command with the `--name` parameter:
317
317
318
318
```azurecli-interactive
319
319
az aks maintenanceconfiguration show --resource-group myResourceGroup --cluster-name myAKSCluster --name aksManagedAutoUpgradeSchedule
@@ -358,7 +358,7 @@ The following example output shows the maintenance window for `aksManagedAutoUpg
358
358
359
359
### [Azure CLI](#tab/azure-cli)
360
360
361
-
Delete a maintenance configuration window in your AKS cluster by using the [az aks maintenanceconfiguration delete][az-aks-maintenanceconfiguration-delete] command.
361
+
Delete a maintenance configuration window in your AKS cluster by using the [`az aks maintenanceconfiguration delete`][az-aks-maintenanceconfiguration-delete] command.
362
362
363
363
The following example deletes the `autoUpgradeSchedule` maintenance configuration:
364
364
@@ -380,7 +380,7 @@ az aks maintenanceconfiguration delete --resource-group myResourceGroup --cluste
380
380
381
381
### [JSON file](#tab/json-file)
382
382
383
-
Delete a maintenance configuration window in your AKS cluster by using the [az aks maintenanceconfiguration delete][az-aks-maintenanceconfiguration-delete] command.
383
+
Delete a maintenance configuration window in your AKS cluster by using the [`az aks maintenanceconfiguration delete`][az-aks-maintenanceconfiguration-delete] command.
384
384
385
385
The following example deletes the `autoUpgradeSchedule` maintenance configuration:
0 commit comments