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/node-image-upgrade.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,9 @@ az aks upgrade \
75
75
76
76
During the upgrade, check the status of the node images with the following `kubectl` command to get the labels and filter out the current node image information:
77
77
78
+
>[!NOTE]
79
+
> This command may differ slightly depending on the shell you use. See the [Kubernetes JSONPath documentation][kubernetes-json-path] for more information on Windows/PowerShell environments.
80
+
78
81
```azurecli
79
82
kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.metadata.labels.kubernetes\.azure\.com\/node-image-version}{"\n"}{end}'
80
83
```
@@ -103,6 +106,9 @@ az aks nodepool upgrade \
103
106
104
107
During the upgrade, check the status of the node images with the following `kubectl` command to get the labels and filter out the current node image information:
105
108
109
+
>[!NOTE]
110
+
> This command may differ slightly depending on the shell you use. See the [Kubernetes JSONPath documentation][kubernetes-json-path] for more information on Windows/PowerShell environments.
111
+
106
112
```azurecli
107
113
kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.metadata.labels.kubernetes\.azure\.com\/node-image-version}{"\n"}{end}'
108
114
```
@@ -156,6 +162,9 @@ az aks nodepool show \
156
162
-[Automatically apply cluster and node pool upgrades with GitHub Actions][github-schedule]
157
163
- Learn more about multiple node pools and how to upgrade node pools with [Create and manage multiple node pools][use-multiple-node-pools].
0 commit comments