values.yaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. #
  2. # Licensed to the Apache Software Foundation (ASF) under one or more
  3. # contributor license agreements. See the NOTICE file distributed with
  4. # this work for additional information regarding copyright ownership.
  5. # The ASF licenses this file to You under the Apache License, Version 2.0
  6. # (the "License"); you may not use this file except in compliance with
  7. # the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. # Default values for dolphinscheduler-chart.
  18. # This is a YAML-formatted file.
  19. # Declare variables to be passed into your templates.
  20. nameOverride: ""
  21. fullnameOverride: ""
  22. timezone: "Asia/Shanghai"
  23. image:
  24. registry: "apache"
  25. repository: "dolphinscheduler"
  26. tag: "latest"
  27. pullPolicy: "IfNotPresent"
  28. imagePullSecrets: []
  29. # If not exists external postgresql, by default, Dolphinscheduler's database will use it.
  30. postgresql:
  31. enabled: true
  32. postgresqlUsername: "root"
  33. postgresqlPassword: "root"
  34. postgresqlDatabase: "dolphinscheduler"
  35. persistence:
  36. enabled: false
  37. size: "20Gi"
  38. storageClass: "-"
  39. # If exists external postgresql, and set postgresql.enable value to false.
  40. # If postgresql.enable is false, Dolphinscheduler's database will use it.
  41. externalDatabase:
  42. host: "localhost"
  43. port: "5432"
  44. username: "root"
  45. password: "root"
  46. database: "dolphinscheduler"
  47. # If not exists external zookeeper, by default, Dolphinscheduler's zookeeper will use it.
  48. zookeeper:
  49. enabled: true
  50. taskQueue: "zookeeper"
  51. config:
  52. ZOO_4LW_COMMANDS_WHITELIST: srvr,ruok,wchs,cons
  53. service:
  54. port: "2181"
  55. persistence:
  56. enabled: false
  57. size: "20Gi"
  58. storageClass: "-"
  59. # If exists external zookeeper, and set zookeeper.enable value to false.
  60. # If zookeeper.enable is false, Dolphinscheduler's zookeeper will use it.
  61. externalZookeeper:
  62. taskQueue: "zookeeper"
  63. zookeeperQuorum: "127.0.0.1:2181"
  64. master:
  65. podManagementPolicy: "Parallel"
  66. replicas: "3"
  67. # NodeSelector is a selector which must be true for the pod to fit on a node.
  68. # Selector which must match a node's labels for the pod to be scheduled on that node.
  69. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  70. nodeSelector: {}
  71. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  72. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  73. tolerations: []
  74. # Affinity is a group of affinity scheduling rules.
  75. # If specified, the pod's scheduling constraints.
  76. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  77. affinity: {}
  78. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  79. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  80. configmap:
  81. MASTER_EXEC_THREADS: "100"
  82. MASTER_EXEC_TASK_NUM: "20"
  83. MASTER_HEARTBEAT_INTERVAL: "10"
  84. MASTER_TASK_COMMIT_RETRYTIMES: "5"
  85. MASTER_TASK_COMMIT_INTERVAL: "1000"
  86. MASTER_MAX_CPULOAD_AVG: "100"
  87. MASTER_RESERVED_MEMORY: "0.1"
  88. MASTER_LISTEN_PORT: "5678"
  89. livenessProbe:
  90. enabled: true
  91. initialDelaySeconds: "30"
  92. periodSeconds: "30"
  93. timeoutSeconds: "5"
  94. failureThreshold: "3"
  95. successThreshold: "1"
  96. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  97. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  98. readinessProbe:
  99. enabled: true
  100. initialDelaySeconds: "30"
  101. periodSeconds: "30"
  102. timeoutSeconds: "5"
  103. failureThreshold: "3"
  104. successThreshold: "1"
  105. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  106. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  107. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  108. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  109. persistentVolumeClaim:
  110. enabled: false
  111. accessModes:
  112. - "ReadWriteOnce"
  113. storageClassName: "-"
  114. storage: "20Gi"
  115. worker:
  116. podManagementPolicy: "Parallel"
  117. replicas: "3"
  118. # NodeSelector is a selector which must be true for the pod to fit on a node.
  119. # Selector which must match a node's labels for the pod to be scheduled on that node.
  120. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  121. nodeSelector: {}
  122. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  123. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  124. tolerations: []
  125. # Affinity is a group of affinity scheduling rules.
  126. # If specified, the pod's scheduling constraints.
  127. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  128. affinity: {}
  129. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  130. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  131. livenessProbe:
  132. enabled: true
  133. initialDelaySeconds: "30"
  134. periodSeconds: "30"
  135. timeoutSeconds: "5"
  136. failureThreshold: "3"
  137. successThreshold: "1"
  138. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  139. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  140. readinessProbe:
  141. enabled: true
  142. initialDelaySeconds: "30"
  143. periodSeconds: "30"
  144. timeoutSeconds: "5"
  145. failureThreshold: "3"
  146. successThreshold: "1"
  147. configmap:
  148. WORKER_EXEC_THREADS: "100"
  149. WORKER_HEARTBEAT_INTERVAL: "10"
  150. WORKER_FETCH_TASK_NUM: "3"
  151. WORKER_MAX_CPULOAD_AVG: "100"
  152. WORKER_RESERVED_MEMORY: "0.1"
  153. WORKER_LISTEN_PORT: "1234"
  154. WORKER_GROUP: "default"
  155. DOLPHINSCHEDULER_DATA_BASEDIR_PATH: "/tmp/dolphinscheduler"
  156. DOLPHINSCHEDULER_ENV:
  157. - "export HADOOP_HOME=/opt/soft/hadoop"
  158. - "export HADOOP_CONF_DIR=/opt/soft/hadoop/etc/hadoop"
  159. - "export SPARK_HOME1=/opt/soft/spark1"
  160. - "export SPARK_HOME2=/opt/soft/spark2"
  161. - "export PYTHON_HOME=/opt/soft/python"
  162. - "export JAVA_HOME=/opt/soft/java"
  163. - "export HIVE_HOME=/opt/soft/hive"
  164. - "export FLINK_HOME=/opt/soft/flink"
  165. - "export PATH=$HADOOP_HOME/bin:$SPARK_HOME1/bin:$SPARK_HOME2/bin:$PYTHON_HOME:$JAVA_HOME/bin:$HIVE_HOME/bin:$FLINK_HOME/bin:$PATH"
  166. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  167. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  168. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  169. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  170. persistentVolumeClaim:
  171. enabled: false
  172. ## dolphinscheduler data volume
  173. dataPersistentVolume:
  174. enabled: false
  175. accessModes:
  176. - "ReadWriteOnce"
  177. storageClassName: "-"
  178. storage: "20Gi"
  179. ## dolphinscheduler logs volume
  180. logsPersistentVolume:
  181. enabled: false
  182. accessModes:
  183. - "ReadWriteOnce"
  184. storageClassName: "-"
  185. storage: "20Gi"
  186. alert:
  187. strategy:
  188. type: "RollingUpdate"
  189. rollingUpdate:
  190. maxSurge: "25%"
  191. maxUnavailable: "25%"
  192. replicas: "1"
  193. # NodeSelector is a selector which must be true for the pod to fit on a node.
  194. # Selector which must match a node's labels for the pod to be scheduled on that node.
  195. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  196. nodeSelector: {}
  197. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  198. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  199. tolerations: []
  200. # Affinity is a group of affinity scheduling rules.
  201. # If specified, the pod's scheduling constraints.
  202. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  203. affinity: {}
  204. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  205. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  206. configmap:
  207. XLS_FILE_PATH: "/tmp/xls"
  208. MAIL_SERVER_HOST: ""
  209. MAIL_SERVER_PORT: ""
  210. MAIL_SENDER: ""
  211. MAIL_USER: ""
  212. MAIL_PASSWD: ""
  213. MAIL_SMTP_STARTTLS_ENABLE: false
  214. MAIL_SMTP_SSL_ENABLE: false
  215. MAIL_SMTP_SSL_TRUST: ""
  216. ENTERPRISE_WECHAT_ENABLE: false
  217. ENTERPRISE_WECHAT_CORP_ID: ""
  218. ENTERPRISE_WECHAT_SECRET: ""
  219. ENTERPRISE_WECHAT_AGENT_ID: ""
  220. ENTERPRISE_WECHAT_USERS: ""
  221. livenessProbe:
  222. enabled: true
  223. initialDelaySeconds: "30"
  224. periodSeconds: "30"
  225. timeoutSeconds: "5"
  226. failureThreshold: "3"
  227. successThreshold: "1"
  228. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  229. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  230. readinessProbe:
  231. enabled: true
  232. initialDelaySeconds: "30"
  233. periodSeconds: "30"
  234. timeoutSeconds: "5"
  235. failureThreshold: "3"
  236. successThreshold: "1"
  237. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  238. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  239. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  240. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  241. persistentVolumeClaim:
  242. enabled: false
  243. accessModes:
  244. - "ReadWriteOnce"
  245. storageClassName: "-"
  246. storage: "20Gi"
  247. api:
  248. strategy:
  249. type: "RollingUpdate"
  250. rollingUpdate:
  251. maxSurge: "25%"
  252. maxUnavailable: "25%"
  253. replicas: "1"
  254. # NodeSelector is a selector which must be true for the pod to fit on a node.
  255. # Selector which must match a node's labels for the pod to be scheduled on that node.
  256. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  257. nodeSelector: {}
  258. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  259. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  260. tolerations: []
  261. # Affinity is a group of affinity scheduling rules.
  262. # If specified, the pod's scheduling constraints.
  263. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  264. affinity: {}
  265. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  266. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  267. livenessProbe:
  268. enabled: true
  269. initialDelaySeconds: "30"
  270. periodSeconds: "30"
  271. timeoutSeconds: "5"
  272. failureThreshold: "3"
  273. successThreshold: "1"
  274. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  275. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  276. readinessProbe:
  277. enabled: true
  278. initialDelaySeconds: "30"
  279. periodSeconds: "30"
  280. timeoutSeconds: "5"
  281. failureThreshold: "3"
  282. successThreshold: "1"
  283. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  284. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  285. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  286. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  287. persistentVolumeClaim:
  288. enabled: false
  289. accessModes:
  290. - "ReadWriteOnce"
  291. storageClassName: "-"
  292. storage: "20Gi"
  293. frontend:
  294. strategy:
  295. type: "RollingUpdate"
  296. rollingUpdate:
  297. maxSurge: "25%"
  298. maxUnavailable: "25%"
  299. replicas: "1"
  300. # NodeSelector is a selector which must be true for the pod to fit on a node.
  301. # Selector which must match a node's labels for the pod to be scheduled on that node.
  302. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  303. nodeSelector: {}
  304. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  305. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  306. tolerations: []
  307. # Affinity is a group of affinity scheduling rules.
  308. # If specified, the pod's scheduling constraints.
  309. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  310. affinity: {}
  311. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  312. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  313. livenessProbe:
  314. enabled: true
  315. initialDelaySeconds: "30"
  316. periodSeconds: "30"
  317. timeoutSeconds: "5"
  318. failureThreshold: "3"
  319. successThreshold: "1"
  320. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  321. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  322. readinessProbe:
  323. enabled: true
  324. initialDelaySeconds: "30"
  325. periodSeconds: "30"
  326. timeoutSeconds: "5"
  327. failureThreshold: "3"
  328. successThreshold: "1"
  329. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  330. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  331. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  332. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  333. persistentVolumeClaim:
  334. enabled: false
  335. accessModes:
  336. - "ReadWriteOnce"
  337. storageClassName: "-"
  338. storage: "20Gi"
  339. ingress:
  340. enabled: false
  341. host: "dolphinscheduler.org"
  342. path: "/"
  343. tls:
  344. enabled: false
  345. hosts:
  346. - "dolphinscheduler.org"
  347. secretName: "dolphinscheduler-tls"