Adding prometheus
This commit is contained in:
parent
bf34f0431e
commit
84d6d19c6d
@ -11,5 +11,9 @@ spec:
|
|||||||
targetPort: 7878
|
targetPort: 7878
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: radarr
|
name: radarr
|
||||||
|
- port: 9707
|
||||||
|
targetPort: 9707
|
||||||
|
protocol: TCP
|
||||||
|
name: radarr-metrics
|
||||||
selector:
|
selector:
|
||||||
{{- include "radarr.selectorLabels" . | nindent 4 }}
|
{{- include "radarr.selectorLabels" . | nindent 4 }}
|
||||||
|
|||||||
@ -23,7 +23,22 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- args:
|
||||||
|
- exportarr
|
||||||
|
- radarr
|
||||||
|
name: radarr-metrics
|
||||||
|
image: ghcr.io/onedr0p/exportarr:latest
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
ports:
|
||||||
|
- name: radarr-metrics
|
||||||
|
containerPort: 9707
|
||||||
|
protocol: TCP
|
||||||
|
env:
|
||||||
|
- name: PORT
|
||||||
|
value: "9707"
|
||||||
|
- name: URL
|
||||||
|
value: "http://127.0.0.1:7878"
|
||||||
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user