diff --git a/helm-charts/bk-dbm/Chart.lock b/helm-charts/bk-dbm/Chart.lock index 8a1fdd290e..c293da5d8b 100644 --- a/helm-charts/bk-dbm/Chart.lock +++ b/helm-charts/bk-dbm/Chart.lock @@ -13,7 +13,7 @@ dependencies: version: 9.5.7 - name: reloader repository: https://stakater.github.io/stakater-charts - version: 1.0.48 + version: 1.0.50 - name: grafana repository: file://./charts/grafana version: 7.9.8 @@ -28,7 +28,7 @@ dependencies: version: 0.1.31 - name: dbpartition repository: file://charts/dbpartition - version: 0.1.7 + version: 0.1.8 - name: db-simulation repository: file://charts/db-simulation version: 0.1.9 @@ -56,5 +56,5 @@ dependencies: - name: backup-consumer repository: file://charts/backup-consumer version: 0.0.3 -digest: sha256:02affbee7552bf245b5b5580bb5a1a1c37c45e80073041b16fabe74268d4f0be -generated: "2023-10-30T10:09:08.993106+08:00" +digest: sha256:86a245ae6c44981fdf3f9971e03cf4408fc0f368f4420f0c2c2ef8583ee83250 +generated: "2023-10-31T17:58:25.252622+08:00" diff --git a/helm-charts/bk-dbm/Chart.yaml b/helm-charts/bk-dbm/Chart.yaml index 091d0d9636..f8daa793e9 100644 --- a/helm-charts/bk-dbm/Chart.yaml +++ b/helm-charts/bk-dbm/Chart.yaml @@ -39,7 +39,7 @@ dependencies: - condition: dbpartition.enabled name: dbpartition repository: file://charts/dbpartition - version: 0.1.7 + version: 0.1.8 - condition: db-simulation.enabled name: db-simulation repository: file://charts/db-simulation @@ -79,5 +79,5 @@ dependencies: description: A Helm chart for bkdbm name: bk-dbm type: application -version: 1.2.0-alpha.71 -appVersion: 1.2.0-alpha.71 +version: 1.2.0-alpha.72 +appVersion: 1.2.0-alpha.72 diff --git a/helm-charts/bk-dbm/charts/db-resource/Chart.yaml b/helm-charts/bk-dbm/charts/db-resource/Chart.yaml index 328a08ece2..5ffca27989 100644 --- a/helm-charts/bk-dbm/charts/db-resource/Chart.yaml +++ b/helm-charts/bk-dbm/charts/db-resource/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: 0.0.1-alpha.48 +appVersion: 0.0.1-alpha.49 description: A Helm chart for Kubernetes name: db-resource type: application diff --git a/helm-charts/bk-dbm/charts/dbm/Chart.yaml b/helm-charts/bk-dbm/charts/dbm/Chart.yaml index e761107f40..9ab6f8f865 100644 --- a/helm-charts/bk-dbm/charts/dbm/Chart.yaml +++ b/helm-charts/bk-dbm/charts/dbm/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: 1.2.0-alpha.422 +appVersion: 1.2.0-alpha.424 description: A Helm chart for dbm name: dbm type: application diff --git a/helm-charts/bk-dbm/charts/dbpartition/Chart.yaml b/helm-charts/bk-dbm/charts/dbpartition/Chart.yaml index c3b751223d..06178f62d0 100644 --- a/helm-charts/bk-dbm/charts/dbpartition/Chart.yaml +++ b/helm-charts/bk-dbm/charts/dbpartition/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: dbpartition description: A Helm chart for db partition service type: application -version: 0.1.7 +version: 0.1.8 appVersion: 0.0.1-alpha.116 diff --git a/helm-charts/bk-dbm/charts/dbpartition/templates/deployment.yaml b/helm-charts/bk-dbm/charts/dbpartition/templates/deployment.yaml index 75ddb92bd3..d5c9844ff0 100644 --- a/helm-charts/bk-dbm/charts/dbpartition/templates/deployment.yaml +++ b/helm-charts/bk-dbm/charts/dbpartition/templates/deployment.yaml @@ -35,6 +35,24 @@ 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: