Skip to content

Commit f3f35de

Browse files
author
Kaarthikeyan Subramanian
committed
opstatus changes
1 parent 18b8ad1 commit f3f35de

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/aks/manage-abort-operations.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ ms.subservice: aks-nodes
88

99
# Terminate a long running operation on an Azure Kubernetes Service (AKS) cluster
1010

11-
Sometimes deployment or other processes running within pods on nodes in a cluster can run for periods of time longer than expected due to various reasons. You can now find out exactly how much percentage of the ongoing operation has been completed. Using any preview API version after `2024-01-02-preview` monitor the progress of any ongoing operation such as create, upgrade, scale etc in the following way -
11+
Sometimes deployment or other processes running within pods on nodes in a cluster can run for periods of time longer than expected due to various reasons. You can get insight into the progress of any ongoing operation, such as create, upgrade, and scale, using any preview API version after `2024-01-02-preview` using the following az rest command:
1212

1313
```azurecli-interactive
1414
export ResourceID="You cluster ResourceID"
1515
az rest --method get --url "https://management.azure.com$ResourceID/operations/latest?api-version=2024-01-02-preview"
1616
```
17-
This provides an indication if the operation is close to completion or not. Furthermore you can now get upto 50 latest operations on your cluster with the above method. The attribute "percentComplete" denotes the extent of completion for the ongoing operation. An example is given below:
17+
18+
This command provides you with a percentage that indicates how close the operation is to completion. You can use this method to get these insights for up to 50 of the latest operations on your cluster. The "percentComplete" attribute denotes the extent of completion for the ongoing operation, as shown in the following example:
1819

1920
```azurecli-interactive
2021
"id": "/subscriptions/26fe00f8-9173-4872-9134-bb1d2e00343a/resourcegroups/testStatus/providers/Microsoft.ContainerService/managedClusters/contoso/operations/fc10e97d-b7a8-4a54-84de-397c45f322e1",

0 commit comments

Comments
 (0)