Skip to content

Commit

Permalink
Bump milvus version to v4.1.22
Browse files Browse the repository at this point in the history
Signed-off-by: Rachit Chaudhary - r0c0axe <[email protected]>
  • Loading branch information
Rachit Chaudhary - r0c0axe authored and Rachit Chaudhary - r0c0axe committed Feb 27, 2024
1 parent e0bdb41 commit 8e41f2a
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 5 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.3.10"
kubeVersion: "^1.10.0-0"
description: Milvus is an open-source vector database built to power AI applications and vector similarity search.
version: 4.1.21
version: 4.1.22
keywords:
- milvus
- elastic
Expand Down
7 changes: 6 additions & 1 deletion charts/milvus/templates/datacoord-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ metadata:
spec:
replicas: {{ .Values.dataCoordinator.replicas }}
strategy:
type: Recreate
type: {{ .Values.DeploymentUpdate.type }}
{{- if eq .Values.DeploymentUpdate.type "RollingUpdate" }}
rollingUpdate:
maxSurge: {{ .Values.DeploymentUpdate.maxSurge }}
maxUnavailable: {{ .Values.DeploymentUpdate.maxUnavailable }}
{{- end }}
selector:
matchLabels:
{{ include "milvus.matchLabels" . | indent 6 }}
Expand Down
7 changes: 6 additions & 1 deletion charts/milvus/templates/indexcoord-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ metadata:
spec:
replicas: {{ .Values.indexCoordinator.replicas }}
strategy:
type: Recreate
type: {{ .Values.DeploymentUpdate.type }}
{{- if eq .Values.DeploymentUpdate.type "RollingUpdate" }}
rollingUpdate:
maxSurge: {{ .Values.DeploymentUpdate.maxSurge }}
maxUnavailable: {{ .Values.DeploymentUpdate.maxUnavailable }}
{{- end }}
selector:
matchLabels:
{{ include "milvus.matchLabels" . | indent 6 }}
Expand Down
7 changes: 6 additions & 1 deletion charts/milvus/templates/querycoord-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ metadata:
spec:
replicas: {{ .Values.queryCoordinator.replicas }}
strategy:
type: Recreate
type: {{ .Values.DeploymentUpdate.type }}
{{- if eq .Values.DeploymentUpdate.type "RollingUpdate" }}
rollingUpdate:
maxSurge: {{ .Values.DeploymentUpdate.maxSurge }}
maxUnavailable: {{ .Values.DeploymentUpdate.maxUnavailable }}
{{- end }}
selector:
matchLabels:
{{ include "milvus.matchLabels" . | indent 6 }}
Expand Down
7 changes: 6 additions & 1 deletion charts/milvus/templates/rootcoord-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ metadata:
spec:
replicas: {{ .Values.rootCoordinator.replicas }}
strategy:
type: Recreate
type: {{ .Values.DeploymentUpdate.type }}
{{- if eq .Values.DeploymentUpdate.type "RollingUpdate" }}
rollingUpdate:
maxSurge: {{ .Values.DeploymentUpdate.maxSurge }}
maxUnavailable: {{ .Values.DeploymentUpdate.maxUnavailable }}
{{- end }}
selector:
matchLabels:
{{ include "milvus.matchLabels" . | indent 6 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/milvus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -923,3 +923,9 @@ externalKafka:
mechanisms: PLAIN
username: ""
password: ""

## Update strategy for Deployments
DeploymentUpdate:
type: RollingUpdate
maxUnavailable: 25%
maxSurge: 25%

0 comments on commit 8e41f2a

Please sign in to comment.