diff --git a/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-daemonset.yaml b/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-daemonset.yaml index dc273b141..591fc455a 100644 --- a/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-daemonset.yaml +++ b/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-daemonset.yaml @@ -158,6 +158,9 @@ spec: - name: host-log-containers readOnly: true mountPath: /var/log/containers + - name: host-log-pods + readOnly: true + mountPath: /var/log/pods - mountPath: /anchors/mariner name: anchors-mariner readOnly: true @@ -285,6 +288,9 @@ spec: - name: host-log-containers hostPath: path: /var/log/containers + - name: host-log-pods + hostPath: + path: /var/log/pods - name: anchors-mariner hostPath: path: /etc/pki/ca-trust/anchors/ @@ -428,6 +434,9 @@ spec: - name: host-log-containers readOnly: true mountPath: /var/log/containers + - name: host-log-pods + readOnly: true + mountPath: /var/log/pods livenessProbe: exec: command: @@ -499,6 +508,9 @@ spec: - name: host-log-containers hostPath: path: /var/log/containers + - name: host-log-pods + hostPath: + path: /var/log/pods - name: ama-metrics-tls-secret-volume secret: secretName: ama-metrics-mtls-secret diff --git a/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-deployment.yaml b/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-deployment.yaml index 5e71cd5f9..09893df4f 100644 --- a/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-deployment.yaml +++ b/otelcollector/deploy/addon-chart/azure-monitor-metrics-addon/templates/ama-metrics-deployment.yaml @@ -181,6 +181,9 @@ spec: - name: host-log-containers readOnly: true mountPath: /var/log/containers + - name: host-log-pods + readOnly: true + mountPath: /var/log/pods - mountPath: /anchors/mariner name: anchors-mariner readOnly: true @@ -333,6 +336,9 @@ spec: - name: host-log-containers hostPath: path: /var/log/containers + - name: host-log-pods + hostPath: + path: /var/log/pods - name: anchors-mariner hostPath: path: /etc/pki/ca-trust/anchors/