Skip to content

Commit 290785d

Browse files
committed
updates per Nick G, Nick O, and Shubham
1 parent e2fd3ab commit 290785d

File tree

4 files changed

+37
-24
lines changed

4 files changed

+37
-24
lines changed

articles/aks/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,8 @@
444444
href: dapr-overview.md
445445
- name: How to use Dapr
446446
href: dapr.md
447+
- name: Migrate from Dapr OSS
448+
href: dapr-migration.md
447449
- name: Use GitOps
448450
href: ../azure-arc/kubernetes/tutorial-use-gitops-flux2.md
449451
maintainContext: true

articles/aks/dapr-migration.md

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
---
2-
title: Migrate to the Dapr extension in Azure Kubernetes Service (AKS)
3-
description: Learn how to migrate from Dapr OSS to the Dapr extension in AKS
2+
title: Migrate from Dapr OSS to the Dapr extension for Azure Kubernetes Service (AKS)
3+
description: Learn how to migrate from Dapr OSS to the Dapr extension for AKS
44
author: hhunter-ms
55
ms.author: hannahhunter
66
ms.reviewer: nigreenf
77
ms.service: container-service
88
ms.topic: article
9-
ms.date: 07/20/2022
10-
ms.custom: devx-track-azurecli, ignite-fall-2021, event-tier1-build-2022
9+
ms.date: 07/21/2022
10+
ms.custom: devx-track-azurecli
1111
---
1212

13-
# Migrate to the Dapr extension in Azure Kubernetes Service (AKS)
13+
# Migrate from Dapr OSS to the Dapr extension for Azure Kubernetes Service (AKS)
1414

15-
You've installed and configured Dapr OSS on your Kubernetes cluster and want to migrate to the Dapr extension on AKS. Before you can successfully migrate to the Dapr extension, you need to fully remove Dapr OSS from your machine. In this guide, you will migrate from Dapr OSS to the Dapr extension for AKS by:
15+
You've installed and configured Dapr OSS on your Kubernetes cluster and want to migrate to the Dapr extension on AKS. Before you can successfully migrate to the Dapr extension, you need to fully remove Dapr OSS from your AKS cluster. In this guide, you will migrate from Dapr OSS by:
1616

1717
> [!div class="checklist"]
18-
> - Uninstalling Dapr, including CRDs and namespace.
19-
> - Installing Dapr via the Dapr extension for AKS.
20-
> - Applying your components.
21-
> - Restarting your Dapr workloads.
18+
> - Uninstalling Dapr, including CRDs and the `dapr-system` namespace
19+
> - Installing Dapr via the Dapr extension for AKS
20+
> - Applying your components
21+
> - Restarting your applications that use Dapr
2222
2323
> [!NOTE]
24-
> Expect downtime of approximately 10 minutes while migrating to Dapr extension in AKS (2 minutes uninstall/5 minutes install). Downtime may take longer depending on varying factors. During this downtime, no Dapr functionality should be expected to run, including actors, service-to-service invocation, secrets, RBAC roles, etc.
24+
> Expect downtime of approximately 10 minutes while migrating to Dapr extension for AKS. Downtime may take longer depending on varying factors. During this downtime, no Dapr functionality should be expected to run.
2525
2626
## Uninstall Dapr
2727

28-
#### [CLI](#tab/cli)
28+
#### [Dapr CLI](#tab/cli)
2929

3030
1. Run the following command to uninstall Dapr and all CRDs:
3131

32-
```cli
32+
```bash
3333
dapr uninstall -k –-all
3434
```
3535

3636
1. Uninstall the Dapr namespace:
3737

38-
```cli
38+
```bash
3939
kubectl delete namespace dapr-system
4040
```
4141

@@ -46,13 +46,13 @@ kubectl delete namespace dapr-system
4646

4747
1. Run the following command to uninstall Dapr:
4848

49-
```cli
49+
```bash
5050
dapr uninstall -k –-all
5151
```
5252

5353
1. Uninstall CRDs:
5454

55-
```cli
55+
```bash
5656
kubectl delete crd components.dapr.io
5757
kubectl delete crd configurations.dapr.io
5858
kubectl delete crd subscriptions.dapr.io
@@ -61,20 +61,20 @@ kubectl delete crd resiliencies.dapr.io
6161

6262
1. Uninstall the Dapr namespace:
6363

64-
```cli
64+
```bash
6565
kubectl delete namespace dapr-system
6666
```
6767

6868
> [!NOTE]
69-
> `dapr-system` is the default namespace installed with `dapr init -k`. If you created a custom namespace, replace `dapr-system` with your namespace.
69+
> `dapr-system` is the default namespace while doing a Helm install. If you created a custom namespace (`helm install dapr dapr/dapr --namespace <my-namespace>`), replace `dapr-system` with your namespace.
7070
7171
---
7272

7373
## Install Dapr via the AKS extension
7474

7575
Once you've uninstalled Dapr from your system, install the [Dapr extension for AKS and Arc-enabled Kubernetes](./dapr.md#create-the-extension-and-install-dapr-on-your-aks-or-arc-enabled-kubernetes-cluster).
7676

77-
```cli
77+
```bash
7878
az k8s-extension create --cluster-type managedClusters \
7979
--cluster-name <dapr-cluster-name> \
8080
--resource-group <dapr-resource-group> \
@@ -84,14 +84,18 @@ az k8s-extension create --cluster-type managedClusters \
8484

8585
## Apply your components
8686

87-
```cli
87+
```bash
8888
kubectl apply -f <component.yaml>
8989
```
9090

91-
## Restart your Dapr workloads
91+
## Restart your applications that use Dapr
92+
93+
Restarting the deployment will create a new sidecar from the new Dapr installation.
9294

93-
```cli
95+
```bash
9496
kubectl rollout restart <deployment-name>
9597
```
9698

9799
## Next steps
100+
101+
Learn more about [the cluster extension](./dapr-overview.md) and [how to use it](./dapr.md).

articles/aks/dapr-overview.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn more about using Dapr on your Azure Kubernetes Service (AKS)
44
ms.author: nickoman
55
ms.service: container-service
66
ms.topic: article
7-
ms.date: 05/03/2022
7+
ms.date: 07/21/2022
88
ms.custom: devx-track-azurecli, event-tier1-build-2022
99
---
1010

@@ -69,6 +69,8 @@ When installing Dapr OSS via helm or the Dapr CLI, runtime versions and configur
6969

7070
Lastly, the Dapr extension is an extension of AKS, therefore you can expect the same support policy as other AKS features.
7171

72+
[Learn more about migrating from Dapr OSS to the Dapr extension for AKS][dapr-migration].
73+
7274
### How can I switch to using the Dapr extension if I’ve already installed Dapr via a method, such as Helm?
7375

7476
Recommended guidance is to completely uninstall Dapr from the AKS cluster and reinstall it via the cluster extension.
@@ -84,6 +86,7 @@ After learning about Dapr and some of the challenges it solves, try [Deploying a
8486
[osm-docs]: ./open-service-mesh-about.md
8587
[cluster-extensions]: ./cluster-extensions.md
8688
[dapr-quickstart]: ./quickstart-dapr.md
89+
[dapr-migration]: ./dapr-migration.md
8790

8891
<!-- Links External -->
8992
[dapr-docs]: https://docs.dapr.io/

articles/aks/dapr.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: greenie-msft
55
ms.author: nigreenf
66
ms.service: container-service
77
ms.topic: article
8-
ms.date: 07/19/2022
8+
ms.date: 07/21/2022
99
ms.custom: devx-track-azurecli, ignite-fall-2021, event-tier1-build-2022
1010
---
1111

@@ -83,6 +83,9 @@ When installing the Dapr extension, use the flag value that corresponds to your
8383
- **AKS cluster**: `--cluster-type managedClusters`.
8484
- **Arc-enabled Kubernetes cluster**: `--cluster-type connectedClusters`.
8585

86+
> [!NOTE]
87+
> If you're using Dapr OSS on your AKS cluster and would like to install the Dapr extension for AKS, read more about [how to successfully migrate to the Dapr extension][dapr-migration].
88+
8689
Create the Dapr extension, which installs Dapr on your AKS or Arc-enabled Kubernetes cluster. For example, for an AKS cluster:
8790

8891
```azure-cli-interactive
@@ -280,6 +283,7 @@ az k8s-extension delete --resource-group myResourceGroup --cluster-name myAKSClu
280283
[arc-k8s-cluster]: ../azure-arc/kubernetes/quickstart-connect-cluster.md
281284
[update-extension]: ./cluster-extensions.md#update-extension-instance
282285
[install-cli]: /cli/azure/install-azure-cli
286+
[dapr-migration]: ./dapr-migration.md
283287

284288
<!-- LINKS EXTERNAL -->
285289
[kubernetes-production]: https://docs.dapr.io/operations/hosting/kubernetes/kubernetes-production

0 commit comments

Comments
 (0)