values.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  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: "docker.io"
  25. repository: "dolphinscheduler"
  26. tag: "1.2.0"
  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. service:
  52. port: "2181"
  53. persistence:
  54. enabled: false
  55. size: "20Gi"
  56. storageClass: "-"
  57. # If exists external zookeeper, and set zookeeper.enable value to false.
  58. # If zookeeper.enable is false, Dolphinscheduler's zookeeper will use it.
  59. externalZookeeper:
  60. taskQueue: "zookeeper"
  61. zookeeperQuorum: "127.0.0.1:2181"
  62. master:
  63. podManagementPolicy: "Parallel"
  64. replicas: "3"
  65. # NodeSelector is a selector which must be true for the pod to fit on a node.
  66. # Selector which must match a node's labels for the pod to be scheduled on that node.
  67. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  68. nodeSelector: {}
  69. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  70. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  71. tolerations: []
  72. # Affinity is a group of affinity scheduling rules.
  73. # If specified, the pod's scheduling constraints.
  74. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  75. affinity: {}
  76. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  77. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  78. configmap:
  79. MASTER_EXEC_THREADS: "100"
  80. MASTER_EXEC_TASK_NUM: "20"
  81. MASTER_HEARTBEAT_INTERVAL: "10"
  82. MASTER_TASK_COMMIT_RETRYTIMES: "5"
  83. MASTER_TASK_COMMIT_INTERVAL: "1000"
  84. MASTER_MAX_CPULOAD_AVG: "100"
  85. MASTER_RESERVED_MEMORY: "0.1"
  86. livenessProbe:
  87. enabled: true
  88. initialDelaySeconds: "30"
  89. periodSeconds: "30"
  90. timeoutSeconds: "5"
  91. failureThreshold: "3"
  92. successThreshold: "1"
  93. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  94. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  95. readinessProbe:
  96. enabled: true
  97. initialDelaySeconds: "30"
  98. periodSeconds: "30"
  99. timeoutSeconds: "5"
  100. failureThreshold: "3"
  101. successThreshold: "1"
  102. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  103. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  104. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  105. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  106. persistentVolumeClaim:
  107. enabled: false
  108. accessModes:
  109. - "ReadWriteOnce"
  110. storageClassName: "-"
  111. storage: "20Gi"
  112. worker:
  113. podManagementPolicy: "Parallel"
  114. replicas: "3"
  115. # NodeSelector is a selector which must be true for the pod to fit on a node.
  116. # Selector which must match a node's labels for the pod to be scheduled on that node.
  117. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  118. nodeSelector: {}
  119. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  120. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  121. tolerations: []
  122. # Affinity is a group of affinity scheduling rules.
  123. # If specified, the pod's scheduling constraints.
  124. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  125. affinity: {}
  126. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  127. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  128. livenessProbe:
  129. enabled: true
  130. initialDelaySeconds: "30"
  131. periodSeconds: "30"
  132. timeoutSeconds: "5"
  133. failureThreshold: "3"
  134. successThreshold: "1"
  135. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  136. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  137. readinessProbe:
  138. enabled: true
  139. initialDelaySeconds: "30"
  140. periodSeconds: "30"
  141. timeoutSeconds: "5"
  142. failureThreshold: "3"
  143. successThreshold: "1"
  144. configmap:
  145. WORKER_EXEC_THREADS: "100"
  146. WORKER_HEARTBEAT_INTERVAL: "10"
  147. WORKER_FETCH_TASK_NUM: "3"
  148. WORKER_MAX_CPULOAD_AVG: "100"
  149. WORKER_RESERVED_MEMORY: "0.1"
  150. DOLPHINSCHEDULER_DATA_BASEDIR_PATH: "/tmp/dolphinscheduler"
  151. DOLPHINSCHEDULER_ENV:
  152. - "export HADOOP_HOME=/opt/soft/hadoop"
  153. - "export HADOOP_CONF_DIR=/opt/soft/hadoop/etc/hadoop"
  154. - "export SPARK_HOME1=/opt/soft/spark1"
  155. - "export SPARK_HOME2=/opt/soft/spark2"
  156. - "export PYTHON_HOME=/opt/soft/python"
  157. - "export JAVA_HOME=/opt/soft/java"
  158. - "export HIVE_HOME=/opt/soft/hive"
  159. - "export FLINK_HOME=/opt/soft/flink"
  160. - "export PATH=$HADOOP_HOME/bin:$SPARK_HOME1/bin:$SPARK_HOME2/bin:$PYTHON_HOME:$JAVA_HOME/bin:$HIVE_HOME/bin:$FLINK_HOME/bin:$PATH"
  161. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  162. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  163. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  164. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  165. persistentVolumeClaim:
  166. enabled: false
  167. ## dolphinscheduler data volume
  168. dataPersistentVolume:
  169. enabled: false
  170. accessModes:
  171. - "ReadWriteOnce"
  172. storageClassName: "-"
  173. storage: "20Gi"
  174. ## dolphinscheduler logs volume
  175. logsPersistentVolume:
  176. enabled: false
  177. accessModes:
  178. - "ReadWriteOnce"
  179. storageClassName: "-"
  180. storage: "20Gi"
  181. alert:
  182. strategy:
  183. type: "RollingUpdate"
  184. rollingUpdate:
  185. maxSurge: "25%"
  186. maxUnavailable: "25%"
  187. replicas: "1"
  188. # NodeSelector is a selector which must be true for the pod to fit on a node.
  189. # Selector which must match a node's labels for the pod to be scheduled on that node.
  190. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  191. nodeSelector: {}
  192. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  193. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  194. tolerations: []
  195. # Affinity is a group of affinity scheduling rules.
  196. # If specified, the pod's scheduling constraints.
  197. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  198. affinity: {}
  199. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  200. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  201. configmap:
  202. XLS_FILE_PATH: "/tmp/xls"
  203. MAIL_SERVER_HOST: ""
  204. MAIL_SERVER_PORT: ""
  205. MAIL_SENDER: ""
  206. MAIL_USER: ""
  207. MAIL_PASSWD: ""
  208. MAIL_SMTP_STARTTLS_ENABLE: false
  209. MAIL_SMTP_SSL_ENABLE: false
  210. MAIL_SMTP_SSL_TRUST: ""
  211. ENTERPRISE_WECHAT_ENABLE: false
  212. ENTERPRISE_WECHAT_CORP_ID: ""
  213. ENTERPRISE_WECHAT_SECRET: ""
  214. ENTERPRISE_WECHAT_AGENT_ID: ""
  215. ENTERPRISE_WECHAT_USERS: ""
  216. livenessProbe:
  217. enabled: true
  218. initialDelaySeconds: "30"
  219. periodSeconds: "30"
  220. timeoutSeconds: "5"
  221. failureThreshold: "3"
  222. successThreshold: "1"
  223. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  224. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  225. readinessProbe:
  226. enabled: true
  227. initialDelaySeconds: "30"
  228. periodSeconds: "30"
  229. timeoutSeconds: "5"
  230. failureThreshold: "3"
  231. successThreshold: "1"
  232. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  233. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  234. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  235. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  236. persistentVolumeClaim:
  237. enabled: false
  238. accessModes:
  239. - "ReadWriteOnce"
  240. storageClassName: "-"
  241. storage: "20Gi"
  242. api:
  243. strategy:
  244. type: "RollingUpdate"
  245. rollingUpdate:
  246. maxSurge: "25%"
  247. maxUnavailable: "25%"
  248. replicas: "1"
  249. # NodeSelector is a selector which must be true for the pod to fit on a node.
  250. # Selector which must match a node's labels for the pod to be scheduled on that node.
  251. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  252. nodeSelector: {}
  253. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  254. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  255. tolerations: []
  256. # Affinity is a group of affinity scheduling rules.
  257. # If specified, the pod's scheduling constraints.
  258. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  259. affinity: {}
  260. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  261. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  262. livenessProbe:
  263. enabled: true
  264. initialDelaySeconds: "30"
  265. periodSeconds: "30"
  266. timeoutSeconds: "5"
  267. failureThreshold: "3"
  268. successThreshold: "1"
  269. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  270. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  271. readinessProbe:
  272. enabled: true
  273. initialDelaySeconds: "30"
  274. periodSeconds: "30"
  275. timeoutSeconds: "5"
  276. failureThreshold: "3"
  277. successThreshold: "1"
  278. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  279. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  280. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  281. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  282. persistentVolumeClaim:
  283. enabled: false
  284. accessModes:
  285. - "ReadWriteOnce"
  286. storageClassName: "-"
  287. storage: "20Gi"
  288. frontend:
  289. strategy:
  290. type: "RollingUpdate"
  291. rollingUpdate:
  292. maxSurge: "25%"
  293. maxUnavailable: "25%"
  294. replicas: "1"
  295. # NodeSelector is a selector which must be true for the pod to fit on a node.
  296. # Selector which must match a node's labels for the pod to be scheduled on that node.
  297. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  298. nodeSelector: {}
  299. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  300. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  301. tolerations: []
  302. # Affinity is a group of affinity scheduling rules.
  303. # If specified, the pod's scheduling constraints.
  304. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  305. affinity: {}
  306. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  307. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  308. livenessProbe:
  309. enabled: true
  310. initialDelaySeconds: "30"
  311. periodSeconds: "30"
  312. timeoutSeconds: "5"
  313. failureThreshold: "3"
  314. successThreshold: "1"
  315. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  316. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  317. readinessProbe:
  318. enabled: true
  319. initialDelaySeconds: "30"
  320. periodSeconds: "30"
  321. timeoutSeconds: "5"
  322. failureThreshold: "3"
  323. successThreshold: "1"
  324. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  325. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  326. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  327. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  328. persistentVolumeClaim:
  329. enabled: false
  330. accessModes:
  331. - "ReadWriteOnce"
  332. storageClassName: "-"
  333. storage: "20Gi"
  334. ingress:
  335. enabled: false
  336. host: "dolphinscheduler.org"
  337. path: "/"
  338. tls:
  339. enabled: false
  340. hosts:
  341. - "dolphinscheduler.org"
  342. secretName: "dolphinscheduler-tls"