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/start-stop-nodepools.md
+14-11Lines changed: 14 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,18 +31,19 @@ az extension update --name aks-preview
31
31
az feature register --namespace "Microsoft.ContainerService" --name "PreviewStartStopAgentPool"
32
32
```
33
33
34
-
> [!NOTE]
34
+
## Stop an AKS node pool
35
+
36
+
> [!IMPORTANT]
35
37
> When using node pool start/stop, the following is expected behavior:
36
38
>
37
-
> * You can not stop system pools.
38
-
> *spot node pools are supported.
39
+
> * You can't stop system pools.
40
+
> *Spot node pools are supported.
39
41
> * Stopped node pools can be upgraded.
40
-
41
-
## Stop an AKS node pool
42
+
> * The cluster and node pool must be running.
42
43
43
44
### [Azure CLI](#tab/azure-cli)
44
45
45
-
You can use the `az aks nodepool stop`command to stop a running AKS node pool. To properly stop a node pool, you must make sure that the cluster is currently running and you are not stopping a system pool. The following example stops a cluster named *testnodepool*:
46
+
Use `az aks nodepool stop` to stop a running AKS node pool. The following example stops the *testnodepool* node pool:
46
47
47
48
```azurecli-interactive
48
49
az aks nodepool stop --nodepool-name testnodepool -resource-group myResourceGroup --cluster-name myAKSCluster
@@ -64,19 +65,20 @@ You can verify when your node pool is stopped by using the [az aks show][az-aks-
64
65
}
65
66
```
66
67
67
-
If the `provisioningState` shows `Stopping` that means your node pool hasn't fully stopped yet.
68
+
> [!NOTE]
69
+
> If the `provisioningState` shows `Stopping`, your node pool hasn't fully stopped yet.
68
70
69
-
## Start an AKS node pool
71
+
## Start a stopped AKS node pool
70
72
71
73
### [Azure CLI](#tab/azure-cli)
72
74
73
-
You can use the `az aks nodepool start`command to start a stopped AKS node pool. The following example starts a node pool named *testnodepool*:
75
+
Use `az aks nodepool start` to start a stopped AKS node pool. The following example starts the stopped node pool named *testnodepool*:
74
76
75
77
```azurecli-interactive
76
78
az aks nodepool start --nodepool-name testnodepool -resource-group myResourceGroup --cluster-name myAKSCluster
77
79
```
78
80
79
-
You can verify when your node pool has started by using the [az aks show][az-aks-show]command and confirming the `powerState` shows `Running` as on the below output:
81
+
You can verify your node pool has started using [az aks show][az-aks-show] and confirming the `powerState` shows `Running`. For example:
80
82
81
83
```json
82
84
{
@@ -92,7 +94,8 @@ You can verify when your node pool has started by using the [az aks show][az-aks
92
94
}
93
95
```
94
96
95
-
If the `provisioningState` shows `Starting` that means your node pool hasn't fully started yet.
97
+
> [!NOTE]
98
+
> If the `provisioningState` shows `Starting`, your node pool hasn't fully started yet.
0 commit comments