Skip to content

Commit

Permalink
fix(helm-charts): livenessProbe 问题修复 #1543
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 committed Oct 28, 2023
1 parent 165a146 commit e15a90b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 29 deletions.
8 changes: 4 additions & 4 deletions helm-charts/bk-dbm/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
version: 0.1.30
- name: dbpartition
repository: file://charts/dbpartition
version: 0.1.6
version: 0.1.7
- name: db-simulation
repository: file://charts/db-simulation
version: 0.1.9
Expand All @@ -46,7 +46,7 @@ dependencies:
version: 0.0.9
- name: db-celery-service
repository: file://charts/db-celery-service
version: 0.0.6
version: 0.0.8
- name: slow-query-parser-service
repository: file://charts/slow-query-parser-service
version: 0.0.2
Expand All @@ -56,5 +56,5 @@ dependencies:
- name: backup-consumer
repository: file://charts/backup-consumer
version: 0.0.3
digest: sha256:2ea68d751cc7a6cd16d67e194850ad831687cc31c334b5a78bf603cef7751503
generated: "2023-10-26T11:47:16.130137+08:00"
digest: sha256:79f8e300ba516183dc9e8dc2322fc113c6e3b09092e3dd51be7bf59ab4464c04
generated: "2023-10-27T10:09:52.649624+08:00"
8 changes: 4 additions & 4 deletions helm-charts/bk-dbm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies:
- condition: dbpartition.enabled
name: dbpartition
repository: file://charts/dbpartition
version: 0.1.6
version: 0.1.7
- condition: db-simulation.enabled
name: db-simulation
repository: file://charts/db-simulation
Expand All @@ -63,7 +63,7 @@ dependencies:
- condition: db-celery-service.enabled
name: db-celery-service
repository: file://charts/db-celery-service
version: 0.0.6
version: 0.0.8
- condition: slow-query-parser-service.enabled
name: slow-query-parser-service
repository: file://charts/slow-query-parser-service
Expand All @@ -79,5 +79,5 @@ dependencies:
description: A Helm chart for bkdbm
name: bk-dbm
type: application
version: 1.2.0-alpha.63
appVersion: 1.2.0-alpha.63
version: 1.2.0-alpha.65
appVersion: 1.2.0-alpha.65
4 changes: 2 additions & 2 deletions helm-charts/bk-dbm/charts/db-celery-service/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
appVersion: 0.0.1-alpha.8
appVersion: 0.0.1-alpha.11
description: A Helm chart for Kubernetes
name: db-celery-service
type: application
version: 0.0.6
version: 0.0.8
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/charts/dbpartition/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: dbpartition
description: A Helm chart for db partition service
type: application
version: 0.1.6
version: 0.1.7
appVersion: 0.0.1-alpha.116
18 changes: 0 additions & 18 deletions helm-charts/bk-dbm/charts/dbpartition/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,6 @@ spec:
- name: http
containerPort: 80
protocol: TCP
livenessProbe:
httpGet:
path: {{ .Values.livenessProbe.path | default "/ping"}}
port: http
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 5}}
periodSeconds: {{ .Values.livenessProbe.periodSeconds | default 30}}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default 5}}
successThreshold: {{ .Values.livenessProbe.successThreshold | default 1}}
failureThreshold: {{ .Values.livenessProbe.failureThreshold | default 1}}
readinessProbe:
httpGet:
path: {{ .Values.readinessProbe.path | default "/ping"}}
port: http
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 5}}
periodSeconds: {{ .Values.readinessProbe.periodSeconds | default 30}}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds | default 5}}
successThreshold: {{ .Values.readinessProbe.successThreshold | default 1}}
failureThreshold: {{ .Values.readinessProbe.failureThreshold | default 1}}
env:
{{- include "dbm.envs" . | trim | nindent 12 }}
envFrom:
Expand Down

0 comments on commit e15a90b

Please sign in to comment.