apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.88k stars 4.63k forks source link

[Bug] [Helm] fail to change updateStrategy from RollingUpdate to onDelete #16388

Closed Gallardot closed 3 months ago

Gallardot commented 3 months ago

Search before asking

What happened

helm install default dolphinscheduler on k8s. Everything is ok. Change the master and worker's updateStrategy from RollingUpdate to OnDelete"

Error: UPGRADE FAILED: cannot patch "dolphinscheduler-master" with kind StatefulSet: StatefulSet.apps "dolphinscheduler-master" is invalid: spec.updateStrategy.rollingUpdate: Invalid value: apps.RollingUpdateStatefulSetStrategy{Partition:0}: only allowed for updateStrategy 'RollingUpdate' && cannot patch "dolphinscheduler-worker" with kind StatefulSet: StatefulSet.apps "dolphinscheduler-worker" is invalid: spec.updateStrategy.rollingUpdate: Invalid value: apps.RollingUpdateStatefulSetStrategy{Partition:0}: only allowed for updateStrategy 'RollingUpdate'

What you expected to happen

no error

How to reproduce

as mentioned above

Anything else

No response

Version

dev

Are you willing to submit PR?

Code of Conduct