values.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  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. DOLPHINSCHEDULER_DATA_BASEDIR_PATH: "/tmp/dolphinscheduler"
  194. DOLPHINSCHEDULER_ENV:
  195. - "export HADOOP_HOME=/opt/soft/hadoop"
  196. - "export HADOOP_CONF_DIR=/opt/soft/hadoop/etc/hadoop"
  197. - "export SPARK_HOME1=/opt/soft/spark1"
  198. - "export SPARK_HOME2=/opt/soft/spark2"
  199. - "export PYTHON_HOME=/opt/soft/python"
  200. - "export JAVA_HOME=/opt/soft/java"
  201. - "export HIVE_HOME=/opt/soft/hive"
  202. - "export FLINK_HOME=/opt/soft/flink"
  203. - "export PATH=$HADOOP_HOME/bin:$SPARK_HOME1/bin:$SPARK_HOME2/bin:$PYTHON_HOME:$JAVA_HOME/bin:$HIVE_HOME/bin:$FLINK_HOME/bin:$PATH"
  204. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  205. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  206. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  207. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  208. persistentVolumeClaim:
  209. enabled: false
  210. ## dolphinscheduler data volume
  211. dataPersistentVolume:
  212. enabled: false
  213. accessModes:
  214. - "ReadWriteOnce"
  215. storageClassName: "-"
  216. storage: "20Gi"
  217. ## dolphinscheduler logs volume
  218. logsPersistentVolume:
  219. enabled: false
  220. accessModes:
  221. - "ReadWriteOnce"
  222. storageClassName: "-"
  223. storage: "20Gi"
  224. alert:
  225. strategy:
  226. type: "RollingUpdate"
  227. rollingUpdate:
  228. maxSurge: "25%"
  229. maxUnavailable: "25%"
  230. replicas: "1"
  231. # NodeSelector is a selector which must be true for the pod to fit on a node.
  232. # Selector which must match a node's labels for the pod to be scheduled on that node.
  233. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  234. nodeSelector: {}
  235. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  236. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  237. tolerations: []
  238. # Affinity is a group of affinity scheduling rules.
  239. # If specified, the pod's scheduling constraints.
  240. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  241. affinity: {}
  242. # The jvm options for java instance startup
  243. jvmOptions: ""
  244. resources: {}
  245. # limits:
  246. # memory: "4Gi"
  247. # cpu: "1"
  248. # requests:
  249. # memory: "2Gi"
  250. # cpu: "500m"
  251. # You can use annotations to attach arbitrary non-identifying metadata to objects.
  252. # Clients such as tools and libraries can retrieve this metadata.
  253. annotations: {}
  254. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  255. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  256. configmap:
  257. ALERT_PLUGIN_DIR: "/opt/dolphinscheduler/alert/plugin"
  258. XLS_FILE_PATH: "/tmp/xls"
  259. MAIL_SERVER_HOST: ""
  260. MAIL_SERVER_PORT: ""
  261. MAIL_SENDER: ""
  262. MAIL_USER: ""
  263. MAIL_PASSWD: ""
  264. MAIL_SMTP_STARTTLS_ENABLE: false
  265. MAIL_SMTP_SSL_ENABLE: false
  266. MAIL_SMTP_SSL_TRUST: ""
  267. ENTERPRISE_WECHAT_ENABLE: false
  268. ENTERPRISE_WECHAT_CORP_ID: ""
  269. ENTERPRISE_WECHAT_SECRET: ""
  270. ENTERPRISE_WECHAT_AGENT_ID: ""
  271. ENTERPRISE_WECHAT_USERS: ""
  272. livenessProbe:
  273. enabled: true
  274. initialDelaySeconds: "30"
  275. periodSeconds: "30"
  276. timeoutSeconds: "5"
  277. failureThreshold: "3"
  278. successThreshold: "1"
  279. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  280. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  281. readinessProbe:
  282. enabled: true
  283. initialDelaySeconds: "30"
  284. periodSeconds: "30"
  285. timeoutSeconds: "5"
  286. failureThreshold: "3"
  287. successThreshold: "1"
  288. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  289. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  290. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  291. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  292. persistentVolumeClaim:
  293. enabled: false
  294. accessModes:
  295. - "ReadWriteOnce"
  296. storageClassName: "-"
  297. storage: "20Gi"
  298. api:
  299. strategy:
  300. type: "RollingUpdate"
  301. rollingUpdate:
  302. maxSurge: "25%"
  303. maxUnavailable: "25%"
  304. replicas: "1"
  305. # NodeSelector is a selector which must be true for the pod to fit on a node.
  306. # Selector which must match a node's labels for the pod to be scheduled on that node.
  307. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  308. nodeSelector: {}
  309. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  310. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  311. tolerations: []
  312. # Affinity is a group of affinity scheduling rules.
  313. # If specified, the pod's scheduling constraints.
  314. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  315. affinity: {}
  316. # The jvm options for java instance startup
  317. jvmOptions: ""
  318. resources: {}
  319. # limits:
  320. # memory: "4Gi"
  321. # cpu: "2"
  322. # requests:
  323. # memory: "2Gi"
  324. # cpu: "500m"
  325. # You can use annotations to attach arbitrary non-identifying metadata to objects.
  326. # Clients such as tools and libraries can retrieve this metadata.
  327. annotations: {}
  328. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  329. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  330. livenessProbe:
  331. enabled: true
  332. initialDelaySeconds: "30"
  333. periodSeconds: "30"
  334. timeoutSeconds: "5"
  335. failureThreshold: "3"
  336. successThreshold: "1"
  337. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  338. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  339. readinessProbe:
  340. enabled: true
  341. initialDelaySeconds: "30"
  342. periodSeconds: "30"
  343. timeoutSeconds: "5"
  344. failureThreshold: "3"
  345. successThreshold: "1"
  346. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  347. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  348. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  349. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  350. persistentVolumeClaim:
  351. enabled: false
  352. accessModes:
  353. - "ReadWriteOnce"
  354. storageClassName: "-"
  355. storage: "20Gi"
  356. frontend:
  357. strategy:
  358. type: "RollingUpdate"
  359. rollingUpdate:
  360. maxSurge: "25%"
  361. maxUnavailable: "25%"
  362. replicas: "1"
  363. # NodeSelector is a selector which must be true for the pod to fit on a node.
  364. # Selector which must match a node's labels for the pod to be scheduled on that node.
  365. # More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  366. nodeSelector: {}
  367. # Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  368. # effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  369. tolerations: []
  370. # Affinity is a group of affinity scheduling rules.
  371. # If specified, the pod's scheduling constraints.
  372. # More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  373. affinity: {}
  374. resources: {}
  375. # limits:
  376. # memory: "256Mi"
  377. # cpu: "1"
  378. # requests:
  379. # memory: "256Mi"
  380. # cpu: "500m"
  381. # You can use annotations to attach arbitrary non-identifying metadata to objects.
  382. # Clients such as tools and libraries can retrieve this metadata.
  383. annotations: {}
  384. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  385. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  386. livenessProbe:
  387. enabled: true
  388. initialDelaySeconds: "30"
  389. periodSeconds: "30"
  390. timeoutSeconds: "5"
  391. failureThreshold: "3"
  392. successThreshold: "1"
  393. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  394. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  395. readinessProbe:
  396. enabled: true
  397. initialDelaySeconds: "30"
  398. periodSeconds: "30"
  399. timeoutSeconds: "5"
  400. failureThreshold: "3"
  401. successThreshold: "1"
  402. ## volumeClaimTemplates is a list of claims that pods are allowed to reference.
  403. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  404. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  405. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  406. persistentVolumeClaim:
  407. enabled: false
  408. accessModes:
  409. - "ReadWriteOnce"
  410. storageClassName: "-"
  411. storage: "20Gi"
  412. ingress:
  413. enabled: false
  414. host: "dolphinscheduler.org"
  415. path: "/"
  416. tls:
  417. enabled: false
  418. hosts:
  419. - "dolphinscheduler.org"
  420. secretName: "dolphinscheduler-tls"