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/manage-abort-operations.md
+17-21Lines changed: 17 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Abort an Azure Kubernetes Service (AKS) long running operation
3
3
description: Learn how to terminate a long running operation on an Azure Kubernetes Service cluster at the node pool or cluster level.
4
4
services: container-service
5
5
ms.topic: article
6
-
ms.date: 09/06/2022
6
+
ms.date: 09/08/2022
7
7
8
8
---
9
9
@@ -25,42 +25,38 @@ This article assumes that you have an existing AKS cluster. If you need an AKS c
25
25
26
26
## Abort a long running operation
27
27
28
-
### [Azure REST API](#tab/azure-rest)
28
+
### [Azure CLI](#tab/azure-cli)
29
29
30
-
You can use the Azure REST API [Abort](/rest/api/aks/managed-clusters)operationto stop an operation against the Managed Cluster.
30
+
You can use the [az aks nodepool](/cli/azure/aks/nodepool) command with the `operation-abort` argument to abort an operation on a node pool or a managed cluster.
31
31
32
-
The following example terminates a process for a specified agent pool.
32
+
The following example terminates an operation on a node pool on a specified cluster by its name and resource group that holds the cluster.
az aks operation-abort --name myAKSCluster --resource-group myResourceGroup
42
42
```
43
43
44
44
In the response, an HTTP status code of 204 is returned.
45
45
46
-
### [Azure CLI](#tab/azure-cli)
47
-
48
-
You can use the [az aks nodepool](/cli/azure/aks/nodepool) command with the `operation-abort` argument to abort an operation on a node pool or a managed cluster.
49
-
50
-
The following example terminates an operation on a node pool on a specified cluster by its name and resource group that holds the cluster.
46
+
### [Azure REST API](#tab/azure-rest)
51
47
52
-
```azurecli-interactive
53
-
az aks nodepool operation-abort\
48
+
You can use the Azure REST API [Abort](/rest/api/aks/managed-clusters) operation to stop an operation against the Managed Cluster.
54
49
55
-
--resource-group myResourceGroup \
50
+
The following example terminates a process for a specified agent pool.
0 commit comments