From 6cf45450574e106f25325338e278a17032b313e4 Mon Sep 17 00:00:00 2001 From: "edward.zeng" Date: Mon, 6 Sep 2021 18:58:39 +0800 Subject: [PATCH] Set milvus standalone upgrade strategy to recreate (#225) --- charts/milvus/Chart.yaml | 2 +- charts/milvus/templates/standalone-deployment.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/milvus/Chart.yaml b/charts/milvus/Chart.yaml index edb00c6..5128ba7 100644 --- a/charts/milvus/Chart.yaml +++ b/charts/milvus/Chart.yaml @@ -3,7 +3,7 @@ name: milvus appVersion: "2.0.0-rc.5-hotfix1" kubeVersion: "^1.10.0-0" description: Milvus is an open-source vector database built to power AI applications and vector similarity search. -version: 2.1.14 +version: 2.1.15 keywords: - milvus - elastic diff --git a/charts/milvus/templates/standalone-deployment.yaml b/charts/milvus/templates/standalone-deployment.yaml index d6ee07e..ac822f4 100644 --- a/charts/milvus/templates/standalone-deployment.yaml +++ b/charts/milvus/templates/standalone-deployment.yaml @@ -8,6 +8,8 @@ metadata: component: "standalone" spec: replicas: 1 + strategy: + type: Recreate selector: matchLabels: {{ include "milvus.matchLabels" . | indent 6 }} @@ -89,4 +91,4 @@ spec: persistentVolumeClaim: claimName: {{ .Values.log.persistence.persistentVolumeClaim.existingClaim | default (printf "%s-logs" (include "milvus.fullname" . | trunc 58)) }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }}