fix(k8s): remove all health probes from gitserver
This commit is contained in:
parent
dd4bbf3bb5
commit
e7cf0c544f
@ -54,32 +54,6 @@ spec:
|
||||
- name: {{ .name }}
|
||||
value: {{ .value | quote }}
|
||||
{{- end }}
|
||||
{{- if $svc.livenessProbe }}
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: {{ $svc.livenessProbe.tcpSocket.port }}
|
||||
initialDelaySeconds: {{ $svc.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ $svc.livenessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ $svc.livenessProbe.timeoutSeconds }}
|
||||
failureThreshold: {{ $svc.livenessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- if $svc.readinessProbe }}
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: {{ $svc.readinessProbe.tcpSocket.port }}
|
||||
initialDelaySeconds: {{ $svc.readinessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ $svc.readinessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ $svc.readinessProbe.timeoutSeconds }}
|
||||
failureThreshold: {{ $svc.readinessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- if $svc.startupProbe }}
|
||||
startupProbe:
|
||||
tcpSocket:
|
||||
port: {{ $svc.startupProbe.tcpSocket.port }}
|
||||
initialDelaySeconds: {{ $svc.startupProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ $svc.startupProbe.periodSeconds }}
|
||||
failureThreshold: {{ $svc.startupProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
{{- if and $svc.persistence.enabled $.Values.storage.enabled }}
|
||||
- name: shared-data
|
||||
|
||||
@ -278,29 +278,6 @@ gitserver:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 8022
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 8022
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 3
|
||||
|
||||
startupProbe:
|
||||
tcpSocket:
|
||||
port: 8022
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user