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-deploy-iot-operations.md
+21-3Lines changed: 21 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ A cluster host:
58
58
59
59
* (Recommended) Configure your own certificate authority issuer before deploying Azure IoT Operations: [Bring your own issuer](../secure-iot-ops/howto-manage-certificates.md#bring-your-own-issuer).
60
60
61
-
## Deploy
61
+
## Deploy in Azure portal
62
62
63
63
The Azure portal deployment experience is a helper tool that generates a deployment command based on your resources and configuration. The final step is to run an Azure CLI command, so you still need the Azure CLI prerequisites described in the previous section.
64
64
@@ -129,7 +129,7 @@ The Azure portal deployment experience is a helper tool that generates a deploym
129
129
130
130
1. Select **Next: Automation**.
131
131
132
-
###Run Azure CLI commands
132
+
## Run Azure CLI commands
133
133
134
134
The final step in the Azure portal deployment experience is to run a set of Azure CLI commands to deploy Azure IoT Operations to your cluster. The commands are generated based on the information you provided in the previous steps.
135
135
@@ -148,11 +148,23 @@ One at a time, run each Azure CLI command on the **Automation** tab in a termina
148
148
az extension add --upgrade --name azure-iot-ops
149
149
```
150
150
151
-
1.Create a schema registry which will be used by Azure IoT Operations components. Copy and run the provided [az iot ops schema registry create](/cli/azure/iot/ops/schema/registry#az-iot-ops-schema-registry-create) command. If you chose to use an existing schema registry, this command isn't displayed on the **Automation** tab.
151
+
1. Copy and run the provided [az iot ops schema registry create](/cli/azure/iot/ops/schema/registry#az-iot-ops-schema-registry-create) command to create a schema registry which is used by Azure IoT Operations components. If you chose to use an existing schema registry, this command isn't displayed on the **Automation** tab.
152
152
153
153
> [!NOTE]
154
154
> This command requires that you have role assignment write permissions because it assigns a role to give schema registry access to the storage account. By default, the role is the built-in **Storage Blob Data Contributor** role, or you can create a custom role with restricted permissions to assign instead. For more information, see [az iot ops schema registry create](/cli/azure/iot/ops/schema/registry#az-iot-ops-schema-registry-create).
155
155
156
+
1. Azure IoT Operations uses *namespaces* to organize assets and devices. Each Azure IoT Operations instance uses a single namespace for its assets and devices. You can use an existing namespace or run the `az iot ops ns create` command to create an Azure Device Registry namespace. Replace `<my namespace name>` with a unique name for your namespace.
Alternatively, you can create a new Azure Device Registry namespace in Azure portal:
163
+
164
+
1. In the search box, type and select **Azure Device Registry**.
165
+
1. In the left menu, select **Namespaces**.
166
+
1. Then select **+ Create** to create a new namespace. Make sure to use the same resource group as your Arc-enabled Kubernetes cluster.
167
+
156
168
1. To prepare the cluster for Azure IoT Operations deployment, copy and run the provided [az iot ops init](/cli/azure/iot/ops#az-iot-ops-init) command.
157
169
158
170
> [!TIP]
@@ -162,6 +174,12 @@ One at a time, run each Azure CLI command on the **Automation** tab in a termina
162
174
163
175
1. Deploy Azure IoT Operations. Copy and run the provided [az iot ops create](/cli/azure/iot/ops#az-iot-ops-create) command. This command might take several minutes to complete. You can watch the progress in the deployment progress display in the terminal.
164
176
177
+
* If you want to use an existing namespace, add the following parameter to the `create` command:
Copy file name to clipboardExpand all lines: articles/iot-operations/deploy-iot-ops/howto-deploy-iot-test-operations.md
+21-3Lines changed: 21 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,7 @@ The Azure portal deployment experience is a helper tool that generates a deploym
115
115
116
116
1. Select **Next: Automation**.
117
117
118
-
###Run Azure CLI commands
118
+
## Run Azure CLI commands
119
119
120
120
The final step in the Azure portal deployment experience is to run a set of Azure CLI commands to deploy Azure IoT Operations to your cluster. The commands are generated based on the information you provided in the previous steps.
121
121
@@ -133,7 +133,19 @@ One at a time, run each Azure CLI command on the **Automation** tab in a termina
133
133
az extension add --upgrade --name azure-iot-ops
134
134
```
135
135
136
-
1. Create a schema registry which will be used by Azure IoT Operations components. Copy and run the provided [az iot ops schema registry create](/cli/azure/iot/ops/schema/registry#az-iot-ops-schema-registry-create) command. If you chose to use an existing schema registry, this command isn't displayed on the **Automation** tab.
136
+
1. Copy and run the provided [az iot ops schema registry create](/cli/azure/iot/ops/schema/registry#az-iot-ops-schema-registry-create) command to create a schema registry which is used by Azure IoT Operations components. If you chose to use an existing schema registry, this command isn't displayed on the **Automation** tab.
137
+
138
+
1. Azure IoT Operations uses *namespaces* to organize assets and devices. Each Azure IoT Operations instance uses a single namespace for its assets and devices. You can use an existing namespace or run the `az iot ops ns create` command to create an Azure Device Registry namespace. Replace `<my namespace name>` with a unique name for your namespace.
Alternatively, you can create a new Azure Device Registry namespace in Azure portal:
145
+
146
+
1. In the search box, type and select **Azure Device Registry**.
147
+
1. In the left menu, select **Namespaces**.
148
+
1. Then select **+ Create** to create a new namespace. Make sure to use the same resource group as your Arc-enabled Kubernetes cluster.
137
149
138
150
1. Prepare the cluster for Azure IoT Operations deployment. Copy and run the provided [az iot ops init](/cli/azure/iot/ops#az-iot-ops-init) command.
139
151
@@ -144,9 +156,15 @@ One at a time, run each Azure CLI command on the **Automation** tab in a termina
144
156
145
157
1. To deploy Azure IoT Operations, copy and run the provided [az iot ops create](/cli/azure/iot/ops#az-iot-ops-create) command. This command might take several minutes to complete. You can watch the progress in the deployment progress display in the terminal.
146
158
159
+
* If you want to use an existing namespace, add the following parameter to the `create` command:
0 commit comments