chart: use Recreate strategy

This commit is contained in:
c9s 2021-12-28 01:57:01 +08:00
parent 7ea3ecad04
commit 1a850876bf

View File

@ -8,6 +8,9 @@ spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
strategy:
# we need to cleanly cancel all the orders, so we use Recreate strategy here
type: Recreate
selector:
matchLabels:
{{- include "bbgo.selectorLabels" . | nindent 6 }}