Skip to content
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.dcgmExporter.enabled }}
apiVersion: cloudwatch.aws.amazon.com/v1alpha1
kind: DcgmExporter
metadata:
Expand Down Expand Up @@ -66,4 +67,5 @@ spec:
tls_server_config:
cert_file: /etc/amazon-cloudwatch-observability-dcgm-cert/server.crt
key_file: /etc/amazon-cloudwatch-observability-dcgm-cert/server.key
{{- dict "component" .Values.dcgmExporter "context" . | include "amazon-cloudwatch-observability.common.tolerations" | nindent 2 }}
{{- dict "component" .Values.dcgmExporter "context" . | include "amazon-cloudwatch-observability.common.tolerations" | nindent 2 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.dcgmExporter.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
Expand All @@ -10,3 +11,4 @@ rules:
resources: ["configmaps"]
resourceNames: ["{{ .Values.dcgmExporter.configmap }}"]
verbs: ["get"]
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.dcgmExporter.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
Expand All @@ -13,3 +14,4 @@ subjects:
- kind: ServiceAccount
name: {{ template "dcgm-exporter.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.neuronMonitor.enabled }}
Comment thread
KKamJi98 marked this conversation as resolved.
apiVersion: cloudwatch.aws.amazon.com/v1alpha1
kind: NeuronMonitor
metadata:
Expand Down Expand Up @@ -83,4 +84,5 @@ spec:
}
]
}
{{- dict "component" .Values.neuronMonitor "context" . | include "amazon-cloudwatch-observability.common.tolerations" | nindent 2 }}
{{- dict "component" .Values.neuronMonitor "context" . | include "amazon-cloudwatch-observability.common.tolerations" | nindent 2 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.neuronMonitor.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
Expand All @@ -10,3 +11,4 @@ rules:
resources: ["configmaps"]
resourceNames: ["{{ .Values.neuronMonitor.configmap }}"]
verbs: ["get"]
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.neuronMonitor.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
Expand All @@ -13,3 +14,4 @@ subjects:
- kind: ServiceAccount
name: {{ include "neuron-monitor.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- end }}
4 changes: 3 additions & 1 deletion charts/amazon-cloudwatch-observability/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,7 @@ agent:
prometheusCR:
enabled: false
dcgmExporter:
enabled: true
name:
image:
repository: dcgm-exporter
Expand Down Expand Up @@ -1504,6 +1505,7 @@ dcgmExporter:
nodeSelector:
kubernetes.io/os: linux
neuronMonitor:
enabled: true
name:
image:
repository: neuron-monitor
Expand Down Expand Up @@ -1574,4 +1576,4 @@ neuronMonitor:
values:
- fargate
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/os: linux
Loading