File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,18 +24,14 @@ spec:
2424 - name : aws-dms-task-exporter
2525 image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
2626 imagePullPolicy : {{ .Values.image.pullPolicy }}
27+ {{- with .Values.env }}
28+ env :
29+ {{- toYaml . | nindent 12 }}
30+ {{- end }}
2731 ports :
28- - name : http
32+ - name : metrics
2933 containerPort : {{ .Values.service.port }}
3034 protocol : TCP
31- livenessProbe :
32- httpGet :
33- path : /
34- port : http
35- readinessProbe :
36- httpGet :
37- path : /
38- port : http
3935 resources :
4036 {{- toYaml .Values.resources | nindent 12 }}
4137 {{- with .Values.nodeSelector }}
Original file line number Diff line number Diff line change @@ -4,12 +4,16 @@ metadata:
44 name : aws-dms-task-exporter
55 labels :
66 app : aws-dms-task-exporter
7+ {{- with .Values.podAnnotations }}
8+ annotations :
9+ {{- toYaml . | nindent 6 }}
10+ {{- end }}
711spec :
812 type : {{ .Values.service.type }}
913 ports :
1014 - port : {{ .Values.service.port }}
11- targetPort : http
15+ targetPort : metrics
1216 protocol : TCP
13- name : http
17+ name : metrics
1418 selector :
1519 app : aws-dms-task-exporter
Original file line number Diff line number Diff line change @@ -30,4 +30,11 @@ affinity: {}
3030
3131labels : {}
3232
33- podAnnotations : {}
33+ podAnnotations :
34+ prometheus.io/scrape : " true"
35+
36+ env : []
37+ # - name: AWS_ACCESS_KEY_ID
38+ # value: YOUR_AWS_ACCESS_KEY
39+ # - name: AWS_SECRET_ACCESS_KEY
40+ # value: YOUR_AWS_SECRET_ACCESS_KEY
You can’t perform that action at this time.
0 commit comments