diff --git a/charts/bbgo/templates/deployment.yaml b/charts/bbgo/templates/deployment.yaml index 7f3164b02..db9a5397d 100644 --- a/charts/bbgo/templates/deployment.yaml +++ b/charts/bbgo/templates/deployment.yaml @@ -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 }}