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 }}
|
{{- 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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user