diff --git a/deploy/charts/emqx/templates/StatefulSet.yaml b/deploy/charts/emqx/templates/StatefulSet.yaml index 36e362e23..02c2ec02c 100644 --- a/deploy/charts/emqx/templates/StatefulSet.yaml +++ b/deploy/charts/emqx/templates/StatefulSet.yaml @@ -150,13 +150,6 @@ spec: initialDelaySeconds: 60 periodSeconds: 30 failureThreshold: 10 - lifecycle: - preStop: - exec: - command: - - "/opt/emqx/bin/emqx_ctl" - - "cluster" - - "leave" {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}