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
+12-6Lines changed: 12 additions & 6 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: how-to
7
7
ms.custom: ignite-2023, devx-track-azurecli
8
-
ms.date: 07/30/2024
8
+
ms.date: 08/02/2024
9
9
10
10
#CustomerIntent: As an OT professional, I want to deploy Azure IoT Operations to a Kubernetes cluster.
11
11
---
@@ -102,11 +102,17 @@ Use the Azure CLI to deploy Azure IoT Operations to your Arc-enabled Kubernetes
102
102
az iot ops init --cluster <CLUSTER_NAME> --resource-group <RESOURCE_GROUP> --kv-id <KEYVAULT_SETTINGS_PROPERTIES_RESOURCE_ID>
103
103
```
104
104
105
-
If you want to name your Azure IoT Operations instance, include the `--name` parameter. Otherwise, a default name is assigned. You can view the `instanceName` parameter in the command output.
105
+
Use the optional command parameters to customize your deployment. For example:
106
106
107
-
If you don't have **Microsoft.Authorization/roleAssignment/write** permissions in the resource group, add the `--disable-rsync-rules` feature flag. This flag disables the resource sync rules on the deployment.
108
-
109
-
If you want to use an existing service principal and app registration instead of allowing `init` to create new ones, include the `--sp-app-id,``--sp-object-id`, and `--sp-secret` parameters. For more information, see [Configure service principal and Key Vault manually](howto-manage-secrets.md#configure-service-principal-and-key-vault-manually).
107
+
| Parameter | Value | Description |
108
+
| --------- | ----- | ----------- |
109
+
|`--add-insecure-listener`|| Add an insecure 1883 port config to the default listener. *Not for production use*. |
110
+
|`--broker-config-file`| Path to JSON file | Provide a configuration file for the MQTT broker. For more information, see [Advanced MQTT broker config](https://github.com/Azure/azure-iot-ops-cli-extension/wiki/Advanced-Mqtt-Broker-Config). |
111
+
|`--disable-rsync-rules`|| Disable the resource sync rules on the deployment feature flag if you don't have **Microsoft.Authorization/roleAssignment/write** permissions in the resource group. |
112
+
|`--name`| String | Provide a name for your Azure IoT Operations instance. Otherwise, a default name is assigned. You can view the `instanceName` parameter in the command output. |
113
+
|`--no-progress`|| Disables the deployment progress display in the terminal. |
114
+
|`--simulate-pc`|| Include the OPC PLC simulator that ships with the OPC UA connector. |
115
+
|`--sp-app-id`, `--sp-object-id`, `--sp-secret`| Service principal app id, service principal object id, and service principal secret | Include all or some of these parameters to use an existing service principal, app registration, and secret instead of allowing `init` to create new ones. For more information, see [Configure service principal and Key Vault manually](howto-manage-secrets.md#configure-service-principal-and-key-vault-manually). |
110
116
111
117
1. While the deployment is in progress, you can watch the resources being applied to your cluster.
112
118
@@ -118,7 +124,7 @@ Use the Azure CLI to deploy Azure IoT Operations to your Arc-enabled Kubernetes
118
124
119
125
:::image type="content" source="./media/howto-deploy-iot-operations/view-deployment-portal.png" alt-text="A screenshot that shows the progress of an Azure IoT Operations deployment in the Azure portal." lightbox="./media/howto-deploy-iot-operations/view-deployment-portal.png":::
120
126
121
-
* Otherwise, or if you choose to disable the progress interface with `--no-progress`, you can use kubectl commands to view the pods on your cluster:
127
+
* Otherwise, or if you include the `--no-progress` flag, you can use kubectl commands to view the pods on your cluster:
0 commit comments