add probes

This commit is contained in:
Arlan Lloyd 2025-11-10 03:59:53 +00:00
parent c60abb26f9
commit 238702f81c
2 changed files with 33 additions and 9 deletions

View File

@ -93,7 +93,7 @@ spec:
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
ports: ports:
- name: web - name: main
containerPort: 4389 containerPort: 4389
protocol: TCP protocol: TCP
{{- with .Values.scanner.kyoo_scanner.livenessProbe }} {{- with .Values.scanner.kyoo_scanner.livenessProbe }}

View File

@ -169,8 +169,14 @@ api:
name: api name: api
# kyoo_api container configuration # kyoo_api container configuration
kyoo_api: kyoo_api:
livenessProbe: {} livenessProbe:
readinessProbe: {} httpGet:
path: /health
port: main
readinessProbe:
httpGet:
path: /ready
port: main
resources: {} resources: {}
containerSecurityContext: {} containerSecurityContext: {}
extraVolumeMounts: [] extraVolumeMounts: []
@ -217,8 +223,14 @@ auth:
name: auth name: auth
# kyoo_auth container configuration # kyoo_auth container configuration
kyoo_auth: kyoo_auth:
livenessProbe: {} livenessProbe:
readinessProbe: {} httpGet:
path: /health
port: main
readinessProbe:
httpGet:
path: /ready
port: main
resources: {} resources: {}
containerSecurityContext: {} containerSecurityContext: {}
extraVolumeMounts: [] extraVolumeMounts: []
@ -285,8 +297,14 @@ scanner:
name: scanner name: scanner
# kyoo_scanner container configuration # kyoo_scanner container configuration
kyoo_scanner: kyoo_scanner:
livenessProbe: {} livenessProbe:
readinessProbe: {} httpGet:
path: /health
port: main
readinessProbe:
httpGet:
path: /ready
port: main
resources: {} resources: {}
containerSecurityContext: {} containerSecurityContext: {}
extraVolumeMounts: [] extraVolumeMounts: []
@ -322,8 +340,14 @@ transcoder:
runtimeClass: "" runtimeClass: ""
# kyoo_transcoder container configuration # kyoo_transcoder container configuration
kyoo_transcoder: kyoo_transcoder:
livenessProbe: {} livenessProbe:
readinessProbe: {} httpGet:
path: /health
port: main
readinessProbe:
httpGet:
path: /ready
port: main
resources: {} resources: {}
containerSecurityContext: {} containerSecurityContext: {}
extraVolumeMounts: [] extraVolumeMounts: []