fix(k8s): remove all health probes from gitserver

This commit is contained in:
ZhenYi 2026-04-15 23:07:17 +08:00
parent dd4bbf3bb5
commit e7cf0c544f
2 changed files with 0 additions and 49 deletions

View File

@ -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

View File

@ -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: ""