Browse Source

chore: fix updateStrategy (#16389)

Signed-off-by: Gallardot <gallardot@apache.org>
dev
Gallardot 4 months ago committed by GitHub
parent
commit
380aba4686
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      deploy/kubernetes/dolphinscheduler/README.md
  2. 4
      deploy/kubernetes/dolphinscheduler/values.yaml

4
deploy/kubernetes/dolphinscheduler/README.md

@ -246,7 +246,7 @@ Please refer to the [Quick Start in Kubernetes](../../../docs/docs/en/guide/inst
| master.service.serviceMonitor.labels | object | `{}` | serviceMonitor.labels ServiceMonitor extra labels | | master.service.serviceMonitor.labels | object | `{}` | serviceMonitor.labels ServiceMonitor extra labels |
| master.service.serviceMonitor.path | string | `"/actuator/prometheus"` | serviceMonitor.path path of the metrics endpoint | | master.service.serviceMonitor.path | string | `"/actuator/prometheus"` | serviceMonitor.path path of the metrics endpoint |
| 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. | | 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. |
| master.updateStrategy | object | `{"rollingUpdate":{"partition":0},"type":"RollingUpdate"}` | Update strategy ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies | | master.updateStrategy | object | `{"type":"RollingUpdate"}` | Update strategy ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies |
| minio.auth.rootPassword | string | `"minioadmin"` | minio password | | minio.auth.rootPassword | string | `"minioadmin"` | minio password |
| minio.auth.rootUser | string | `"minioadmin"` | minio username | | minio.auth.rootUser | string | `"minioadmin"` | minio username |
| minio.defaultBuckets | string | `"dolphinscheduler"` | minio default buckets | | minio.defaultBuckets | string | `"dolphinscheduler"` | minio default buckets |
@ -359,7 +359,7 @@ Please refer to the [Quick Start in Kubernetes](../../../docs/docs/en/guide/inst
| worker.service.serviceMonitor.labels | object | `{}` | serviceMonitor.labels ServiceMonitor extra labels | | worker.service.serviceMonitor.labels | object | `{}` | serviceMonitor.labels ServiceMonitor extra labels |
| worker.service.serviceMonitor.path | string | `"/actuator/prometheus"` | serviceMonitor.path path of the metrics endpoint | | worker.service.serviceMonitor.path | string | `"/actuator/prometheus"` | serviceMonitor.path path of the metrics endpoint |
| 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. | | 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. |
| worker.updateStrategy | object | `{"rollingUpdate":{"partition":0},"type":"RollingUpdate"}` | Update strategy ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies | | worker.updateStrategy | object | `{"type":"RollingUpdate"}` | Update strategy ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies |
| zookeeper.enabled | bool | `true` | If not exists external registry, the zookeeper registry will be used by default. | | zookeeper.enabled | bool | `true` | If not exists external registry, the zookeeper registry will be used by default. |
| zookeeper.fourlwCommandsWhitelist | string | `"srvr,ruok,wchs,cons"` | A list of comma separated Four Letter Words commands to use | | zookeeper.fourlwCommandsWhitelist | string | `"srvr,ruok,wchs,cons"` | A list of comma separated Four Letter Words commands to use |
| zookeeper.persistence.enabled | bool | `false` | Set `zookeeper.persistence.enabled` to true to mount a new volume for internal ZooKeeper | | zookeeper.persistence.enabled | bool | `false` | Set `zookeeper.persistence.enabled` to true to mount a new volume for internal ZooKeeper |

4
deploy/kubernetes/dolphinscheduler/values.yaml

@ -429,8 +429,6 @@ master:
# #
updateStrategy: updateStrategy:
type: RollingUpdate type: RollingUpdate
rollingUpdate:
partition: 0
# -- Replicas is the desired number of replicas of the given Template. # -- Replicas is the desired number of replicas of the given Template.
replicas: "3" replicas: "3"
# -- You can use annotations to attach arbitrary non-identifying metadata to objects. # -- You can use annotations to attach arbitrary non-identifying metadata to objects.
@ -574,8 +572,6 @@ worker:
# #
updateStrategy: updateStrategy:
type: RollingUpdate type: RollingUpdate
rollingUpdate:
partition: 0
# -- Replicas is the desired number of replicas of the given Template. # -- Replicas is the desired number of replicas of the given Template.
replicas: "3" replicas: "3"
# -- You can use annotations to attach arbitrary non-identifying metadata to objects. # -- You can use annotations to attach arbitrary non-identifying metadata to objects.

Loading…
Cancel
Save