Skip to content

Commit ad0f522

Browse files
authored
Merge pull request #273628 from MicrosoftDocs/main
Publish to live, Sunday 4 AM PST, 4/28
2 parents 00651c0 + 99fe620 commit ad0f522

File tree

373 files changed

+4964
-4508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

373 files changed

+4964
-4508
lines changed

.openpublishing.redirection.azure-kubernetes-service.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -351,12 +351,6 @@
351351
"redirect_url": "/cli/azure/aks#az_aks_create",
352352
"redirect_document_id": false
353353
},
354-
{
355-
"source_path_from_root": "/articles/aks/delete-cluster.md",
356-
"redirect_url": "/cli/azure/aks#az_aks_delete",
357-
"redirect_document_id": false
358-
},
359-
360354
{
361355
"source_path": "articles/aks/view-master-logs.md",
362356
"redirect_url": "/azure/aks/view-control-plane-logs",

.openpublishing.redirection.sentinel.json

Lines changed: 433 additions & 13 deletions
Large diffs are not rendered by default.

articles/ai-services/openai/concepts/use-your-data.md

Lines changed: 58 additions & 58 deletions
Large diffs are not rendered by default.
228 KB
Loading

articles/aks/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@
246246
href: scale-cluster.md
247247
- name: Stop and start an AKS cluster
248248
href: start-stop-cluster.md
249+
- name: Delete an AKS cluster
250+
href: delete-cluster.md
249251
- name: Configure private clusters
250252
items:
251253
- name: Create a private cluster

articles/aks/delete-cluster.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
title: Delete an Azure Kubernetes Service (AKS) cluster
3+
description: Learn about deleting a cluster in Azure Kubernetes Service (AKS).
4+
ms.topic: overview
5+
ms.author: schaffererin
6+
author: schaffererin
7+
ms.date: 04/16/2024
8+
---
9+
10+
# Delete an Azure Kubernetes Service (AKS) cluster
11+
12+
This article outlines cluster deletion in Azure Kubernetes Service (AKS), including what happens when you delete a cluster, alternatives to deleting a cluster, and how to delete a cluster.
13+
14+
## What happens when you delete a cluster?
15+
16+
When you delete a cluster, the following resources are deleted:
17+
18+
* The [node resource group][node-resource-group] and its resources, including:
19+
* The virtual machine scale sets and virtual machines (VMs) for each node in the cluster
20+
* The virtual network and its subnets for the cluster
21+
* The storage for the cluster
22+
* The control plane and its resources
23+
* Any node instances in the cluster along with any pods running on those nodes
24+
25+
## Alternatives to deleting a cluster
26+
27+
Before you delete a cluster, consider **stopping the cluster**. Stopping an AKS cluster stops the control plane and agent nodes, allowing you to save on compute costs while maintaining all objects except standalone pods. When you stop a cluster, its state is saved and you can restart the cluster at any time. For more information, see [Stop an AKS cluster][stop-cluster].
28+
29+
If you want to delete a cluster to change its configuration, you can instead use the [AKS cluster upgrade][upgrade-cluster] feature to upgrade the cluster to a different Kubernetes version or change the node pool configuration. For more information, see [Upgrade an AKS cluster][upgrade-cluster].
30+
31+
## Delete a cluster
32+
33+
> [!IMPORTANT]
34+
> **You can't recover a cluster after it's deleted**. If you need to recover a cluster, you need to create a new cluster and redeploy your applications.
35+
### [Azure CLI](#tab/azure-cli)
36+
37+
Delete a cluster using the [`az aks delete`][az-aks-delete] command. The following example deletes the `myAKSCluster` cluster in the `myResourceGroup` resource group:
38+
39+
```azurecli-interactive
40+
az aks delete --name myAKSCluster --resource-group myResourceGroup
41+
```
42+
43+
### [Azure PowerShell](#tab/azure-powershell)
44+
45+
Delete a cluster using the [`Remove-AzAks`][remove-azaks] command. The following example deletes the `myAKSCluster` cluster in the `myResourceGroup` resource group:
46+
47+
```azurepowershell-interactive
48+
Remove-AzAksCluster -Name myAKSCluster -ResourceGroupName myResourceGroup
49+
```
50+
51+
### [Azure portal](#tab/azure-portal)
52+
53+
You can delete a cluster using the Azure portal. To delete a cluster, navigate to the **Overview** page for the cluster and select **Delete**. You can also delete a cluster from the **Resource group** page by selecting the cluster and then selecting **Delete**.
54+
55+
---
56+
57+
## Next steps
58+
59+
For more information about AKS, see [Core Kubernetes concepts for AKS][core-concepts].
60+
61+
<!-- LINKS -->
62+
[node-resource-group]: ./concepts-clusters-workloads.md#node-resource-group
63+
[stop-cluster]: ./start-stop-cluster.md
64+
[upgrade-cluster]: ./upgrade-cluster.md
65+
[az-aks-delete]: /cli/azure/aks#az_aks_delete
66+
[remove-azaks]: /powershell/module/az.aks/remove-azakscluster
67+
[core-concepts]: ./concepts-clusters-workloads.md

articles/aks/kubernetes-service-principal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Use a service principal with Azure Kubernetes Services (AKS)
33
description: Learn how to create and manage a Microsoft Entra service principal with a cluster in Azure Kubernetes Service (AKS).
4+
author: tamram
5+
46
ms.topic: conceptual
57
ms.subservice: aks-security
68
ms.date: 06/27/2023
7-
author: schaffererin
8-
ms.author: schaffererin
9-
9+
ms.author: tamram
1010
ms.custom: devx-track-azurepowershell, devx-track-azurecli
1111

1212
#Customer intent: As a cluster operator, I want to understand how to create a service principal and delegate permissions for AKS to access required resources. In large enterprise environments, the user that deploys the cluster (or CI/CD system), may not have permissions to create this service principal automatically when the cluster is created.

articles/app-service/environment/how-to-side-by-side-migrate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to migrate your App Service Environment v2 to App Service
44
author: seligj95
55
ms.topic: tutorial
66
ms.custom: devx-track-azurecli
7-
ms.date: 4/12/2024
7+
ms.date: 4/26/2024
88
ms.author: jordanselig
99
---
1010
# Use the side-by-side migration feature to migrate App Service Environment v2 to App Service Environment v3
@@ -258,7 +258,7 @@ az rest --method get --uri "${ASE_ID}?api-version=2022-03-01" --query properties
258258

259259
This step is your opportunity to test and validate your new App Service Environment v3. By default, traffic is sent to your App Service Environment v2 front ends. If you're using an ILB App Service Environment v3, you can test your App Service Environment v3 front ends by updating your private DNS zone with the new inbound IP address. If you're using an ELB App Service Environment v3, the process for testing is dependent on your specific network configuration. One simple method to test for ELB environments is to update your hosts file to use your new App Service Environment v3 inbound IP address. If you have custom domains assigned to your individual apps, you can alternatively update their DNS to point to the new inbound IP. Testing this change allows you to fully validate your App Service Environment v3 before initiating the final step of the migration where your old App Service Environment is deleted. If you're able to access your apps without issues that means you're ready to complete the migration.
260260

261-
Once you confirm your apps are working as expected, you can redirect customer traffic to your new App Service Environment v3 by running the following command. This command also deletes your old environment.
261+
Once you confirm your apps are working as expected, you can redirect customer traffic to your new App Service Environment v3 by running the following command. This command also deletes your old environment. You have 14 days to complete this step. If you don't complete this step in 14 days, your migration is automatically reverted back to an App Service Environment v2. If you need more than 14 days to complete this step, contact support.
262262

263263
If you find any issues or decide at this point that you no longer want to proceed with the migration, contact support to revert the migration. Don't run the DNS change command if you need to revert the migration. For more information, see [Revert migration](./side-by-side-migrate.md#redirect-customer-traffic-validate-your-app-service-environment-v3-and-complete-migration).
264264

articles/app-service/environment/side-by-side-migrate.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,11 @@ The new inbound IP address is given so that you can set up new endpoints with se
204204

205205
The final step is to redirect traffic to your new App Service Environment v3 and complete the migration. The platform does this change for you, but only when you initiate it. Before you do this step, you should review your new App Service Environment v3 and perform any needed testing to validate that it's functioning as intended. By default, traffic goes to your App Service Environment v2 front ends. If you're using an ILB App Service Environment v3, you can test your App Service Environment v3 front ends by updating your private DNS zone with the new inbound IP address. If you're using an ELB App Service Environment v3, the process for testing is dependent on your specific network configuration. One simple method to test for ELB environments is to update your hosts file to use your new App Service Environment v3 inbound IP address. If you have custom domains assigned to your individual apps, you can alternatively update their DNS to point to the new inbound IP. Testing this change allows you to fully validate your App Service Environment v3 before initiating the final step of the migration where your old App Service Environment is deleted.
206206

207-
Once you're ready to redirect traffic, you can complete the final step of the migration. This step updates internal DNS records to point to the load balancer IP address of your new App Service Environment v3 and the front ends that were created during the migration. Changes are effective within a couple minutes. If you run into issues, check your cache and TTL settings. This step also shuts down your old App Service Environment and deletes it. Your new App Service Environment v3 is now your production environment.
207+
Once you're ready to redirect traffic, you can complete the final step of the migration. This step updates internal DNS records to point to the load balancer IP address of your new App Service Environment v3 and the front ends that were created during the migration. Changes are effective within a couple minutes. If you run into issues, check your cache and TTL settings. This step also shuts down your old App Service Environment and deletes it. Your new App Service Environment v3 is now your production environment.
208+
209+
> [!NOTE]
210+
> You have 14 days to complete this step. If you don't complete this step in 14 days, your migration is automatically reverted back to an App Service Environment v2. If you need more than 14 days to complete this step, contact support.
211+
>
208212
209213
If you discover any issues with your new App Service Environment v3, don't run the command to redirect customer traffic. This command also initiates the deletion of your App Service Environment v2. If you find an issue, you can revert all changes and return to your old App Service Environment v2. The revert process takes 3 to 6 hours to complete. There's no downtime associated with this process. Once the revert process completes, your old App Service Environment is back online and your new App Service Environment v3 is deleted. You can then attempt the migration again once you resolve any issues.
210214

articles/azure-functions/durable/durable-functions-dotnet-isolated-overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ This table isn't an exhaustive list of changes.
160160
| `IDurableEntityContext.SignalEntity` | `TaskEntityContext.SignalEntity` |
161161
| `IDurableEntityContext.StartNewOrchestration` | `TaskEntityContext.ScheduleNewOrchestration` |
162162
| `IDurableEntityContext.DispatchAsync` | `TaskEntityDispatcher.DispatchAsync`. Constructor params removed. |
163+
| `IDurableOrchestrationClient.GetStatusAsync` | `DurableTaskClient.GetInstanceAsync` |
163164

164165
#### Behavioral changes
165166

0 commit comments

Comments
 (0)