values.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  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. pullSecrets: []
  29. # If not exists external database, 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 database, and set postgresql.enable value to false.
  40. # external database will be used, otherwise Dolphinscheduler's database will be used.
  41. externalDatabase:
  42. type: "postgresql"
  43. driver: "org.postgresql.Driver"
  44. host: "localhost"
  45. port: "5432"
  46. username: "root"
  47. password: "root"
  48. database: "dolphinscheduler"
  49. # multi params should join with & char
  50. params: "characterEncoding=utf8"
  51. # If not exists external zookeeper, by default, Dolphinscheduler's zookeeper will use it.
  52. zookeeper:
  53. enabled: true
  54. taskQueue: "zookeeper"
  55. config: null
  56. service:
  57. port: "2181"
  58. persistence:
  59. enabled: false
  60. size: "20Gi"
  61. storageClass: "-"
  62. # If exists external zookeeper, and set zookeeper.enable value to false.
  63. # If zookeeper.enable is false, Dolphinscheduler's zookeeper will use it.
  64. externalZookeeper:
  65. taskQueue: "zookeeper"
  66. zookeeperQuorum: "127.0.0.1:2181"
  67. zookeeperRoot: "/dolphinscheduler"
  68. common:
  69. configmap:
  70. DOLPHINSCHEDULER_ENV_PATH: "/tmp/dolphinscheduler/env"
  71. DOLPHINSCHEDULER_DATA_BASEDIR_PATH: "/tmp/dolphinscheduler/files"
  72. RESOURCE_STORAGE_TYPE: "NONE"
  73. RESOURCE_UPLOAD_PATH: "/ds"
  74. FS_DEFAULT_FS: "s3a://xxxx"
  75. FS_S3A_ENDPOINT: "s3.xxx.amazonaws.com"
  76. FS_S3A_ACCESS_KEY: "xxxxxxx"
  77. FS_S3A_SECRET_KEY: "xxxxxxx"
  78. master:
  79. podManagementPolicy: "Parallel"
  80. replicas: "3"
  81. # NodeSelector is a selector which must be true for the pod to fit on a node.
  82. # Selector which must match a node's labels for the pod to be scheduled on that node.
  83. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  84. nodeSelector: {}
  85. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  86. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  87. tolerations: []
  88. # Affinity is a group of affinity scheduling rules.
  89. # If specified, the pod's scheduling constraints.
  90. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  91. affinity: {}
  92. # The jvm options for java instance startup
  93. jvmOptions: ""
  94. resources: {}
  95. # limits:
  96. # memory: "18Gi"
  97. # cpu: "4"
  98. # requests:
  99. # memory: "2Gi"
  100. # cpu: "500m"
  101. # You can use annotations to attach arbitrary non-identifying metadata to objects.
  102. # Clients such as tools and libraries can retrieve this metadata.
  103. annotations: {}
  104. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  105. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  106. configmap:
  107. MASTER_EXEC_THREADS: "100"
  108. MASTER_EXEC_TASK_NUM: "20"
  109. MASTER_HEARTBEAT_INTERVAL: "10"
  110. MASTER_TASK_COMMIT_RETRYTIMES: "5"
  111. MASTER_TASK_COMMIT_INTERVAL: "1000"
  112. MASTER_MAX_CPULOAD_AVG: "100"
  113. MASTER_RESERVED_MEMORY: "0.1"
  114. MASTER_LISTEN_PORT: "5678"
  115. livenessProbe:
  116. enabled: true
  117. initialDelaySeconds: "30"
  118. periodSeconds: "30"
  119. timeoutSeconds: "5"
  120. failureThreshold: "3"
  121. successThreshold: "1"
  122. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  123. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  124. readinessProbe:
  125. enabled: true
  126. initialDelaySeconds: "30"
  127. periodSeconds: "30"
  128. timeoutSeconds: "5"
  129. failureThreshold: "3"
  130. successThreshold: "1"
  131. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  132. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  133. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  134. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  135. persistentVolumeClaim:
  136. enabled: false
  137. accessModes:
  138. - "ReadWriteOnce"
  139. storageClassName: "-"
  140. storage: "20Gi"
  141. worker:
  142. podManagementPolicy: "Parallel"
  143. replicas: "3"
  144. # NodeSelector is a selector which must be true for the pod to fit on a node.
  145. # Selector which must match a node's labels for the pod to be scheduled on that node.
  146. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  147. nodeSelector: {}
  148. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  149. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  150. tolerations: []
  151. # Affinity is a group of affinity scheduling rules.
  152. # If specified, the pod's scheduling constraints.
  153. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  154. affinity: {}
  155. # The jvm options for java instance startup
  156. jvmOptions: ""
  157. resources: {}
  158. # limits:
  159. # memory: "18Gi"
  160. # cpu: "4"
  161. # requests:
  162. # memory: "2Gi"
  163. # cpu: "500m"
  164. # You can use annotations to attach arbitrary non-identifying metadata to objects.
  165. # Clients such as tools and libraries can retrieve this metadata.
  166. annotations: {}
  167. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  168. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  169. livenessProbe:
  170. enabled: true
  171. initialDelaySeconds: "30"
  172. periodSeconds: "30"
  173. timeoutSeconds: "5"
  174. failureThreshold: "3"
  175. successThreshold: "1"
  176. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  177. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  178. readinessProbe:
  179. enabled: true
  180. initialDelaySeconds: "30"
  181. periodSeconds: "30"
  182. timeoutSeconds: "5"
  183. failureThreshold: "3"
  184. successThreshold: "1"
  185. configmap:
  186. WORKER_EXEC_THREADS: "100"
  187. WORKER_HEARTBEAT_INTERVAL: "10"
  188. WORKER_FETCH_TASK_NUM: "3"
  189. WORKER_MAX_CPULOAD_AVG: "100"
  190. WORKER_RESERVED_MEMORY: "0.1"
  191. WORKER_LISTEN_PORT: "1234"
  192. WORKER_GROUP: "default"
  193. WORKER_WEIGHT: "100"
  194. DOLPHINSCHEDULER_DATA_BASEDIR_PATH: "/tmp/dolphinscheduler"
  195. DOLPHINSCHEDULER_ENV:
  196. - "export HADOOP_HOME=/opt/soft/hadoop"
  197. - "export HADOOP_CONF_DIR=/opt/soft/hadoop/etc/hadoop"
  198. - "export SPARK_HOME1=/opt/soft/spark1"
  199. - "export SPARK_HOME2=/opt/soft/spark2"
  200. - "export PYTHON_HOME=/opt/soft/python"
  201. - "export JAVA_HOME=/opt/soft/java"
  202. - "export HIVE_HOME=/opt/soft/hive"
  203. - "export FLINK_HOME=/opt/soft/flink"
  204. - "export PATH=$HADOOP_HOME/bin:$SPARK_HOME1/bin:$SPARK_HOME2/bin:$PYTHON_HOME:$JAVA_HOME/bin:$HIVE_HOME/bin:$FLINK_HOME/bin:$PATH"
  205. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  206. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  207. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  208. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  209. persistentVolumeClaim:
  210. enabled: false
  211. ## dolphinscheduler data volume
  212. dataPersistentVolume:
  213. enabled: false
  214. accessModes:
  215. - "ReadWriteOnce"
  216. storageClassName: "-"
  217. storage: "20Gi"
  218. ## dolphinscheduler logs volume
  219. logsPersistentVolume:
  220. enabled: false
  221. accessModes:
  222. - "ReadWriteOnce"
  223. storageClassName: "-"
  224. storage: "20Gi"
  225. alert:
  226. strategy:
  227. type: "RollingUpdate"
  228. rollingUpdate:
  229. maxSurge: "25%"
  230. maxUnavailable: "25%"
  231. replicas: "1"
  232. # NodeSelector is a selector which must be true for the pod to fit on a node.
  233. # Selector which must match a node's labels for the pod to be scheduled on that node.
  234. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  235. nodeSelector: {}
  236. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  237. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  238. tolerations: []
  239. # Affinity is a group of affinity scheduling rules.
  240. # If specified, the pod's scheduling constraints.
  241. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  242. affinity: {}
  243. # The jvm options for java instance startup
  244. jvmOptions: ""
  245. resources: {}
  246. # limits:
  247. # memory: "4Gi"
  248. # cpu: "1"
  249. # requests:
  250. # memory: "2Gi"
  251. # cpu: "500m"
  252. # You can use annotations to attach arbitrary non-identifying metadata to objects.
  253. # Clients such as tools and libraries can retrieve this metadata.
  254. annotations: {}
  255. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  256. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  257. configmap:
  258. ALERT_PLUGIN_DIR: "/opt/dolphinscheduler/alert/plugin"
  259. XLS_FILE_PATH: "/tmp/xls"
  260. MAIL_SERVER_HOST: ""
  261. MAIL_SERVER_PORT: ""
  262. MAIL_SENDER: ""
  263. MAIL_USER: ""
  264. MAIL_PASSWD: ""
  265. MAIL_SMTP_STARTTLS_ENABLE: false
  266. MAIL_SMTP_SSL_ENABLE: false
  267. MAIL_SMTP_SSL_TRUST: ""
  268. ENTERPRISE_WECHAT_ENABLE: false
  269. ENTERPRISE_WECHAT_CORP_ID: ""
  270. ENTERPRISE_WECHAT_SECRET: ""
  271. ENTERPRISE_WECHAT_AGENT_ID: ""
  272. ENTERPRISE_WECHAT_USERS: ""
  273. livenessProbe:
  274. enabled: true
  275. initialDelaySeconds: "30"
  276. periodSeconds: "30"
  277. timeoutSeconds: "5"
  278. failureThreshold: "3"
  279. successThreshold: "1"
  280. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  281. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  282. readinessProbe:
  283. enabled: true
  284. initialDelaySeconds: "30"
  285. periodSeconds: "30"
  286. timeoutSeconds: "5"
  287. failureThreshold: "3"
  288. successThreshold: "1"
  289. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  290. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  291. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  292. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  293. persistentVolumeClaim:
  294. enabled: false
  295. accessModes:
  296. - "ReadWriteOnce"
  297. storageClassName: "-"
  298. storage: "20Gi"
  299. api:
  300. strategy:
  301. type: "RollingUpdate"
  302. rollingUpdate:
  303. maxSurge: "25%"
  304. maxUnavailable: "25%"
  305. replicas: "1"
  306. # NodeSelector is a selector which must be true for the pod to fit on a node.
  307. # Selector which must match a node's labels for the pod to be scheduled on that node.
  308. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  309. nodeSelector: {}
  310. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  311. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  312. tolerations: []
  313. # Affinity is a group of affinity scheduling rules.
  314. # If specified, the pod's scheduling constraints.
  315. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  316. affinity: {}
  317. # The jvm options for java instance startup
  318. jvmOptions: ""
  319. resources: {}
  320. # limits:
  321. # memory: "4Gi"
  322. # cpu: "2"
  323. # requests:
  324. # memory: "2Gi"
  325. # cpu: "500m"
  326. # You can use annotations to attach arbitrary non-identifying metadata to objects.
  327. # Clients such as tools and libraries can retrieve this metadata.
  328. annotations: {}
  329. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  330. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  331. livenessProbe:
  332. enabled: true
  333. initialDelaySeconds: "30"
  334. periodSeconds: "30"
  335. timeoutSeconds: "5"
  336. failureThreshold: "3"
  337. successThreshold: "1"
  338. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  339. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  340. readinessProbe:
  341. enabled: true
  342. initialDelaySeconds: "30"
  343. periodSeconds: "30"
  344. timeoutSeconds: "5"
  345. failureThreshold: "3"
  346. successThreshold: "1"
  347. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  348. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  349. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  350. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  351. persistentVolumeClaim:
  352. enabled: false
  353. accessModes:
  354. - "ReadWriteOnce"
  355. storageClassName: "-"
  356. storage: "20Gi"
  357. frontend:
  358. strategy:
  359. type: "RollingUpdate"
  360. rollingUpdate:
  361. maxSurge: "25%"
  362. maxUnavailable: "25%"
  363. replicas: "1"
  364. # NodeSelector is a selector which must be true for the pod to fit on a node.
  365. # Selector which must match a node's labels for the pod to be scheduled on that node.
  366. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  367. nodeSelector: {}
  368. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  369. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  370. tolerations: []
  371. # Affinity is a group of affinity scheduling rules.
  372. # If specified, the pod's scheduling constraints.
  373. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  374. affinity: {}
  375. resources: {}
  376. # limits:
  377. # memory: "256Mi"
  378. # cpu: "1"
  379. # requests:
  380. # memory: "256Mi"
  381. # cpu: "500m"
  382. # You can use annotations to attach arbitrary non-identifying metadata to objects.
  383. # Clients such as tools and libraries can retrieve this metadata.
  384. annotations: {}
  385. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  386. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  387. livenessProbe:
  388. enabled: true
  389. initialDelaySeconds: "30"
  390. periodSeconds: "30"
  391. timeoutSeconds: "5"
  392. failureThreshold: "3"
  393. successThreshold: "1"
  394. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  395. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  396. readinessProbe:
  397. enabled: true
  398. initialDelaySeconds: "30"
  399. periodSeconds: "30"
  400. timeoutSeconds: "5"
  401. failureThreshold: "3"
  402. successThreshold: "1"
  403. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  404. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  405. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  406. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  407. persistentVolumeClaim:
  408. enabled: false
  409. accessModes:
  410. - "ReadWriteOnce"
  411. storageClassName: "-"
  412. storage: "20Gi"
  413. ingress:
  414. enabled: false
  415. host: "dolphinscheduler.org"
  416. path: "/"
  417. tls:
  418. enabled: false
  419. hosts:
  420. - "dolphinscheduler.org"
  421. secretName: "dolphinscheduler-tls"