File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ sources:
1111
1212type : application
1313
14- version : 3.2.0
14+ version : 3.2.1
1515
1616appVersion : " 26.2.2"
1717
Original file line number Diff line number Diff line change @@ -137,6 +137,18 @@ smg:
137137 enabled : true
138138 app :
139139 config :
140+ management :
141+ server :
142+ port : 8099
143+ add-application-context-header : false
144+ endpoint :
145+ web :
146+ exposure :
147+ include : ' *'
148+ health :
149+ probes :
150+ enabled : true
151+ show-details : always
140152 relution :
141153 server :
142154 apiKey : test
Original file line number Diff line number Diff line change 2222 {{- if .Values.smg.app.secrets }}
2323 checksum/secrets : {{ include (print $.Template.BasePath "/smg/smg-secrets.yaml") . | sha256sum }}
2424 {{- end }}
25+ prometheus.io/scrape : " true"
26+ prometheus.io/port : " 8099"
27+ prometheus.io/path : " /actuator/prometheus"
2528 {{- with .Values.smg.podAnnotations }}
2629 {{- toYaml . | nindent 8 }}
2730 {{- end }}
@@ -65,11 +68,14 @@ spec:
6568 - name : http
6669 containerPort : 8093
6770 protocol : TCP
71+ - name : monitoring
72+ containerPort : 8099
73+ protocol : TCP
6874 {{- if .Values.smg.startupProbe.enabled }}
6975 startupProbe :
7076 httpGet :
7177 path : /actuator/health
72- port : http
78+ port : monitoring
7379 periodSeconds : {{ .Values.smg.startupProbe.periodSeconds | default 10 }}
7480 timeoutSeconds : {{ .Values.smg.startupProbe.timeoutSeconds | default 1 }}
7581 failureThreshold : {{ .Values.smg.startupProbe.failureThreshold | default 30 }}
7884 livenessProbe :
7985 httpGet :
8086 path : /actuator/health/liveness
81- port : http
87+ port : monitoring
8288 periodSeconds : {{ .Values.smg.livenessProbe.periodSeconds | default 10 }}
8389 timeoutSeconds : {{ .Values.smg.livenessProbe.timeoutSeconds | default 1 }}
8490 failureThreshold : {{ .Values.smg.livenessProbe.failureThreshold | default 3 }}
8793 readinessProbe :
8894 httpGet :
8995 path : /actuator/health/readiness
90- port : http
96+ port : monitoring
9197 periodSeconds : {{ .Values.smg.readinessProbe.periodSeconds | default 10 }}
9298 timeoutSeconds : {{ .Values.smg.readinessProbe.timeoutSeconds | default 1 }}
9399 failureThreshold : {{ .Values.smg.readinessProbe.failureThreshold | default 3 }}
You can’t perform that action at this time.
0 commit comments