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
@@ -28,7 +28,11 @@ The following components are required to enable and configure the Azure Monitor
28
28
| Data flow | Combination of receivers and exporters that run on the pipeline controller instance. Receivers accept data from clients, and exporters to deliver that data to Azure Monitor. |
29
29
| Pipeline configuration | Configuration file that defines the data flows for the pipeline instance. Each data flow includes a receiver and an exporter. The receiver listens for incoming data, and the exporter sends the data to the destination. |
30
30
| Data collection endpoint (DCE) | Endpoint where the data is sent to the Azure Monitor pipeline. The pipeline configuration includes a property for the URL of the DCE so the pipeline instance knows where to send the data. |
31
+
32
+
| Configuration | Description |
33
+
|:---|:---|
31
34
| Data collection rule (DCR) | Configuration file that defines how the data is received in the cloud pipeline and where it's sent. The DCR can also include a transformation to filter or modify the data before it's sent to the destination. |
35
+
| Pipeline configuration | Configuration that defines the data flows for the pipeline instance, including the data flows and cache. |
32
36
33
37
## Supported configurations
34
38
@@ -79,6 +83,14 @@ The following table and diagram describe the detailed steps and components in th
79
83
:::image type="content" source="media/edge-pipeline/cloud-pipeline-data-flow.png" lightbox="media/edge-pipeline/cloud-pipeline-data-flow.png" alt-text="Detailed diagram of the steps and components for data collection using Azure Monitor cloud pipeline." border="false":::
80
84
81
85
## Segmented network
86
+
[Network segmentation](/azure/architecture/networking/guide/network-level-segmentation) is a model where you use software defined perimeters to create a different security posture for different parts of your network. In this model, you may have a network segment that can't connect to the internet or to other network segments. The edge pipeline can be used to collect data from these network segments and send it to the cloud pipeline.
87
+
88
+
:::image type="content" source="media/edge-pipeline/layered-network.png" lightbox="media/edge-pipeline/layered-network.png" alt-text="Diagram of a layered network for Azure Monitor edge pipeline." border="false":::
89
+
90
+
To use Azure Monitor pipeline in a layered network configuration, you must add the following URLs to the allowlist for the Arc-enabled Kubernetes cluster. See [Configure Azure IoT Layered Network Management Preview on level 4 cluster](/azure/iot-operations/manage-layered-network/howto-configure-l4-cluster-layered-network?tabs=k3s#configure-layered-network-management-preview-service).
Edge devices in some environments may experience intermittent connectivity due to various factors such as network congestion, signal interference, power outage, or mobility. In these environments, you can configure the edge pipeline to cache data by creating a [persistent volume](https://kubernetes.io) in your cluster. The process for this will vary based on your particular environment, but the configuration must meet the following requirements:
97
110
@@ -147,100 +160,42 @@ Following are the steps required to create and configure the components required
147
160
148
161
149
162
### Edge pipeline extension
150
-
The following ARM template adds the edge pipeline extension to your Arc-enabled Kubernetes cluster. Replace the properties in the following table before deploying the template.
163
+
The following command adds the edge pipeline extension to your Arc-enabled Kubernetes cluster. Replace the properties in the following table before deploying the template.
151
164
152
-
| Parameter | Description |
153
-
|:---|:--|
154
-
|`name`| Name of the pipeline extension. Must be unique for the subscription. |
155
-
|`scope`| Resource ID of your Arc-enabled Kubernetes cluster. |
156
-
|`releaseNamespace`| Namespace in the cluster where the extension will be deployed. |
The following ARM template creates the custom location for to your Arc-enabled Kubernetes cluster. Replace the properties in the following table before deploying the template.
186
174
187
-
| Parameter | Description |
188
-
|:---|:--|
189
-
|`name`| Name of the custom location. Must be unique for the cluster. |
190
-
|`location`| Location of the custom location. |
191
-
|`hostResourceId`| Resource ID of the Arc-enabled Kubernetes cluster. |
192
-
|`namespace`| Namespace for the custom location. Can use the custom location name. |
193
-
|`clusterExtensionIds`| Resource ID of the edge pipeline extension created in the previous step. |
az connectedk8s enable-features -n <clusterName> -g <resourceGroupName> --features cluster-connect custom-locations
178
+
az customlocation create -n <customLocationName> -g <resourceGroupName> --namespace <name of namespace> --host-resource-id <connectedClusterId> --cluster-extension-ids <extensionId>
214
179
180
+
## Example
181
+
az connectedk8s enable-features -n <clusterName> -g <resourceGroupName> --features cluster-connect custom-locations
182
+
az customlocation create -n <customLocationName> -g <resourceGroupName> --namespace <name of namespace> --host-resource-id <connectedClusterId> --cluster-extension-ids <extensionId>
215
183
```
216
184
217
185
218
186
219
187
### DCE
220
188
The following ARM template creates the [data collection endpoint (DCE)](./data-collection-endpoint-overview.md) required for the edge pipeline to connect to the cloud pipeline. You can use an existing DCE if you already have one in the same region. Replace the properties in the following table before deploying the template.
221
189
222
-
| Parameter | Description |
223
-
|:---|:--|
224
-
|`name`| Name of the DCE. Must be unique for the subscription. |
225
-
|`location`| Location of the DCE. Must match the location of the DCR. |
The DCR is stored in Azure Monitor and defines how the data will be processed when its received from the edge pipeline. The edge pipeline configuration specifies the `immutable ID` of the DCR and the `stream` in the DCR that will process the data.
246
201
@@ -265,10 +220,6 @@ Replace the properties in the following table before deploying the template. See
The Arc-enabled Kubernetes cluster must have access to the DCR to send data to the cloud pipeline. You can use commands in the Azure CLI to grant the necessary permissions.
346
308
@@ -350,7 +312,7 @@ Use the following command to retrieve the object id of the System Assigned Ident
350
312
az k8s-extension show --name <extension-name> --cluster-name <cluster-name> --resource-group <resource-group> --cluster-type connectedClusters --query "identity.principalId" -o tsv
351
313
352
314
## Example:
353
-
az k8s-extension show --name my-pipeline-extension--cluster-name my-cluster --resource-group my-resource-group --cluster-type connectedClusters --query "identity.principalId" -o tsv
315
+
az k8s-extension show --name my-pipeline-extension--cluster-name my-cluster --resource-group my-resource-group --cluster-type connectedClusters --query "identity.principalId" -o tsv
354
316
```
355
317
356
318
Use the output from this command as input to the following command to give Azure Monitor pipeline the authority to send its telemetry to the DCR.
@@ -848,8 +810,88 @@ You can deploy all of the required components for the Azure Monitor edge pipelin
848
810
}
849
811
```
850
812
813
+
### [ARM](#tab/arm)
814
+
815
+
| Parameter | Description |
816
+
|:---|:--|
817
+
|`name`| Name of the pipeline extension. Must be unique for the subscription. |
818
+
|`scope`| Resource ID of your Arc-enabled Kubernetes cluster. |
819
+
|`releaseNamespace`| Namespace in the cluster where the extension will be deployed. |
0 commit comments