This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new ceea147e2d [doc] update kubernetes doc (#13716)
ceea147e2d is described below

commit ceea147e2d29cc5f9f599b8624a61d3a14d44a14
Author: Aaron Wang <[email protected]>
AuthorDate: Fri Mar 10 18:02:36 2023 +0800

    [doc] update kubernetes doc (#13716)
---
 docs/docs/en/guide/installation/kubernetes.md | 31 ++++++++++-----------
 docs/docs/zh/guide/installation/kubernetes.md | 40 +++++++++++++--------------
 2 files changed, 35 insertions(+), 36 deletions(-)

diff --git a/docs/docs/en/guide/installation/kubernetes.md 
b/docs/docs/en/guide/installation/kubernetes.md
index ac6c4faf08..8086c65a9e 100644
--- a/docs/docs/en/guide/installation/kubernetes.md
+++ b/docs/docs/en/guide/installation/kubernetes.md
@@ -597,16 +597,16 @@ common:
 | `master.nodeSelector`                                                | 
NodeSelector is a selector which must be true for the pod to fit on a node      
                                              | `{}`                            
      |
 | `master.tolerations`                                                 | If 
specified, the pod's tolerations                                                
                                           | `{}`                               
   |
 | `master.resources`                                                   | The 
`resource` limit and request config for master server                           
                                          | `{}`                                
  |
-| `master.configmap.MASTER_SERVER_OPTS`                                | The 
jvm options for master server                                                   
                                          | `-Xms1g -Xmx1g -Xmn512m`            
  |
-| `master.configmap.MASTER_EXEC_THREADS`                               | 
Master execute thread number to limit process instances                         
                                              | `100`                           
      |
-| `master.configmap.MASTER_EXEC_TASK_NUM`                              | 
Master execute task number in parallel per process instance                     
                                              | `20`                            
      |
-| `master.configmap.MASTER_DISPATCH_TASK_NUM`                          | 
Master dispatch task number per batch                                           
                                              | `3`                             
      |
-| `master.configmap.MASTER_HOST_SELECTOR`                              | 
Master host selector to select a suitable worker, optional values include 
Random, RoundRobin, LowerWeight                     | `LowerWeight`             
            |
-| `master.configmap.MASTER_HEARTBEAT_INTERVAL`                         | 
Master heartbeat interval, the unit is second                                   
                                              | `10`                            
      |
-| `master.configmap.MASTER_TASK_COMMIT_RETRYTIMES`                     | 
Master commit task retry times                                                  
                                              | `5`                             
      |
-| `master.configmap.MASTER_TASK_COMMIT_INTERVAL`                       | 
master commit task interval, the unit is second                                 
                                              | `1`                             
      |
-| `master.configmap.MASTER_MAX_CPULOAD_AVG`                            | 
Master max cpuload avg, only higher than the system cpu load average, master 
server can schedule                              | `-1` (`the number of cpu 
cores * 2`)  |
-| `master.configmap.MASTER_RESERVED_MEMORY`                            | 
Master reserved memory, only lower than system available memory, master server 
can schedule, the unit is G                    | `0.3`                          
       |
+| `master.env.JAVA_OPTS`                                               | The 
jvm options for master server                                                   
                                          | `-Xms1g -Xmx1g -Xmn512m`            
  |
+| `master.env.MASTER_EXEC_THREADS`                                     | 
Master execute thread number to limit process instances                         
                                              | `100`                           
      |
+| `master.env.MASTER_EXEC_TASK_NUM`                                    | 
Master execute task number in parallel per process instance                     
                                              | `20`                            
      |
+| `master.env.MASTER_DISPATCH_TASK_NUM`                                | 
Master dispatch task number per batch                                           
                                              | `3`                             
      |
+| `master.env.MASTER_HOST_SELECTOR`                                    | 
Master host selector to select a suitable worker, optional values include 
Random, RoundRobin, LowerWeight                     | `LowerWeight`             
            |
+| `master.env.MASTER_HEARTBEAT_INTERVAL`                               | 
Master heartbeat interval, the unit is second                                   
                                              | `10s`                           
      |
+| `master.env.MASTER_TASK_COMMIT_RETRYTIMES`                           | 
Master commit task retry times                                                  
                                              | `5`                             
      |
+| `master.env.MASTER_TASK_COMMIT_INTERVAL`                             | 
master commit task interval, the unit is second                                 
                                              | `1s`                            
      |
+| `master.env.MASTER_MAX_CPULOAD_AVG`                                  | 
Master max cpuload avg, only higher than the system cpu load average, master 
server can schedule                              | `-1` (`the number of cpu 
cores * 2`)  |
+| `master.env.MASTER_RESERVED_MEMORY`                                  | 
Master reserved memory, only lower than system available memory, master server 
can schedule, the unit is G                    | `0.3`                          
       |
 | `master.livenessProbe.enabled`                                       | Turn 
on and off liveness probe                                                       
                                         | `true`                               
 |
 | `master.livenessProbe.initialDelaySeconds`                           | Delay 
before liveness probe is initiated                                              
                                        | `30`                                  
|
 | `master.livenessProbe.periodSeconds`                                 | How 
often to perform the probe                                                      
                                          | `30`                                
  |
@@ -631,12 +631,11 @@ common:
 | `worker.nodeSelector`                                                | 
NodeSelector is a selector which must be true for the pod to fit on a node      
                                              | `{}`                            
      |
 | `worker.tolerations`                                                 | If 
specified, the pod's tolerations                                                
                                           | `{}`                               
   |
 | `worker.resources`                                                   | The 
`resource` limit and request config for worker server                           
                                          | `{}`                                
  |
-| `worker.configmap.WORKER_SERVER_OPTS`                                | The 
jvm options for worker server                                                   
                                          | `-Xms1g -Xmx1g -Xmn512m`            
  |
-| `worker.configmap.WORKER_EXEC_THREADS`                               | 
Worker execute thread number to limit task instances                            
                                              | `100`                           
      |
-| `worker.configmap.WORKER_HEARTBEAT_INTERVAL`                         | 
Worker heartbeat interval, the unit is second                                   
                                              | `10`                            
      |
-| `worker.configmap.WORKER_MAX_CPULOAD_AVG`                            | 
Worker max cpuload avg, only higher than the system cpu load average, worker 
server can be dispatched tasks                   | `-1` (`the number of cpu 
cores * 2`)  |
-| `worker.configmap.WORKER_RESERVED_MEMORY`                            | 
Worker reserved memory, only lower than system available memory, worker server 
can be dispatched tasks, the unit is G         | `0.3`                          
       |
-| `worker.configmap.WORKER_GROUPS`                                     | 
Worker groups                                                                   
                                              | `default`                       
      |
+| `worker.env.WORKER_EXEC_THREADS`                                     | 
Worker execute thread number to limit task instances                            
                                              | `100`                           
      |
+| `worker.env.WORKER_HEARTBEAT_INTERVAL`                               | 
Worker heartbeat interval, the unit is second                                   
                                              | `10s`                           
      |
+| `worker.env.WORKER_MAX_CPU_LOAD_AVG`                                 | 
Worker max cpu load avg, only higher than the system cpu load average, worker 
server can be dispatched tasks                  | `-1` (`the number of cpu 
cores * 2`)  |
+| `worker.env.WORKER_RESERVED_MEMORY`                                  | 
Worker reserved memory, only lower than system available memory, worker server 
can be dispatched tasks, the unit is G         | `0.3`                          
       |
+| `worker.env.HOST_WEIGHT`                                             | 
Worker host weight to dispatch tasks                                            
                                              | `100`                           
      |
 | `worker.livenessProbe.enabled`                                       | Turn 
on and off liveness probe                                                       
                                         | `true`                               
 |
 | `worker.livenessProbe.initialDelaySeconds`                           | Delay 
before liveness probe is initiated                                              
                                        | `30`                                  
|
 | `worker.livenessProbe.periodSeconds`                                 | How 
often to perform the probe                                                      
                                          | `30`                                
  |
diff --git a/docs/docs/zh/guide/installation/kubernetes.md 
b/docs/docs/zh/guide/installation/kubernetes.md
index e01d4fde0a..5635f30471 100644
--- a/docs/docs/zh/guide/installation/kubernetes.md
+++ b/docs/docs/zh/guide/installation/kubernetes.md
@@ -521,7 +521,7 @@ common:
 |                                                                      |       
                                                                                
                                        |                                       
|
 | `image.repository`                                                   | 
Docker image repository for the DolphinScheduler                                
                                              | `apache/dolphinscheduler`       
      |
 | `image.tag`                                                          | 
Docker image version for the DolphinScheduler                                   
                                              | `latest`                        
      |
-| `image.pullPolicy`                                                   | Image 
pull policy. One of Always, Never, IfNotPresent                                 
                                        | `IfNotPresent`                        
|
+| `image.pullPolicy`                                                   | Image 
pull policy. Options: Always, Never, IfNotPresent                               
                                        | `IfNotPresent`                        
|
 | `image.pullSecret`                                                   | Image 
pull secret. An optional reference to secret in the same namespace to use for 
pulling any of the images                 | `nil`                               
  |
 |                                                                      |       
                                                                                
                                        |                                       
|
 | `postgresql.enabled`                                                 | If 
not exists external PostgreSQL, by default, the DolphinScheduler will use a 
internal PostgreSQL                            | `true`                         
       |
@@ -531,6 +531,7 @@ common:
 | `postgresql.persistence.enabled`                                     | Set 
`postgresql.persistence.enabled` to `true` to mount a new volume for internal 
PostgreSQL                                  | `false`                           
    |
 | `postgresql.persistence.size`                                        | 
`PersistentVolumeClaim` size                                                    
                                              | `20Gi`                          
      |
 | `postgresql.persistence.storageClass`                                | 
PostgreSQL data persistent volume storage class. If set to "-", 
storageClassName: "", which disables dynamic provisioning     | `-`             
                      |
+| `minio.enabled`                                                      | 
Deploy minio and configure it as the default storage for DolphinScheduler, note 
this is for demo only, not for production.    | `false`                         
      |
 | `externalDatabase.type`                                              | If 
exists external PostgreSQL, and set `postgresql.enabled` value to false. 
DolphinScheduler's database type will use it      | `postgresql`                
          |
 | `externalDatabase.driver`                                            | If 
exists external PostgreSQL, and set `postgresql.enabled` value to false. 
DolphinScheduler's database driver will use it    | `org.postgresql.Driver`     
          |
 | `externalDatabase.host`                                              | If 
exists external PostgreSQL, and set `postgresql.enabled` value to false. 
DolphinScheduler's database host will use it      | `localhost`                 
          |
@@ -540,12 +541,12 @@ common:
 | `externalDatabase.database`                                          | If 
exists external PostgreSQL, and set `postgresql.enabled` value to false. 
DolphinScheduler's database database will use it  | `dolphinscheduler`          
          |
 | `externalDatabase.params`                                            | If 
exists external PostgreSQL, and set `postgresql.enabled` value to false. 
DolphinScheduler's database params will use it    | `characterEncoding=utf8`    
          |
 |                                                                      |       
                                                                                
                                        |                                       
|
-| `zookeeper.enabled`                                                  | If 
not exists external Zookeeper, by default, the DolphinScheduler will use a 
internal Zookeeper                              | `true`                        
        |
+| `zookeeper.enabled`                                                  | If 
not exists external ZooKeeper, by default, the DolphinScheduler will use a 
internal ZooKeeper                              | `true`                        
        |
 | `zookeeper.service.port`                                             | The 
port of zookeeper                                                               
                                          | `2181`                              
  |
 | `zookeeper.fourlwCommandsWhitelist`                                  | A 
list of comma separated Four Letter Words commands to use                       
                                            | `srvr,ruok,wchs,cons`             
    |
-| `zookeeper.persistence.enabled`                                      | Set 
`zookeeper.persistence.enabled` to `true` to mount a new volume for internal 
Zookeeper                                    | `false`                          
     |
+| `zookeeper.persistence.enabled`                                      | Set 
`zookeeper.persistence.enabled` to `true` to mount a new volume for internal 
ZooKeeper                                    | `false`                          
     |
 | `zookeeper.persistence.size`                                         | 
`PersistentVolumeClaim` size                                                    
                                              | `20Gi`                          
      |
-| `zookeeper.persistence.storageClass`                                 | 
Zookeeper data persistent volume storage class. If set to "-", 
storageClassName: "", which disables dynamic provisioning      | `-`            
                       |
+| `zookeeper.persistence.storageClass`                                 | 
ZooKeeper data persistent volume storage class. If set to "-", 
storageClassName: "", which disables dynamic provisioning      | `-`            
                       |
 | `externalRegistry.registryPluginName`                                | If 
exists external registry and set `zookeeper.enable` to `false`, specify the 
external registry plugin name                  | `zookeeper`                    
       |
 | `externalRegistry.registryServers`                                   | If 
exists external registry and set `zookeeper.enable` to `false`, specify the 
external registry servers                      | `127.0.0.1:2181`               
       |
 |                                                                      |       
                                                                                
                                        |                                       
|
@@ -595,16 +596,16 @@ common:
 | `master.nodeSelector`                                                | 
NodeSelector is a selector which must be true for the pod to fit on a node      
                                              | `{}`                            
      |
 | `master.tolerations`                                                 | If 
specified, the pod's tolerations                                                
                                           | `{}`                               
   |
 | `master.resources`                                                   | The 
`resource` limit and request config for master server                           
                                          | `{}`                                
  |
-| `master.configmap.MASTER_SERVER_OPTS`                                | The 
jvm options for master server                                                   
                                          | `-Xms1g -Xmx1g -Xmn512m`            
  |
-| `master.configmap.MASTER_EXEC_THREADS`                               | 
Master execute thread number to limit process instances                         
                                              | `100`                           
      |
-| `master.configmap.MASTER_EXEC_TASK_NUM`                              | 
Master execute task number in parallel per process instance                     
                                              | `20`                            
      |
-| `master.configmap.MASTER_DISPATCH_TASK_NUM`                          | 
Master dispatch task number per batch                                           
                                              | `3`                             
      |
-| `master.configmap.MASTER_HOST_SELECTOR`                              | 
Master host selector to select a suitable worker, optional values include 
Random, RoundRobin, LowerWeight                     | `LowerWeight`             
            |
-| `master.configmap.MASTER_HEARTBEAT_INTERVAL`                         | 
Master heartbeat interval, the unit is second                                   
                                              | `10`                            
      |
-| `master.configmap.MASTER_TASK_COMMIT_RETRYTIMES`                     | 
Master commit task retry times                                                  
                                              | `5`                             
      |
-| `master.configmap.MASTER_TASK_COMMIT_INTERVAL`                       | 
master commit task interval, the unit is second                                 
                                              | `1`                             
      |
-| `master.configmap.MASTER_MAX_CPULOAD_AVG`                            | 
Master max cpuload avg, only higher than the system cpu load average, master 
server can schedule                              | `-1` (`the number of cpu 
cores * 2`)  |
-| `master.configmap.MASTER_RESERVED_MEMORY`                            | 
Master reserved memory, only lower than system available memory, master server 
can schedule, the unit is G                    | `0.3`                          
       |
+| `master.env.JAVA_OPTS`                                               | The 
jvm options for master server                                                   
                                          | `-Xms1g -Xmx1g -Xmn512m`            
  |
+| `master.env.MASTER_EXEC_THREADS`                                     | 
Master execute thread number to limit process instances                         
                                              | `100`                           
      |
+| `master.env.MASTER_EXEC_TASK_NUM`                                    | 
Master execute task number in parallel per process instance                     
                                              | `20`                            
      |
+| `master.env.MASTER_DISPATCH_TASK_NUM`                                | 
Master dispatch task number per batch                                           
                                              | `3`                             
      |
+| `master.env.MASTER_HOST_SELECTOR`                                    | 
Master host selector to select a suitable worker, optional values include 
Random, RoundRobin, LowerWeight                     | `LowerWeight`             
            |
+| `master.env.MASTER_HEARTBEAT_INTERVAL`                               | 
Master heartbeat interval, the unit is second                                   
                                              | `10s`                           
      |
+| `master.env.MASTER_TASK_COMMIT_RETRYTIMES`                           | 
Master commit task retry times                                                  
                                              | `5`                             
      |
+| `master.env.MASTER_TASK_COMMIT_INTERVAL`                             | 
master commit task interval, the unit is second                                 
                                              | `1s`                            
      |
+| `master.env.MASTER_MAX_CPULOAD_AVG`                                  | 
Master max cpuload avg, only higher than the system cpu load average, master 
server can schedule                              | `-1` (`the number of cpu 
cores * 2`)  |
+| `master.env.MASTER_RESERVED_MEMORY`                                  | 
Master reserved memory, only lower than system available memory, master server 
can schedule, the unit is G                    | `0.3`                          
       |
 | `master.livenessProbe.enabled`                                       | Turn 
on and off liveness probe                                                       
                                         | `true`                               
 |
 | `master.livenessProbe.initialDelaySeconds`                           | Delay 
before liveness probe is initiated                                              
                                        | `30`                                  
|
 | `master.livenessProbe.periodSeconds`                                 | How 
often to perform the probe                                                      
                                          | `30`                                
  |
@@ -629,12 +630,11 @@ common:
 | `worker.nodeSelector`                                                | 
NodeSelector is a selector which must be true for the pod to fit on a node      
                                              | `{}`                            
      |
 | `worker.tolerations`                                                 | If 
specified, the pod's tolerations                                                
                                           | `{}`                               
   |
 | `worker.resources`                                                   | The 
`resource` limit and request config for worker server                           
                                          | `{}`                                
  |
-| `worker.configmap.WORKER_SERVER_OPTS`                                | The 
jvm options for worker server                                                   
                                          | `-Xms1g -Xmx1g -Xmn512m`            
  |
-| `worker.configmap.WORKER_EXEC_THREADS`                               | 
Worker execute thread number to limit task instances                            
                                              | `100`                           
      |
-| `worker.configmap.WORKER_HEARTBEAT_INTERVAL`                         | 
Worker heartbeat interval, the unit is second                                   
                                              | `10`                            
      |
-| `worker.configmap.WORKER_MAX_CPULOAD_AVG`                            | 
Worker max cpuload avg, only higher than the system cpu load average, worker 
server can be dispatched tasks                   | `-1` (`the number of cpu 
cores * 2`)  |
-| `worker.configmap.WORKER_RESERVED_MEMORY`                            | 
Worker reserved memory, only lower than system available memory, worker server 
can be dispatched tasks, the unit is G         | `0.3`                          
       |
-| `worker.configmap.WORKER_GROUPS`                                     | 
Worker groups                                                                   
                                              | `default`                       
      |
+| `worker.env.WORKER_EXEC_THREADS`                                     | 
Worker execute thread number to limit task instances                            
                                              | `100`                           
      |
+| `worker.env.WORKER_HEARTBEAT_INTERVAL`                               | 
Worker heartbeat interval, the unit is second                                   
                                              | `10s`                           
      |
+| `worker.env.WORKER_MAX_CPU_LOAD_AVG`                                 | 
Worker max cpu load avg, only higher than the system cpu load average, worker 
server can be dispatched tasks                  | `-1` (`the number of cpu 
cores * 2`)  |
+| `worker.env.WORKER_RESERVED_MEMORY`                                  | 
Worker reserved memory, only lower than system available memory, worker server 
can be dispatched tasks, the unit is G         | `0.3`                          
       |
+| `worker.env.HOST_WEIGHT`                                             | 
Worker host weight to dispatch tasks                                            
                                              | `100`                           
      |
 | `worker.livenessProbe.enabled`                                       | Turn 
on and off liveness probe                                                       
                                         | `true`                               
 |
 | `worker.livenessProbe.initialDelaySeconds`                           | Delay 
before liveness probe is initiated                                              
                                        | `30`                                  
|
 | `worker.livenessProbe.periodSeconds`                                 | How 
often to perform the probe                                                      
                                          | `30`                                
  |

Reply via email to