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
Copy file name to clipboardExpand all lines: articles/iot-operations/deploy-iot-ops/howto-upgrade.md
+73-10Lines changed: 73 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,29 +5,92 @@ author: kgremban
5
5
ms.author: kgremban
6
6
ms.topic: how-to
7
7
ms.custom: devx-track-azurecli
8
-
ms.date: 11/11/2024
8
+
ms.date: 01/31/2025
9
9
10
10
#CustomerIntent: As an OT professional, I want to manage Azure IoT Operations instances.
11
11
---
12
12
13
-
# Upgrade or rollback between versions
13
+
# Upgrade or downgrade between versions
14
14
15
-
Upgrade an Azure IoT Operations instance to a newer version or rollback to a previous version. Azure IoT Operations supports upgrade and rollback from version 1.0.x onwards. There is no support for upgrading from any preview version of Azure IoT Operations to any generally available (GA) version.
15
+
Upgrade an Azure IoT Operations deployment to a newer version or rollback to a previous version. Azure IoT Operations supports upgrade and rollback from version 1.0.x onwards. There is no support for upgrading from any preview version of Azure IoT Operations to any generally available (GA) version.
16
16
17
-
>[!NOTE]
18
-
>Currently, Azure IoT Operations has only one generally available version. Upgrade and rollback will be available once there are additional versions to upgrade or rollback between.
17
+
## Prerequisites
18
+
19
+
* Azure CLI. This scenario requires Azure CLI version 2.64.0 or higher. Use `az --version` to check your version and `az upgrade` to update if necessary. For more information, see [Get started with Azure CLI](/cli/azure/get-started-with-azure-cli).
20
+
21
+
* The Azure IoT Operations extension for Azure CLI. Use the following command to add the extension or update it to the latest version:
22
+
23
+
```azurecli
24
+
az extension add --upgrade --name azure-iot-ops
25
+
```
19
26
20
27
## Understand upgrade support
21
28
22
-
Upgrade and rollback are supported between N+2 or N-2 minor versions of Azure IoT Operations, or between any patch versions of the same minor version. The following table provides examples:
29
+
Upgrade and rollback are supported between N+3 or N-3 minor versions of Azure IoT Operations, or between any patch versions of the same minor version. The following table provides examples:
23
30
24
-
| Current version | Upgrade range | Rollback range |
| 1.4.4 | 1.4.5 through 1.7.x | 1.1.x through 1.4.3 |
28
36
29
37
## Upgrade
30
38
31
39
Azure IoT Operations supports upgrading instances to new GA versions as they're released.
32
40
33
41
You can't upgrade from a preview installation to a GA version. To move to version 1.0.x, [uninstall Azure IoT Operations](howto-manage-update-uninstall.md#uninstall) and reinstall the new version.
42
+
43
+
### [Azure portal](#tab/portal)
44
+
45
+
If your Azure IoT Operations deployment is eligible for an upgrade, the Azure portal displays an **Upgrade** option. If you don't see the option to upgrade, then your deployment is on the latest version.
46
+
47
+
1. In the [Azure portal](https://portal.azure.com), navigate to your Azure IoT Operations instance.
48
+
1. Select **Upgrade** on the **Overview** page of your instance.
49
+
50
+
:::image type="content" source="./media/howto-upgrade/instance-upgrade.png" alt-text="Screenshot that shows the upgrade button enabled in the Azure portal.":::
51
+
52
+
1. The portal presents the Azure CLI command to upgrade your instance, prepopulated with your subscription, resource group, and instance details. Select the copy icon next to the CLI command.
53
+
54
+
1. Run the copied `az iot ops upgrade` command in any environment where you have the Azure CLI installed.
55
+
56
+
1. After the upgrade command completes successfully, refresh your instance to see the changes.
57
+
58
+
The **Version** value displayed on your instance's overview page reflects the version of the Azure IoT Operations instance. However, you may be prompted to upgrade if a required Arc extension has an available upgrade. You can tell that an upgrade was successful if the **Upgrade** option disappears from the instance overview page, even if it doesn't look like anything changed. You can check the versions of the Arc extensions for your Azure IoT Operation deployment on the **Extensions** page of your Arc-enabled cluster in the Azure portal.
59
+
60
+
### [Azure CLI](#tab/cli)
61
+
62
+
Use the [az iot ops upgrade](/cli/azure/iot/ops#az-iot-ops-upgrade) command to upgrade an existing Azure IoT Operations deployment to a newer version.
63
+
64
+
The upgrade command evaluates the entire Azure IoT Operations deployment for available updates, including the arc extensions that are installed in the `az iot ops init` command as well as the Azure IoT Operations instance.
65
+
66
+
```azurecli
67
+
az iot ops upgrade --resource-group <RESOURCE_GROUP_NAME> --name <INSTANCE_NAME>
68
+
```
69
+
70
+
The CLI outputs a table of the components, if any, that have available upgrades. Enter `Y` to continue with the upgrade.
71
+
72
+
To upgrade to a specific version of a component, specify the version number in the parameters. For example:
73
+
74
+
```azurecli
75
+
az iot ops upgrade --resource-group <RESOURCE_GROUP_NAME> --name <INSTANCE_NAME> --acs-version 2.2.3
76
+
```
77
+
78
+
You can find the supported component versions and release train information in the **azure-iot-operations-enablement.json** file included in any given [Azure IoT Operations release](https://github.com/Azure/azure-iot-operations/releases).
79
+
80
+
---
81
+
82
+
## Downgrade
83
+
84
+
### [Azure portal](#tab/portal)
85
+
86
+
The Azure portal doesn't offer a version downgrade option. Instead, use the Azure CLI.
87
+
88
+
### [Azure CLI](#tab/cli)
89
+
90
+
Use the [az iot ops upgrade](/cli/azure/iot/ops#az-iot-ops-upgrade) command to roll back an existing Azure IoT Operations instance to a previous version.
91
+
92
+
In the upgrade command, you can specify a component version up to three minor versions older that the latest.
93
+
94
+
You can find the supported component versions and release train information in the **azure-iot-operations-enablement.json** file included in any given [Azure IoT Operations release](https://github.com/Azure/azure-iot-operations/releases).
Copy file name to clipboardExpand all lines: articles/iot-operations/get-started-end-to-end-sample/quickstart-deploy.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: kgremban
5
5
ms.author: kgremban
6
6
ms.topic: quickstart
7
7
ms.custom: ignite-2023, devx-track-azurecli
8
-
ms.date: 10/22/2024
8
+
ms.date: 01/30/2025
9
9
10
10
#CustomerIntent: As a < type of user >, I want < what? > so that < why? >.
11
11
---
@@ -166,8 +166,8 @@ Run the following CLI commands in your Codespaces terminal.
166
166
| Placeholder | Value |
167
167
| ----------- | ----- |
168
168
| <STORAGE_ACCOUNT_NAME> | A name for your storage account. Storage account names must be between 3 and 24 characters in length and only contain numbers and lowercase letters. |
169
-
| <SCHEMA_REGISTRY_NAME> | A name for your schema registry. |
170
-
| <SCHEMA_REGISTRY_NAMESPACE> | A name for your schema registry namespace. The namespace uniquely identifies a schema registry within a tenant. |
169
+
| <SCHEMA_REGISTRY_NAME> | A name for your schema registry. Schema registry names can only contain numbers, lowercase letters, and hyphens. |
170
+
| <SCHEMA_REGISTRY_NAMESPACE> | A name for your schema registry namespace. The namespace uniquely identifies a schema registry within a tenant. Schema registry namespace names can only contain numbers, lowercase letters, and hyphens. |
Copy file name to clipboardExpand all lines: articles/iot-operations/troubleshoot/known-issues.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ This article lists the known issues for Azure IoT Operations.
27
27
28
28
- If you deploy Azure IoT Operations in GitHub Codespaces, shutting down and restarting the Codespace causes a `This codespace is currently running in recovery mode due to a configuration error.` issue. Currently, there's no workaround for the issue. If you need a cluster that supports shutting down and restarting, choose one of the options in [Prepare your Azure Arc-enabled Kubernetes cluster](../deploy-iot-ops/howto-prepare-cluster.md).
29
29
30
+
- Downgrading the Azure Container Storage extension from 2.2.3 to 2.2.2 causes a logging loop that leads to high CPU usage warnings. To resolve, upgrade the extension back to 2.2.3. For more information, see [Upgrade or downgrade between versions](../deploy-iot-ops/howto-upgrade.md).
31
+
30
32
## MQTT broker
31
33
32
34
- MQTT broker resources created in your cluster using Kubernetes aren't visible Azure portal. This is expected because [managing Azure IoT Operations components using Kubernetes is in preview](../deploy-iot-ops/howto-manage-update-uninstall.md#preview-manage-components-using-kubernetes-deployment-manifests), and synchronizing resources from the edge to the cloud isn't currently supported.
0 commit comments