values.yaml 14 KB

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