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
# Migrate to the Dapr extension in Azure Kubernetes Service (AKS)
13
+
# Migrate from Dapr OSS to the Dapr extension for Azure Kubernetes Service (AKS)
14
14
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:
16
16
17
17
> [!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
22
22
23
23
> [!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.
25
25
26
26
## Uninstall Dapr
27
27
28
-
#### [CLI](#tab/cli)
28
+
#### [Dapr CLI](#tab/cli)
29
29
30
30
1. Run the following command to uninstall Dapr and all CRDs:
> `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.
70
70
71
71
---
72
72
73
73
## Install Dapr via the AKS extension
74
74
75
75
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).
76
76
77
-
```cli
77
+
```bash
78
78
az k8s-extension create --cluster-type managedClusters \
79
79
--cluster-name <dapr-cluster-name> \
80
80
--resource-group <dapr-resource-group> \
@@ -84,14 +84,18 @@ az k8s-extension create --cluster-type managedClusters \
84
84
85
85
## Apply your components
86
86
87
-
```cli
87
+
```bash
88
88
kubectl apply -f <component.yaml>
89
89
```
90
90
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.
92
94
93
-
```cli
95
+
```bash
94
96
kubectl rollout restart <deployment-name>
95
97
```
96
98
97
99
## Next steps
100
+
101
+
Learn more about [the cluster extension](./dapr-overview.md) and [how to use it](./dapr.md).
> 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
+
86
89
Create the Dapr extension, which installs Dapr on your AKS or Arc-enabled Kubernetes cluster. For example, for an AKS cluster:
0 commit comments