Skip to content

Commit 234c7ca

Browse files
committed
update node-image-upgrade.md
1 parent 66a0171 commit 234c7ca

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/aks/node-image-upgrade.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ az aks upgrade \
7575

7676
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:
7777

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+
7881
```azurecli
7982
kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.metadata.labels.kubernetes\.azure\.com\/node-image-version}{"\n"}{end}'
8083
```
@@ -103,6 +106,9 @@ az aks nodepool upgrade \
103106

104107
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:
105108

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+
106112
```azurecli
107113
kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.metadata.labels.kubernetes\.azure\.com\/node-image-version}{"\n"}{end}'
108114
```
@@ -156,6 +162,9 @@ az aks nodepool show \
156162
- [Automatically apply cluster and node pool upgrades with GitHub Actions][github-schedule]
157163
- Learn more about multiple node pools and how to upgrade node pools with [Create and manage multiple node pools][use-multiple-node-pools].
158164

165+
<!-- LINKS - external -->
166+
[kubernetes-json-path]: https://kubernetes.io/docs/reference/kubectl/jsonpath/
167+
159168
<!-- LINKS - internal -->
160169
[upgrade-cluster]: upgrade-cluster.md
161170
[github-schedule]: node-upgrade-github-actions.md

0 commit comments

Comments
 (0)