Skip to content

Commit 8c172ad

Browse files
committed
clarify manually updating Dapr versions
Signed-off-by: Hannah Hunter <[email protected]>
1 parent a5f0950 commit 8c172ad

File tree

2 files changed

+48
-38
lines changed

2 files changed

+48
-38
lines changed

articles/aks/dapr-overview.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,7 @@ Microsoft provides best-effort support for [the latest version of Dapr and two p
6565

6666
You can run Azure CLI commands to retrieve a list of available versions in [a cluster](/cli/azure/k8s-extension/extension-types#az-k8s-extension-extension-types-list-versions-by-cluster) or [a location](/cli/azure/k8s-extension/extension-types#az-k8s-extension-extension-types-list-versions-by-location).
6767

68-
To view a list of the stable Dapr versions available to your managed AKS cluster, run the following command:
69-
70-
```azurecli
71-
az k8s-extension extension-types list-versions-by-cluster --resource-group myResourceGroup --cluster-name myCluster --cluster-type managedClusters --extension-type microsoft.dapr --release-train stable
72-
```
73-
74-
To see the latest stable Dapr version available to your managed AKS cluster, run the following:
75-
76-
```azurecli
77-
az k8s-extension extension-types list-versions-by-cluster --resource-group myResourceGroup --cluster-name myCluster --cluster-type managedClusters --extension-type microsoft.dapr --release-train stable --show-latest
78-
```
79-
80-
To view a list of the stable Dapr versions available _by location_:
81-
1. [Make sure you've registered the `ExtenstionTypes` feature to your Azure subscription.](./dapr.md#register-the-extenstiontypes-feature-to-your-azure-subscription)
82-
1. Run the following command.
83-
84-
```azurecli
85-
az k8s-extension extension-types list-versions-by-location --location westus --extension-type microsoft.dapr
86-
```
68+
[Learn how to view and target the latest stable Dapr versions available to your managed AKS cluster.](./dapr.md#viewing-the-latest-stable-dapr-versions-available)
8769

8870
### Runtime support
8971

articles/aks/dapr.md

Lines changed: 47 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,29 @@ az k8s-extension create --cluster-type managedClusters \
126126
--auto-upgrade-minor-version false
127127
```
128128

129-
### Configuring automatic updates to Dapr control plane
129+
### Keep your managed AKS cluster updated to the latest version
130+
131+
Based on your environment (dev, test, or production), you can keep up-to-date with the latest stable Dapr versions.
132+
133+
### Choosing a release train
134+
135+
When configuring the extension, you can choose to install Dapr from a particular release train. Specify one of the two release train values:
136+
137+
| Value | Description |
138+
| -------- | ----------------------------------------- |
139+
| `stable` | Default. |
140+
| `dev` | Early releases, can contain experimental features. Not suitable for production. |
141+
142+
For example:
143+
144+
```azurecli
145+
--release-train stable
146+
```
147+
148+
#### Configuring automatic updates to Dapr control plane
130149

131150
> [!WARNING]
132-
> You can enable automatic updates to the Dapr control plane only in dev or test environments. Auto-upgrade is not suitable for production environments.
151+
> Auto-upgrade is not suitable for production environments. Only enable automatic updates to the Dapr control plane in dev or test environments. [Learn how to manually upgrade to the latest Dapr version for production environments.](#viewing-the-latest-stable-dapr-versions-available)
133152
134153
If you install Dapr without specifying a version, `--auto-upgrade-minor-version` *is automatically enabled*, configuring the Dapr control plane to automatically update its minor version on new releases.
135154

@@ -141,12 +160,36 @@ You can disable auto-update by specifying the `--auto-upgrade-minor-version` par
141160
--auto-upgrade-minor-version true
142161
```
143162

163+
### Viewing the latest stable Dapr versions available
164+
165+
To upgrade to the latest Dapr version in a production environment, you need to manually upgrade. Start by viewing a list of the stable Dapr versions available to your managed AKS cluster. Run the following command:
166+
167+
```azurecli
168+
az k8s-extension extension-types list-versions-by-cluster --resource-group myResourceGroup --cluster-name myCluster --cluster-type managedClusters --extension-type microsoft.dapr --release-train stable
169+
```
170+
171+
To see the latest stable Dapr version available to your managed AKS cluster, run the following:
172+
173+
```azurecli
174+
az k8s-extension extension-types list-versions-by-cluster --resource-group myResourceGroup --cluster-name myCluster --cluster-type managedClusters --extension-type microsoft.dapr --release-train stable --show-latest
175+
```
176+
177+
To view a list of the stable Dapr versions available _by location_:
178+
1. [Make sure you've registered the `ExtenstionTypes` feature to your Azure subscription.](./dapr.md#register-the-extenstiontypes-feature-to-your-azure-subscription)
179+
1. Run the following command.
180+
181+
```azurecli
182+
az k8s-extension extension-types list-versions-by-location --location westus --extension-type microsoft.dapr
183+
```
184+
185+
[Next, manually update Dapr to the latest stable version.](#targeting-a-specific-dapr-version)
186+
144187
### Targeting a specific Dapr version
145188

146189
> [!NOTE]
147190
> 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.
148191
149-
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 1.11.2:
192+
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 1.13.5:
150193

151194
```azurecli
152195
az k8s-extension create --cluster-type managedClusters \
@@ -155,22 +198,7 @@ az k8s-extension create --cluster-type managedClusters \
155198
--name dapr \
156199
--extension-type Microsoft.Dapr \
157200
--auto-upgrade-minor-version false \
158-
--version 1.11.2
159-
```
160-
161-
### Choosing a release train
162-
163-
When configuring the extension, you can choose to install Dapr from a particular release train. Specify one of the two release train values:
164-
165-
| Value | Description |
166-
| -------- | ----------------------------------------- |
167-
| `stable` | Default. |
168-
| `dev` | Early releases, can contain experimental features. Not suitable for production. |
169-
170-
For example:
171-
172-
```azurecli
173-
--release-train stable
201+
--version 1.13.5
174202
```
175203

176204
# [Bicep](#tab/bicep)

0 commit comments

Comments
 (0)