File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed
Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11apiVersion : v1
22name : mlrun
3- version : 0.11.13
3+ version : 0.11.14
44appVersion : 1.10.0
55description : Machine Learning automation and tracking
66sources :
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ metadata:
88 {{- include "mlrun.api.worker.labels" . | nindent 4 }}
99spec :
1010 replicas : {{ include "mlrun.api.worker.minReplicas" . }}
11+ strategy :
12+ type : RollingUpdate
13+ rollingUpdate :
14+ maxSurge : 50%
15+ maxUnavailable : 50%
1116 selector :
1217 matchLabels :
1318 {{- include "mlrun.api.worker.selectorLabels" . | nindent 6 }}
Original file line number Diff line number Diff line change @@ -9,8 +9,10 @@ metadata:
99 {{- include "mlrun.api.microservices.current.labels" (dict "root" $ "microservice" .) | nindent 4 }}
1010spec :
1111 replicas : {{ .minReplicas | default 1 }}
12+ {{- if .strategy }}
1213 strategy :
13- type : Recreate
14+ {{- toYaml .strategy | nindent 4 }}
15+ {{- end }}
1416 selector :
1517 matchLabels :
1618 {{- include "mlrun.api.microservices.current.selectorLabels" (dict "root" $ "microservice" .) | nindent 6 }}
Original file line number Diff line number Diff line change 1313 # auto-scaling is currently not supported and the min value is treated as the fixed value
1414 minReplicas : 1
1515
16+ # We cannot have more than a single alerts instance running at a time
17+ strategy :
18+ type : Recreate
19+
1620 service :
1721 type : ClusterIP
1822 port : 8080
You can’t perform that action at this time.
0 commit comments