Browse Source

[Improvement][Docker] Rename worker group to worker groups

pull/3/MERGE
chengshiwen 4 years ago
parent
commit
c200911733
  1. 4
      docker/build/README.md
  2. 2
      docker/build/conf/dolphinscheduler/worker.properties.tpl
  3. 2
      docker/kubernetes/dolphinscheduler/README.md
  4. 2
      dolphinscheduler-server/src/main/resources/worker.properties

4
docker/build/README.md

@ -268,7 +268,7 @@ This environment variable sets port for `worker-server`. The default value is `1
**`WORKER_GROUPS`**
This environment variable sets group for `worker-server`. The default value is `default`.
This environment variable sets groups for `worker-server`. The default value is `default`.
**`WORKER_WEIGHT`**
@ -319,7 +319,7 @@ Stop containers:
docker-compose stop
```
Stop containers and removes containers, networks and volumes:
Stop containers and remove containers, networks and volumes:
```
docker-compose down -v

2
docker/build/conf/dolphinscheduler/worker.properties.tpl

@ -30,7 +30,7 @@ worker.reserved.memory=${WORKER_RESERVED_MEMORY}
# worker listener port
worker.listen.port=${WORKER_LISTEN_PORT}
# default worker group
# default worker groups
worker.groups=${WORKER_GROUPS}
# default worker weight

2
docker/kubernetes/dolphinscheduler/README.md

@ -136,7 +136,7 @@ The following tables lists the configurable parameters of the Dolphins Scheduler
| `worker.configmap.WORKER_MAX_CPULOAD_AVG` | Only less than cpu avg load, worker server can work. default value : the number of cpu cores * 2 | `100` |
| `worker.configmap.WORKER_RESERVED_MEMORY` | Only larger than reserved memory, worker server can work. default value : physical memory * 1/10, unit is G | `0.1` |
| `worker.configmap.WORKER_LISTEN_PORT` | Worker listen port | `1234` |
| `worker.configmap.WORKER_GROUP` | Worker group | `default` |
| `worker.configmap.WORKER_GROUPS` | Worker groups | `default` |
| `worker.configmap.WORKER_WEIGHT` | Worker weight | `100` |
| `worker.livenessProbe.enabled` | Turn on and off liveness probe | `true` |
| `worker.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated | `30` |

2
dolphinscheduler-server/src/main/resources/worker.properties

@ -30,7 +30,7 @@
# worker listener port
#worker.listen.port=1234
# default worker group
# default worker groups
#worker.groups=default
# default worker weight

Loading…
Cancel
Save