mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 00:05:15 +00:00
chart: use Recreate strategy
This commit is contained in:
parent
7ea3ecad04
commit
1a850876bf
|
@ -8,6 +8,9 @@ spec:
|
||||||
{{- if not .Values.autoscaling.enabled }}
|
{{- if not .Values.autoscaling.enabled }}
|
||||||
replicas: {{ .Values.replicaCount }}
|
replicas: {{ .Values.replicaCount }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
strategy:
|
||||||
|
# we need to cleanly cancel all the orders, so we use Recreate strategy here
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "bbgo.selectorLabels" . | nindent 6 }}
|
{{- include "bbgo.selectorLabels" . | nindent 6 }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user