Skip to content

Commit

Permalink
Set milvus standalone upgrade strategy to recreate (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
LoveEachDay authored Sep 6, 2021
1 parent 1080935 commit 6cf4545
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/milvus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion charts/milvus/templates/standalone-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ metadata:
component: "standalone"
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
{{ include "milvus.matchLabels" . | indent 6 }}
Expand Down Expand Up @@ -89,4 +91,4 @@ spec:
persistentVolumeClaim:
claimName: {{ .Values.log.persistence.persistentVolumeClaim.existingClaim | default (printf "%s-logs" (include "milvus.fullname" . | trunc 58)) }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 6cf4545

Please sign in to comment.