From e7cf0c544f586395855b0a0a80d5091912b75123 Mon Sep 17 00:00:00 2001 From: ZhenYi <434836402@qq.com> Date: Wed, 15 Apr 2026 23:07:17 +0800 Subject: [PATCH] fix(k8s): remove all health probes from gitserver --- deploy/templates/gitserver-deployment.yaml | 26 ---------------------- deploy/values.yaml | 23 ------------------- 2 files changed, 49 deletions(-) diff --git a/deploy/templates/gitserver-deployment.yaml b/deploy/templates/gitserver-deployment.yaml index 33fc368..35cd633 100644 --- a/deploy/templates/gitserver-deployment.yaml +++ b/deploy/templates/gitserver-deployment.yaml @@ -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 diff --git a/deploy/values.yaml b/deploy/values.yaml index 110dda7..4465c6c 100644 --- a/deploy/values.yaml +++ b/deploy/values.yaml @@ -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: ""