Skip to content

Commit 380aba4

Browse files
authored
chore: fix updateStrategy (#16389)
Signed-off-by: Gallardot <gallardot@apache.org>
1 parent 666201d commit 380aba4

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎deploy/kubernetes/dolphinscheduler/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Please refer to the [Quick Start in Kubernetes](../../../docs/docs/en/guide/inst
246246
| master.service.serviceMonitor.labels | object | `{}` | serviceMonitor.labels ServiceMonitor extra labels |
247247
| master.service.serviceMonitor.path | string | `"/actuator/prometheus"` | serviceMonitor.path path of the metrics endpoint |
248248
| master.tolerations | list | `[]` | Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass. |
249-
| master.updateStrategy | object | `{"rollingUpdate":{"partition":0},"type":"RollingUpdate"}` | Update strategy ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies |
249+
| master.updateStrategy | object | `{"type":"RollingUpdate"}` | Update strategy ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies |
250250
| minio.auth.rootPassword | string | `"minioadmin"` | minio password |
251251
| minio.auth.rootUser | string | `"minioadmin"` | minio username |
252252
| minio.defaultBuckets | string | `"dolphinscheduler"` | minio default buckets |
@@ -359,7 +359,7 @@ Please refer to the [Quick Start in Kubernetes](../../../docs/docs/en/guide/inst
359359
| worker.service.serviceMonitor.labels | object | `{}` | serviceMonitor.labels ServiceMonitor extra labels |
360360
| worker.service.serviceMonitor.path | string | `"/actuator/prometheus"` | serviceMonitor.path path of the metrics endpoint |
361361
| worker.tolerations | list | `[]` | Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass. |
362-
| worker.updateStrategy | object | `{"rollingUpdate":{"partition":0},"type":"RollingUpdate"}` | Update strategy ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies |
362+
| worker.updateStrategy | object | `{"type":"RollingUpdate"}` | Update strategy ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies |
363363
| zookeeper.enabled | bool | `true` | If not exists external registry, the zookeeper registry will be used by default. |
364364
| zookeeper.fourlwCommandsWhitelist | string | `"srvr,ruok,wchs,cons"` | A list of comma separated Four Letter Words commands to use |
365365
| zookeeper.persistence.enabled | bool | `false` | Set `zookeeper.persistence.enabled` to true to mount a new volume for internal ZooKeeper |

‎deploy/kubernetes/dolphinscheduler/values.yaml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,6 @@ master:
429429
#
430430
updateStrategy:
431431
type: RollingUpdate
432-
rollingUpdate:
433-
partition: 0
434432
# -- Replicas is the desired number of replicas of the given Template.
435433
replicas: "3"
436434
# -- You can use annotations to attach arbitrary non-identifying metadata to objects.
@@ -574,8 +572,6 @@ worker:
574572
#
575573
updateStrategy:
576574
type: RollingUpdate
577-
rollingUpdate:
578-
partition: 0
579575
# -- Replicas is the desired number of replicas of the given Template.
580576
replicas: "3"
581577
# -- You can use annotations to attach arbitrary non-identifying metadata to objects.

0 commit comments

Comments
 (0)