mirror of
https://github.com/Thumbscrew/k8s-charts.git
synced 2025-04-24 16:39:52 +00:00
configure startupProbe
This commit is contained in:
parent
afbb940694
commit
d1015887e8
@ -6,6 +6,8 @@ metadata:
|
||||
{{- include "unifi-controller.labels" . | nindent 4 }}
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "unifi-controller.selectorLabels" . | nindent 6 }}
|
||||
@ -47,16 +49,17 @@ spec:
|
||||
- name: syslog
|
||||
containerPort: 5514
|
||||
protocol: UDP
|
||||
# livenessProbe:
|
||||
# httpGet:
|
||||
# path: /
|
||||
# port: http
|
||||
# initialDelaySeconds: 30
|
||||
# readinessProbe:
|
||||
# httpGet:
|
||||
# path: /
|
||||
# port: http
|
||||
# initialDelaySeconds: 120
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
periodSeconds: 10
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
env:
|
||||
- name: TZ
|
||||
value: {{ .Values.config.timezone }}
|
||||
|
Loading…
Reference in New Issue
Block a user