File tree 3 files changed +19
-12
lines changed
3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,14 @@ spec:
24
24
- name : aws-dms-task-exporter
25
25
image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
26
26
imagePullPolicy : {{ .Values.image.pullPolicy }}
27
+ {{- with .Values.env }}
28
+ env :
29
+ {{- toYaml . | nindent 12 }}
30
+ {{- end }}
27
31
ports :
28
- - name : http
32
+ - name : metrics
29
33
containerPort : {{ .Values.service.port }}
30
34
protocol : TCP
31
- livenessProbe :
32
- httpGet :
33
- path : /
34
- port : http
35
- readinessProbe :
36
- httpGet :
37
- path : /
38
- port : http
39
35
resources :
40
36
{{- toYaml .Values.resources | nindent 12 }}
41
37
{{- with .Values.nodeSelector }}
Original file line number Diff line number Diff line change @@ -4,12 +4,16 @@ metadata:
4
4
name : aws-dms-task-exporter
5
5
labels :
6
6
app : aws-dms-task-exporter
7
+ {{- with .Values.podAnnotations }}
8
+ annotations :
9
+ {{- toYaml . | nindent 6 }}
10
+ {{- end }}
7
11
spec :
8
12
type : {{ .Values.service.type }}
9
13
ports :
10
14
- port : {{ .Values.service.port }}
11
- targetPort : http
15
+ targetPort : metrics
12
16
protocol : TCP
13
- name : http
17
+ name : metrics
14
18
selector :
15
19
app : aws-dms-task-exporter
Original file line number Diff line number Diff line change @@ -30,4 +30,11 @@ affinity: {}
30
30
31
31
labels : {}
32
32
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