Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/mlrun/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: mlrun
version: 0.11.13
version: 0.11.14
appVersion: 1.10.0
description: Machine Learning automation and tracking
sources:
Expand Down
5 changes: 5 additions & 0 deletions stable/mlrun/templates/api-worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ metadata:
{{- include "mlrun.api.worker.labels" . | nindent 4 }}
spec:
replicas: {{ include "mlrun.api.worker.minReplicas" . }}
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 50%
maxUnavailable: 50%
selector:
matchLabels:
{{- include "mlrun.api.worker.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 3 additions & 1 deletion stable/mlrun/templates/ms-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ metadata:
{{- include "mlrun.api.microservices.current.labels" (dict "root" $ "microservice" .) | nindent 4 }}
spec:
replicas: {{ .minReplicas | default 1 }}
{{- if .strategy }}
strategy:
type: Recreate
{{- toYaml .strategy | nindent 4 }}
{{- end }}
selector:
matchLabels:
{{- include "mlrun.api.microservices.current.selectorLabels" (dict "root" $ "microservice" .) | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions stable/mlrun/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ api:
# auto-scaling is currently not supported and the min value is treated as the fixed value
minReplicas: 1

# We cannot have more than a single alerts instance running at a time
strategy:
type: Recreate

service:
type: ClusterIP
port: 8080
Expand Down