@@ -48,7 +48,7 @@ Available upgrades are retrievable via the Azure CLI:
48
48
``` azurecli
49
49
az networkcloud cluster show --name "<CLUSTER>" \
50
50
--resource-group "<CLUSTER_RG>" \
51
- --subscription <SUBSCRIPTION> | grep -A8 availableUpgradeVersions
51
+ --subscription " <SUBSCRIPTION>" | grep -A8 availableUpgradeVersions
52
52
```
53
53
54
54
In the output, you can find the ` availableUpgradeVersions ` property and look at the ` targetClusterVersion ` field:
@@ -73,12 +73,12 @@ If there are no available cluster upgrades, the list is empty.
73
73
The following Azure CLI command is used to configure the compute threshold parameters for a runtime upgrade:
74
74
75
75
``` azurecli
76
- az networkcloud cluster update --name "<CLUSTER>" /
76
+ az networkcloud cluster update --name "<CLUSTER>" \
77
77
--resource-group "<CLUSTER_RG>" \
78
- --update-strategy strategy-type="<strategyType>" threshold-type="<thresholdType" \
79
- threshold-value="<thresholdValue>" max-unavailable=<maxNodesOffline> \
80
- wait-time-minutes=<waitTimeBetweenRacks> \
81
- --subscription <SUBSCRIPTION>
78
+ --update-strategy strategy-type="<strategyType>" threshold-type="<thresholdType> " \
79
+ threshold-value="<thresholdValue>" max-unavailable=" <maxNodesOffline>" \
80
+ wait-time-minutes=" <waitTimeBetweenRacks>" \
81
+ --subscription " <SUBSCRIPTION>"
82
82
```
83
83
84
84
Required parameters:
@@ -97,15 +97,15 @@ az networkcloud cluster update --name "<CLUSTER>" \
97
97
--resource-group "<CLUSTER_RG>" \
98
98
--update-strategy strategy-type="Rack" threshold-type="PercentSuccess" \
99
99
threshold-value=60 wait-time-minutes=1 \
100
- --subscription <SUBSCRIPTION>
100
+ --subscription " <SUBSCRIPTION>"
101
101
```
102
102
103
103
Verify update:
104
104
105
105
```
106
106
az networkcloud cluster show --name "<CLUSTER>" \
107
107
--resource-group "<CLUSTER_RG>" \
108
- --subscription <SUBSCRIPTION> | grep -A5 updateStrategy
108
+ --subscription " <SUBSCRIPTION>" | grep -A5 updateStrategy
109
109
110
110
"updateStrategy": {
111
111
"maxUnavailable": 32767,
@@ -124,15 +124,15 @@ az networkcloud cluster update --name "<CLUSTER>" \
124
124
--resource-group "<CLUSTER_RG>" \
125
125
--update-strategy strategy-type="Rack" threshold-type="CountSuccess" \
126
126
threshold-value=10 wait-time-minutes=1 \
127
- --subscription <SUBSCRIPTION>
127
+ --subscription " <SUBSCRIPTION>"
128
128
```
129
129
130
130
Verify update:
131
131
132
132
```
133
133
az networkcloud cluster show --name "<CLUSTER>" \
134
134
--resource-group "<CLUSTER_RG>" \
135
- --subscription <SUBSCRIPTION> | grep -A5 updateStrategy
135
+ --subscription " <SUBSCRIPTION>" | grep -A5 updateStrategy
136
136
137
137
"updateStrategy": {
138
138
"maxUnavailable": 32767,
@@ -156,7 +156,7 @@ To perform an upgrade of the runtime, use the following Azure CLI command:
156
156
az networkcloud cluster update-version --cluster-name "<CLUSTER>" \
157
157
--target-cluster-version "<versionNumber>" \
158
158
--resource-group "<CLUSTER_RG>" \
159
- --subscription <SUBSCRIPTION>
159
+ --subscription " <SUBSCRIPTION>"
160
160
```
161
161
162
162
The runtime upgrade is a long process. The upgrade first upgrades the management nodes and then sequentially Rack by Rack for the worker nodes.
@@ -180,7 +180,7 @@ To view the upgrade status through the Azure CLI, use `az networkcloud cluster s
180
180
``` azurecli
181
181
az networkcloud cluster show --cluster-name "<CLUSTER>" \
182
182
--resource-group "<CLUSTER_RG>" \
183
- --subscription <SUBSCRIPTION>
183
+ --subscription " <SUBSCRIPTION>"
184
184
```
185
185
186
186
The output should be the target cluster's information and the cluster's detailed status and detail status message should be present.
0 commit comments