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: README.md
+14-37Lines changed: 14 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,8 @@ This repo contains the deployment definition of Azure IoT Operations (AIO) and a
6
6
AIO to be deployed to an Arc-enabled K8s cluster. This repository does not encourage pull requests, as the repo is
7
7
meant for publicly sharing the releases of AIO and not shared development of AIO.
8
8
9
-
Please see the [Azure IoT Operations Documentation](https://aka.ms/AIOdocs).
9
+
Please see the [Azure IoT Operations documentation](https://aka.ms/AIOdocs) for more information. To learn how to
10
+
deploy AIO using GitOps, see the [Deploy to cluster documentation](https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/howto-deploy-iot-operations?tabs=github#deploy-extensions).
10
11
11
12
## Forking the Repo
12
13
@@ -28,46 +29,22 @@ need to take to set up the fork.
28
29
in your fork. Repository secrets can be found under **Settings**>**Secrets and
29
30
variables**>**Actions**. To learn more, see [creating secrets for a repository](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository).
30
31
31
-
2. To be able to use secrets in AIO, follow [Manage Secrets](https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/howto-manage-secrets) to create an AKV and a Service Principal with access to AKV.
32
+
2. Enable GitHub actions on the fork.
32
33
33
-
3. Create and setup K8s Arc-enabled cluster.
34
+
1. On the forked repo, select**Actions**and select**I understand my workflows, go ahead and enable them.**
34
35
35
-
1. If you don't have an existing K8s cluster, try [minikube](https://minikube.sigs.k8s.io/docs/).
36
+
## Available Parameters
36
37
37
-
2. Arc-enable your K8s cluster using the [az connectedk8s connect](https://learn.microsoft.com/cli/azure/connectedk8s#az-connectedk8s-connect) command.
38
+
Various parameters can be specified when deploying AIO. The below table describes these parameters. For an example parameter file, see `environments/example.parameters.json`.
3. Use the [az connectedk8s enable-features](https://learn.microsoft.com/cli/azure/connectedk8s?view=azure-cli-latest#az-connectedk8s-enable-features) command to enable custom location support on your cluster.
44
-
45
-
```bash
46
-
az connectedk8s enable-features -n $CLUSTER_NAME -g $RESOURCE_GROUP --features cluster-connect custom-locations
47
-
```
48
-
49
-
3. Run cluster setup script from `tools/setup-cluster/setup-cluster.sh`.
50
-
51
-
1. In setup-cluster.sh, update the variables at the top of the script to have the values for your Azure Subscription, Resources, and Cluster.
52
-
53
-
4. Deploy Azure IoT Operations.
54
-
55
-
1. Create parameter file where environment configuration is specified for your AIO deployment. For an example, see `environments/example.parameters.json`.
| clusterName | ***[Required]*** | `string` | The Arc-enabled cluster resource in Azure. |
60
-
| clusterLocation | *[Optional]* | `string` |If the cluster resource's location is different than its resource group's location, the cluster location will need to be specified. Otherwise, this parameter will default to the location of the resource group. |
61
-
| location | *[Optional]* | `string` | If the resource group's location is not a supported AIO region, this parameter can be used to override the location of the AIO resources. |
62
-
| dataProcessorSecrets |*[Optional]*<sup>1</sup>|`object`| Add the name of the SecretProviderClass and k8s AKV SP secret that were created from the `setup-cluster.sh`. This should be something like `aio-default-spc` and `aio-akv-sp`, respectively. <br><br>Example:<br><pre>{<br>"secretProviderClassName": "aio-default-spc",<br>"servicePrincipalSecretRef": "aio-akv-sp"<br>}</pre>|
63
-
| mqSecrets |*[Optional]*<sup>1</sup>|`object`| Add the name of the SecretProviderClass and k8s AKV SP secret that were created from the `setup-cluster.sh`. This should be something like `aio-default-spc` and `aio-akv-sp`, respectively. <br><br>Example:<br><pre>{<br>"secretProviderClassName": "aio-default-spc",<br>"servicePrincipalSecretRef": "aio-akv-sp"<br>}</pre>|
64
-
| opcUaBrokerSecrets |*[Optional]*<sup>1</sup>|`object`| Add the name of the k8s AKV SP secret that was created from the `setup-cluster.sh`. This should be something like `aio-akv-sp` and kind should be `csi`. <br><br>Example:<br><pre>{<br>"kind": "csi",<br>"csiServicePrincipalSecretRef": "aio-akv-sp"<br>}</pre>|
65
-
66
-
><sup>1</sup> This param is only necessary if you are using different values than the defaults specified in`setup-cluster.sh`.
67
-
68
-
2. On the forked repo, select**Actions** and select**I understand my workflows, go ahead and enable them.**
69
-
70
-
3. Run the **Deploy Azure IoT Operations** GitHub Action. You'll need to provide both the `subscription` and `resource group` where your Arc-enabled cluster resource is and the path to the `environment parameters file` you created previously.
| clusterName |***[Required]***|`string`| The Arc-enabled cluster resource in Azure. |
43
+
| clusterLocation |*[Optional]*|`string`|If the cluster resource's location is different than its resource group's location, the cluster location will need to be specified. Otherwise, this parameter will default to the location of the resource group. |
44
+
| location |*[Optional]*|`string`| If the resource group's location is not a supported AIO region, this parameter can be used to override the location of the AIO resources. |
45
+
| simulatePLC | *[Optional]* | `boolean` | Flag to enable a simulated PLC. The default is false. |
46
+
| opcuaDiscoveryEndpoint | *[Optional]* | `string` | The OPC UA Discovery Endpoint used by Akri. The default is opc.tcp://<NOT_SET>:<NOT_SET>. |
47
+
| deployResourceSyncRules | *[Optional]* | `boolean` | Flag to deploy the default resource sync rules for the AIO arc extensions. The default is `true`.|
71
48
72
49
## Trademarks
73
50
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is
0 commit comments