diff --git a/incubator/azuremonitor-containers/Chart.yaml b/incubator/azuremonitor-containers/Chart.yaml
index 4a4be930efe5..45726059669d 100644
--- a/incubator/azuremonitor-containers/Chart.yaml
+++ b/incubator/azuremonitor-containers/Chart.yaml
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 7.0.0-1
description: Helm chart for deploying Azure Monitor container monitoring agent in Kubernetes
name: azuremonitor-containers
-version: 2.6.0
+version: 2.6.1
kubeVersion: "^1.10.0-0"
keywords:
- monitoring
diff --git a/incubator/azuremonitor-containers/templates/omsagent-daemonset.yaml b/incubator/azuremonitor-containers/templates/omsagent-daemonset.yaml
index 5417a43f2562..9b916ed7f045 100644
--- a/incubator/azuremonitor-containers/templates/omsagent-daemonset.yaml
+++ b/incubator/azuremonitor-containers/templates/omsagent-daemonset.yaml
@@ -56,6 +56,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.hostIP
+ - name: USER_ASSIGNED_IDENTITY_CLIENT_ID
+ value: ""
{{- if .Values.omsagent.logsettings.logflushintervalsecs }}
- name: FBIT_SERVICE_FLUSH_INTERVAL
value: {{ .Values.omsagent.logsettings.logflushintervalsecs | quote }}
@@ -103,7 +105,7 @@ spec:
periodSeconds: 60
nodeSelector:
beta.kubernetes.io/os: linux
- {{- with .Values.omsagent.affinity }}
+ {{- with .Values.omsagent.daemonset.affinity }}
affinity: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.omsagent.tolerations }}
diff --git a/incubator/azuremonitor-containers/templates/omsagent-deployment.yaml b/incubator/azuremonitor-containers/templates/omsagent-deployment.yaml
index 2cd63aac8368..cd1a28b7ec42 100644
--- a/incubator/azuremonitor-containers/templates/omsagent-deployment.yaml
+++ b/incubator/azuremonitor-containers/templates/omsagent-deployment.yaml
@@ -57,6 +57,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.hostIP
+ - name: USER_ASSIGNED_IDENTITY_CLIENT_ID
+ value: ""
securityContext:
privileged: true
ports:
@@ -94,12 +96,12 @@ spec:
periodSeconds: 60
nodeSelector:
beta.kubernetes.io/os: linux
- {{- with .Values.omsagent.affinity }}
+ {{- with .Values.omsagent.deployment.affinity }}
affinity: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.omsagent.tolerations }}
tolerations: {{- toYaml . | nindent 8 }}
- {{- end }}
+ {{- end }}
volumes:
- name: docker-sock
hostPath:
diff --git a/incubator/azuremonitor-containers/templates/omsagent-rbac.yaml b/incubator/azuremonitor-containers/templates/omsagent-rbac.yaml
index 2a261d7d3d74..edeb86f60a75 100644
--- a/incubator/azuremonitor-containers/templates/omsagent-rbac.yaml
+++ b/incubator/azuremonitor-containers/templates/omsagent-rbac.yaml
@@ -19,7 +19,7 @@ metadata:
heritage: {{ .Release.Service }}
rules:
- apiGroups: [""]
- resources: ["pods", "events", "nodes", "nodes/stats", "nodes/metrics", "namespaces", "services"]
+ resources: ["pods", "events", "nodes", "nodes/stats", "nodes/metrics", "nodes/spec", "namespaces", "services"]
verbs: ["list", "get", "watch"]
- apiGroups: ["apps", "extensions"]
resources: ["replicasets"]
diff --git a/incubator/azuremonitor-containers/templates/omsagent-rs-configmap.yaml b/incubator/azuremonitor-containers/templates/omsagent-rs-configmap.yaml
index 60edab065977..e3f8ce848e2b 100644
--- a/incubator/azuremonitor-containers/templates/omsagent-rs-configmap.yaml
+++ b/incubator/azuremonitor-containers/templates/omsagent-rs-configmap.yaml
@@ -18,6 +18,7 @@ data:
tag oms.containerinsights.KubePodInventory
run_interval 60
log_level debug
+ custom_metrics_azure_regions eastus,southcentralus,westcentralus,westus2,southeastasia,northeurope,westeurope,southafricanorth,centralus,northcentralus,eastus2,koreacentral,eastasia,centralindia,uksouth,canadacentral,francecentral,japaneast,australiaeast
#Kubernetes events
@@ -26,7 +27,7 @@ data:
tag oms.containerinsights.KubeEvents
run_interval 60
log_level debug
-
+
#Kubernetes Nodes
+
#Kubernetes health