Skip to content

Commit afaa1f7

Browse files
author
Jill Grant
authored
Merge pull request #247050 from austonli/patch-36
Update container-insights-cost-config.md
2 parents 1c7fdd8 + 81acdc1 commit afaa1f7

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

articles/azure-monitor/containers/container-insights-cost-config.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Cost optimization settings offer users the ability to customize and control the
1414

1515
## Data collection parameters
1616

17-
The container insights agent periodically checks for the data collection settings, validates, and applies the applicable settings to applicable container insights Log Analytics tables and Custom Metrics. The data collection settings should be applied in the subsequent configured Data collection interval.
17+
The container insights agent periodically checks for the data collection settings, validates and applies the applicable settings to applicable container insights Log Analytics tables and Custom Metrics. The data collection settings should be applied in the subsequent configured Data collection interval.
1818

19-
The following table describes the supported data collection settings
19+
The following table describes the supported data collection settings:
2020

2121
| **Data collection setting** | **Allowed Values** | **Description** |
2222
| -- | --- | -- |
@@ -46,7 +46,7 @@ The settings allow you specify which tables you want to collect using streams. T
4646
This table outlines the list of the container insights Log Analytics tables for which data collection settings are applicable.
4747

4848
>[!NOTE]
49-
>This feature configures settings for all container insights tables (excluding ContainerLog), to configure settings on the ContainerLog please update the ConfigMap listed in documentation for [agent data Collection settings](../containers/container-insights-agent-config.md)
49+
>This feature configures settings for all container insights tables (excluding ContainerLog), to configure settings on the ContainerLog please update the ConfigMap listed in documentation for [agent data Collection settings](../containers/container-insights-agent-config.md).
5050
5151
| ContainerInsights Table Name | Is Data collection setting: interval applicable? | Is Data collection setting: namespaces applicable? | Remarks |
5252
| --- | --- | --- | --- |
@@ -60,7 +60,7 @@ This table outlines the list of the container insights Log Analytics tables for
6060
| Perf | Yes | Yes\* | \*Data collection setting for namespaces is not applicable for the Kubernetes Node related metrics since the Kubernetes Node is not a namespace scoped object. |
6161
| InsightsMetrics| Yes\*\* | Yes\*\* | \*\*Data collection settings are only applicable for the metrics collecting the following namespaces: container.azm.ms/kubestate, container.azm.ms/pv and container.azm.ms/gpu |
6262

63-
## Custom Metrics
63+
## Custom metrics
6464

6565
| Metric namespace | Is Data collection setting: interval applicable? | Is Data collection setting: namespaces applicable? | Remarks |
6666
| --- | --- | --- | --- |
@@ -93,7 +93,7 @@ resources
9393

9494
Reference the [Limitations](./container-insights-cost-config.md#limitations) section for information on migrating your Recommended alerts.
9595

96-
## Pre-requisites
96+
## Prerequisites
9797

9898
- AKS Cluster MUST be using either System or User Assigned Managed Identity
9999
- If the AKS Cluster is using Service Principal, you must upgrade to [Managed Identity](../../aks/use-managed-identity.md#enable-managed-identities-on-an-existing-aks-cluster)
@@ -166,7 +166,7 @@ Create a file and provide values for _interval_, _namespaceFilteringMode_, _name
166166
> [!NOTE]
167167
> Minimum Azure CLI version 2.51.0 or higher.
168168
169-
Use the following command to enable monitoring of your AKS cluster
169+
Use the following command to enable monitoring of your AKS cluster:
170170

171171
```azcli
172172
az aks create -g myResourceGroup -n myAKSCluster --enable-managed-identity --node-count 1 --enable-addons monitoring --data-collection-settings dataCollectionSettings.json --generate-ssh-keys
@@ -199,19 +199,19 @@ az aks enable-addons -a monitoring -g <clusterResourceGroup> -n <clusterName> --
199199
```
200200

201201
## [Azure portal](#tab/create-portal)
202-
1. In the Azure portal, select the AKS cluster that you wish to monitor
202+
1. In the Azure portal, select the AKS cluster that you wish to monitor.
203203
2. From the resource pane on the left, select the 'Insights' item under the 'Monitoring' section.
204-
3. If you have not previously configured Container Insights, select the 'Configure Azure Monitor' button. For clusters already onboarded to Insights, select the "Monitoring Settings" button in the toolbar
205-
4. If you are configuring Container Insights for the first time or have not migrated to using [managed identity authentication](../containers/container-insights-onboard.md#authentication), select the "Use managed identity" checkbox
204+
3. If you have not previously configured Container Insights, select the 'Configure Azure Monitor' button. For clusters already onboarded to Insights, select the "Monitoring Settings" button in the toolbar.
205+
4. If you are configuring Container Insights for the first time or have not migrated to using [managed identity authentication](../containers/container-insights-onboard.md#authentication), select the "Use managed identity" checkbox.
206206
[![Screenshot that shows the onboarding options.](media/container-insights-cost-config/cost-settings-onboarding.png)](media/container-insights-cost-config/cost-settings-onboarding.png#lightbox)
207207
5. Using the dropdown, choose one of the "Cost presets", for more configuration, you may select the "Edit collection settings"
208208
[![Screenshot that shows the collection settings.](media/container-insights-cost-config/advanced-collection-settings.png)](media/container-insights-cost-config/advanced-collection-settings.png#lightbox)
209-
6. Click the blue "Configure" button to finish
209+
6. Click the blue "Configure" button to finish.
210210

211211

212212
## [ARM](#tab/create-arm)
213213

214-
1. Download the Azure Resource Manager Template and Parameter files
214+
1. Download the Azure Resource Manager Template and Parameter files.
215215

216216
```bash
217217
curl -L https://aka.ms/aks-enable-monitoring-costopt-onboarding-template-file -o existingClusterOnboarding.json
@@ -221,7 +221,7 @@ curl -L https://aka.ms/aks-enable-monitoring-costopt-onboarding-template-file -o
221221
curl -L https://aka.ms/aks-enable-monitoring-costopt-onboarding-template-parameter-file -o existingClusterParam.json
222222
```
223223

224-
2. Edit the values in the parameter file: existingClusterParam.json
224+
2. Edit the values in the parameter file: existingClusterParam.json.
225225

226226
- For _aksResourceId_ and _aksResourceLocation_, use the values on the **AKS Overview** page for the AKS cluster.
227227
- For _workspaceResourceId_, use the resource ID of your Log Analytics workspace.
@@ -233,7 +233,7 @@ curl -L https://aka.ms/aks-enable-monitoring-costopt-onboarding-template-paramet
233233
- For _enableContainerLogV2_, specify this parameter to be true or false. By default, this parameter is set to true.
234234
- For _streams_, select the container insights tables you want to collect. Refer to the above mapping for more details.
235235

236-
3. Deploy the ARM template
236+
3. Deploy the ARM template.
237237

238238
```azcli
239239
az login
@@ -260,25 +260,25 @@ The collection settings can be modified through the input of the `dataCollection
260260

261261
* `interval`: The frequency of data collection, the input scheme must be a number between [1, 30] followed by m to denote minutes.
262262
* `namespaceFilteringMode`: The filtering mode for the namespaces, the input must be either Include, Exclude, or Off.
263-
* `namespaces`: An array of Kubernetes namespaces as strings, to be included or excluded
263+
* `namespaces`: An array of Kubernetes namespaces as strings, to be included or excluded.
264264
* `enableContainerLogV2`: Boolean flag to enable ContainerLogV2 schema. If set to true, the stdout/stderr Logs are ingested to [ContainerLogV2](container-insights-logging-v2.md) table, else the container logs are ingested to ContainerLog table, unless otherwise specified in the ConfigMap. When specifying the individual streams, you must include the corresponding table for ContainerLog or ContainerLogV2.
265265
* `streams`: An array of container insights table streams. See the supported streams above to table mapping.
266266

267267
## [Azure portal](#tab/create-portal)
268-
1. In the Azure portal, select the AKS hybrid cluster that you wish to monitor
268+
1. In the Azure portal, select the AKS hybrid cluster that you wish to monitor.
269269
2. From the resource pane on the left, select the 'Insights' item under the 'Monitoring' section.
270-
3. If you have not previously configured Container Insights, select the 'Configure Azure Monitor' button. For clusters already onboarded to Insights, select the "Monitoring Settings" button in the toolbar
270+
3. If you have not previously configured Container Insights, select the 'Configure Azure Monitor' button. For clusters already onboarded to Insights, select the "Monitoring Settings" button in the toolbar.
271271
[![Screenshot that shows the onboarding options.](media/container-insights-cost-config/cost-settings-onboarding.png)](media/container-insights-cost-config/cost-settings-onboarding.png#lightbox)
272272
4. Using the dropdown, choose one of the "Cost presets", for more configuration, you may select the "Edit collection settings"
273-
[![Screenshot that shows the collection settings.](media/container-insights-cost-config/advanced-collection-settings.png)](media/container-insights-cost-config/advanced-collection-settings.png#lightbox)
274-
5. Click the blue "Configure" button to finish
273+
[![Screenshot that shows the collection settings.](media/container-insights-cost-config/advanced-collection-settings.png)](media/container-insights-cost-config/advanced-collection-settings.png#lightbox).
274+
5. Click the blue "Configure" button to finish.
275275

276276

277277

278278
## [ARM](#tab/create-arm)
279279

280280

281-
1. Download the Azure Resource Manager Template and Parameter files
281+
1. Download the Azure Resource Manager Template and Parameter files.
282282

283283
```bash
284284
curl -L https://aka.ms/existingClusterOnboarding.json -o existingClusterOnboarding.json
@@ -288,7 +288,7 @@ curl -L https://aka.ms/existingClusterOnboarding.json -o existingClusterOnboardi
288288
curl -L https://aka.ms/existingClusterParam.json -o existingClusterParam.json
289289
```
290290

291-
2. Edit the values in the parameter file: existingClusterParam.json
291+
2. Edit the values in the parameter file: existingClusterParam.json.
292292

293293
- For _clusterResourceId_ and _clusterResourceLocation_, use the values on the **Overview** page for the AKS hybrid cluster.
294294
- For _workspaceResourceId_, use the resource ID of your Log Analytics workspace.
@@ -301,7 +301,7 @@ curl -L https://aka.ms/existingClusterParam.json -o existingClusterParam.json
301301
- For _streams_, select the container insights tables you want to collect. Refer to the above mapping for more details.
302302

303303

304-
3. Deploy the ARM template
304+
3. Deploy the ARM template.
305305

306306
```azcli
307307
az login
@@ -333,19 +333,19 @@ The collection settings can be modified through the input of the `dataCollection
333333
* `streams`: An array of container insights table streams. See the supported streams above to table mapping.
334334

335335
## [Azure portal](#tab/create-portal)
336-
1. In the Azure portal, select the Arc cluster that you wish to monitor
336+
1. In the Azure portal, select the Arc cluster that you wish to monitor.
337337
2. From the resource pane on the left, select the 'Insights' item under the 'Monitoring' section.
338-
3. If you have not previously configured Container Insights, select the 'Configure Azure Monitor' button. For clusters already onboarded to Insights, select the "Monitoring Settings" button in the toolbar
338+
3. If you have not previously configured Container Insights, select the 'Configure Azure Monitor' button. For clusters already onboarded to Insights, select the "Monitoring Settings" button in the toolbar.
339339
4. If you are configuring Container Insights for the first time, select the "Use managed identity" checkbox
340-
[![Screenshot that shows the onboarding options.](media/container-insights-cost-config/cost-settings-onboarding.png)](media/container-insights-cost-config/cost-settings-onboarding.png#lightbox)
340+
[![Screenshot that shows the onboarding options.](media/container-insights-cost-config/cost-settings-onboarding.png)](media/container-insights-cost-config/cost-settings-onboarding.png#lightbox).
341341
5. Using the dropdown, choose one of the "Cost presets", for more configuration, you may select the "Edit advanced collection settings"
342-
[![Screenshot that shows the collection settings.](media/container-insights-cost-config/advanced-collection-settings.png)](media/container-insights-cost-config/advanced-collection-settings.png#lightbox)
343-
6. Click the blue "Configure" button to finish
342+
[![Screenshot that shows the collection settings.](media/container-insights-cost-config/advanced-collection-settings.png)](media/container-insights-cost-config/advanced-collection-settings.png#lightbox).
343+
6. Click the blue "Configure" button to finish.
344344

345345

346346
## [ARM](#tab/create-arm)
347347

348-
1. Download the Azure Resource Manager Template and Parameter files
348+
1. Download the Azure Resource Manager Template and Parameter files.
349349

350350
```bash
351351
curl -L https://aka.ms/arc-k8s-enable-monitoring-costopt-onboarding-template-file -o existingClusterOnboarding.json
@@ -355,7 +355,7 @@ curl -L https://aka.ms/arc-k8s-enable-monitoring-costopt-onboarding-template-fil
355355
curl -L https://aka.ms/arc-k8s-enable-monitoring-costopt-onboarding-template-parameter-file -o existingClusterParam.json
356356
```
357357

358-
2. Edit the values in the parameter file: existingClusterParam.json
358+
2. Edit the values in the parameter file: existingClusterParam.json.
359359

360360
- For _clusterResourceId_ and _clusterRegion_, use the values on the **Overview** page for the Arc enabled Kubernetes cluster.
361361
- For _workspaceResourceId_, use the resource ID of your Log Analytics workspace.
@@ -367,7 +367,7 @@ curl -L https://aka.ms/arc-k8s-enable-monitoring-costopt-onboarding-template-par
367367
- For _enableContainerLogV2_, specify this parameter to be true or false. By default, this parameter is set to true.
368368
- For _streams_, select the container insights tables you want to collect. Refer to the above mapping for more details.
369369

370-
3. Deploy the ARM template
370+
3. Deploy the ARM template.
371371

372372
```azcli
373373
az login

articles/azure-monitor/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ items:
522522
href: containers/container-insights-agent-config.md
523523
- name: Enable ContainerLogv2
524524
href: containers/container-insights-logging-v2.md
525-
- name: Enable cost optimization settings (preview)
525+
- name: Enable cost optimization settings
526526
href: containers/container-insights-cost-config.md
527527
- name: Authentication
528528
href: containers/container-insights-authentication.md

0 commit comments

Comments
 (0)