configure startupProbe

This commit is contained in:
James 2023-03-14 22:09:51 +00:00
parent afbb940694
commit d1015887e8

View File

@ -6,6 +6,8 @@ metadata:
{{- include "unifi-controller.labels" . | nindent 4 }} {{- include "unifi-controller.labels" . | nindent 4 }}
spec: spec:
replicas: 1 replicas: 1
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
{{- include "unifi-controller.selectorLabels" . | nindent 6 }} {{- include "unifi-controller.selectorLabels" . | nindent 6 }}
@ -47,16 +49,17 @@ spec:
- name: syslog - name: syslog
containerPort: 5514 containerPort: 5514
protocol: UDP protocol: UDP
# livenessProbe: livenessProbe:
# httpGet: httpGet:
# path: / path: /
# port: http port: http
# initialDelaySeconds: 30 periodSeconds: 10
# readinessProbe: startupProbe:
# httpGet: httpGet:
# path: / path: /
# port: http port: http
# initialDelaySeconds: 120 periodSeconds: 10
failureThreshold: 30
env: env:
- name: TZ - name: TZ
value: {{ .Values.config.timezone }} value: {{ .Values.config.timezone }}