Skip to content

Commit ed06f57

Browse files
authored
Disable custom metrics for Arc (#1481)
* Disable custom metrics * Disable custom metrics * Remove custom metrics env variable
1 parent 9081b11 commit ed06f57

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

charts/azuremonitor-containers/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ amalogs:
6666
# This flag to enable and disable service account timebound token and default is enabled
6767
enableServiceAccountTimeBoundToken: true
6868

69-
# This flag to enable and disable custom metrics and default is enabled
70-
enableCustomMetrics: true
69+
# This flag to enable and disable custom metrics. Custom metrics is getting deprecated so default is disabled
70+
enableCustomMetrics: false
7171

7272
# This flag to enable and disable Telegraf livenessprobe and default is disabled
7373
enableTelegrafLivenessprobe: false

kubernetes/ama-logs.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,6 @@ spec:
437437
valueFrom:
438438
fieldRef:
439439
fieldPath: status.hostIP
440-
# Update this with the user assigned msi client id for ama-logs
441-
- name: USER_ASSIGNED_IDENTITY_CLIENT_ID
442-
value: "VALUE_USER_ASSIGNED_IDENTITY_CLIENT_ID_VALUE"
443440
- name: AZMON_CONTAINERLOGS_ONEAGENT_REGIONS
444441
value: "koreacentral,norwayeast,eastus2"
445442
# Uncomment below lines for MSI Auth Mode testing
@@ -572,9 +569,6 @@ spec:
572569
valueFrom:
573570
fieldRef:
574571
fieldPath: spec.nodeName
575-
# Update this with the user assigned msi client id for ama-logs
576-
- name: USER_ASSIGNED_IDENTITY_CLIENT_ID
577-
value: "VALUE_USER_ASSIGNED_IDENTITY_CLIENT_ID_VALUE"
578572
# Uncomment below lines for MSI Auth Mode testing
579573
# - name: USING_AAD_MSI_AUTH
580574
# value: "true"
@@ -1088,9 +1082,6 @@ spec:
10881082
valueFrom:
10891083
fieldRef:
10901084
fieldPath: spec.nodeName
1091-
# Update this with the user assigned msi client id for ama-logs
1092-
- name: USER_ASSIGNED_IDENTITY_CLIENT_ID
1093-
value: "VALUE_USER_ASSIGNED_IDENTITY_CLIENT_ID_VALUE"
10941085
# Add the below environment variable to true only in sidecar enabled regions, else set it to false
10951086
- name: SIDECAR_SCRAPING_ENABLED
10961087
value: "true"
@@ -1355,9 +1346,6 @@ spec:
13551346
fieldPath: status.hostIP
13561347
- name: SIDECAR_SCRAPING_ENABLED
13571348
value: "true"
1358-
# Update this with the user assigned msi client id for ama-logs
1359-
- name: USER_ASSIGNED_IDENTITY_CLIENT_ID
1360-
value: "VALUE_USER_ASSIGNED_IDENTITY_CLIENT_ID_VALUE"
13611349
# Add this only for clouds that require cert bootstrapping
13621350
# - name: REQUIRES_CERT_BOOTSTRAP
13631351
# value: "true"

0 commit comments

Comments
 (0)