Skip to content

Commit 7681b2d

Browse files
committed
dapr overview freshness
Signed-off-by: Hannah Hunter <[email protected]>
1 parent 2e0a745 commit 7681b2d

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

articles/aks/dapr.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,36 @@ author: greenie-msft
55
ms.author: nigreenf
66
ms.service: azure-kubernetes-service
77
ms.topic: article
8-
ms.date: 01/06/2023
8+
ms.date: 03/06/2023
99
ms.custom: devx-track-azurecli, ignite-fall-2021, event-tier1-build-2022, references_regions
1010
---
1111

1212
# Dapr extension for Azure Kubernetes Service (AKS) and Arc-enabled Kubernetes
1313

14-
[Dapr](https://dapr.io/) is a portable, event-driven runtime that simplifies building resilient, stateless, and stateful applications that run on the cloud and edge and embrace the diversity of languages and developer frameworks. Applying the benefits of a sidecar architecture, Dapr helps you tackle the challenges that come with building microservices and keeps your code platform agnostic. In particular, it helps solve problems around services:
14+
As a portable, event-driven runtime, [Dapr](https://dapr.io/) simplifies building resilient, stateless, and stateful applications that run on the cloud and edge and embrace the diversity of languages and developer frameworks. With its sidecar architecture, Dapr helps you tackle the challenges that come with building microservices and keeps your code platform agnostic. In particular, it helps solve problems around services:
1515
- Calling other services reliably and securely
1616
- Building event-driven apps with pub-sub
1717
- Building applications that are portable across multiple cloud services and hosts (for example, Kubernetes vs. a VM)
1818

19-
[By using the Dapr extension to provision Dapr on your AKS or Arc-enabled Kubernetes cluster](../azure-arc/kubernetes/conceptual-extensions.md), you eliminate the overhead of downloading Dapr tooling and manually installing and managing the runtime on your AKS cluster. Additionally, the extension offers support for all [native Dapr configuration capabilities][dapr-configuration-options] through simple command-line arguments.
19+
[Using the Dapr extension to provision Dapr on your AKS or Arc-enabled Kubernetes cluster](../azure-arc/kubernetes/conceptual-extensions.md) eliminates the overhead of:
20+
- Downloading Dapr tooling
21+
- Manually installing and managing the runtime on your AKS cluster
22+
23+
Additionally, the extension offers support for all [native Dapr configuration capabilities][dapr-configuration-options] through simple command-line arguments.
2024

2125
> [!NOTE]
2226
> If you plan on installing Dapr in a Kubernetes production environment, see the [Dapr guidelines for production usage][kubernetes-production] documentation page.
2327
2428
## How it works
2529

26-
The Dapr extension uses the Azure CLI to provision the Dapr control plane on your AKS or Arc-enabled Kubernetes cluster. This will create:
30+
The Dapr extension uses the Azure CLI to provision the Dapr control plane on your AKS or Arc-enabled Kubernetes cluster, creating the following Dapr services:
2731

28-
- **dapr-operator**: Manages component updates and Kubernetes services endpoints for Dapr (state stores, pub/subs, etc.)
29-
- **dapr-sidecar-injector**: Injects Dapr into annotated deployment pods and adds the environment variables `DAPR_HTTP_PORT` and `DAPR_GRPC_PORT` to enable user-defined applications to easily communicate with Dapr without hard-coding Dapr port values.
30-
- **dapr-placement**: Used for actors only. Creates mapping tables that map actor instances to pods
31-
- **dapr-sentry**: Manages mTLS between services and acts as a certificate authority. For more information, read the [security overview][dapr-security].
32+
| Dapr service | Description |
33+
| ------------ | ----------- |
34+
| `dapr-operator` | Manages component updates and Kubernetes services endpoints for Dapr (state stores, pub/subs, etc.) |
35+
| `dapr-sidecar-injector` | Injects Dapr into annotated deployment pods and adds the environment variables `DAPR_HTTP_PORT` and `DAPR_GRPC_PORT` to enable user-defined applications to easily communicate with Dapr without hard-coding Dapr port values. |
36+
| `dapr-placement` | Used for actors only. Creates mapping tables that map actor instances to pods. |
37+
| `dapr-sentry` | Manages mTLS between services and acts as a certificate authority. For more information, read the [security overview][dapr-security]. |
3238

3339
Once Dapr is installed on your cluster, you can begin to develop using the Dapr building block APIs by [adding a few annotations][dapr-deployment-annotations] to your deployments. For a more in-depth overview of the building block APIs and how to best use them, see the [Dapr building blocks overview][building-blocks-concepts].
3440

@@ -100,7 +106,7 @@ Global Azure cloud is supported with Arc support on the following regions:
100106

101107
### Set up the Azure CLI extension for cluster extensions
102108

103-
You'll need the `k8s-extension` Azure CLI extension. Install by running the following commands:
109+
Install the `k8s-extension` Azure CLI extension by running the following commands:
104110

105111
```azurecli-interactive
106112
az extension add --name k8s-extension
@@ -114,7 +120,7 @@ az extension update --name k8s-extension
114120

115121
### Register the `KubernetesConfiguration` service provider
116122

117-
If you have not previously used cluster extensions, you may need to register the service provider with your subscription. You can check the status of the provider registration using the [az provider list][az-provider-list] command, as shown in the following example:
123+
If you haven't previously used cluster extensions, you may need to register the service provider with your subscription. You can check the status of the provider registration using the [az provider list][az-provider-list] command, as shown in the following example:
118124

119125
```azurecli-interactive
120126
az provider list --query "[?contains(namespace,'Microsoft.KubernetesConfiguration')]" -o table
@@ -178,7 +184,7 @@ For example:
178184
> [!NOTE]
179185
> Dapr is supported with a rolling window, including only the current and previous versions. It is your operational responsibility to remain up to date with these supported versions. If you have an older version of Dapr, you may have to do intermediate upgrades to get to a supported version.
180186
181-
The same command-line argument is used for installing a specific version of Dapr or rolling back to a previous version. Set `--auto-upgrade-minor-version` to `false` and `--version` to the version of Dapr you wish to install. If the `version` parameter is omitted, the extension will install the latest version of Dapr. For example, to use Dapr X.X.X:
187+
The same command-line argument is used for installing a specific version of Dapr or rolling back to a previous version. Set `--auto-upgrade-minor-version` to `false` and `--version` to the version of Dapr you wish to install. If the `version` parameter is omitted, the extension installs the latest version of Dapr. For example, to use Dapr X.X.X:
182188

183189
```azurecli
184190
az k8s-extension create --cluster-type managedClusters \
@@ -208,7 +214,7 @@ az k8s-extension delete --resource-group myResourceGroup --cluster-name myAKSClu
208214

209215
## Next Steps
210216

211-
- Learn more about [additional settings and preferences you can set on the Dapr extension][dapr-settings].
217+
- Learn more about [extra settings and preferences you can set on the Dapr extension][dapr-settings].
212218
- Once you have successfully provisioned Dapr in your AKS cluster, try deploying a [sample application][sample-application].
213219
- Try out [Dapr Workflow on your Dapr extension for AKS][dapr-workflow]
214220

0 commit comments

Comments
 (0)