values.yaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  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. timezone: "Asia/Shanghai"
  21. image:
  22. repository: "apache/dolphinscheduler"
  23. tag: "latest"
  24. pullPolicy: "IfNotPresent"
  25. pullSecret: ""
  26. ## If not exists external database, by default, Dolphinscheduler's database will use it.
  27. postgresql:
  28. enabled: true
  29. postgresqlUsername: "root"
  30. postgresqlPassword: "root"
  31. postgresqlDatabase: "dolphinscheduler"
  32. persistence:
  33. enabled: false
  34. size: "20Gi"
  35. storageClass: "-"
  36. ## If exists external database, and set postgresql.enable value to false.
  37. ## external database will be used, otherwise Dolphinscheduler's database will be used.
  38. externalDatabase:
  39. type: "postgresql"
  40. driver: "org.postgresql.Driver"
  41. host: "localhost"
  42. port: "5432"
  43. username: "root"
  44. password: "root"
  45. database: "dolphinscheduler"
  46. params: "characterEncoding=utf8"
  47. ## If not exists external zookeeper, by default, Dolphinscheduler's zookeeper will use it.
  48. zookeeper:
  49. enabled: true
  50. fourlwCommandsWhitelist: "srvr,ruok,wchs,cons"
  51. service:
  52. port: "2181"
  53. persistence:
  54. enabled: false
  55. size: "20Gi"
  56. storageClass: "-"
  57. zookeeperRoot: "/dolphinscheduler"
  58. ## If exists external zookeeper, and set zookeeper.enable value to false.
  59. ## If zookeeper.enable is false, Dolphinscheduler's zookeeper will use it.
  60. externalZookeeper:
  61. zookeeperQuorum: "127.0.0.1:2181"
  62. zookeeperRoot: "/dolphinscheduler"
  63. common:
  64. ## ConfigMap
  65. configmap:
  66. DOLPHINSCHEDULER_ENV:
  67. - "export HADOOP_HOME=/opt/soft/hadoop"
  68. - "export HADOOP_CONF_DIR=/opt/soft/hadoop/etc/hadoop"
  69. - "export SPARK_HOME1=/opt/soft/spark1"
  70. - "export SPARK_HOME2=/opt/soft/spark2"
  71. #- "export PYTHON_HOME=/opt/soft/python"
  72. - "export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk"
  73. - "export HIVE_HOME=/opt/soft/hive"
  74. - "export FLINK_HOME=/opt/soft/flink"
  75. - "export DATAX_HOME=/opt/soft/datax/bin/datax.py"
  76. - "export PATH=$HADOOP_HOME/bin:$SPARK_HOME1/bin:$SPARK_HOME2/bin:$JAVA_HOME/bin:$HIVE_HOME/bin:$FLINK_HOME/bin:$PATH"
  77. DOLPHINSCHEDULER_DATA_BASEDIR_PATH: "/tmp/dolphinscheduler"
  78. RESOURCE_STORAGE_TYPE: "HDFS"
  79. RESOURCE_UPLOAD_PATH: "/dolphinscheduler"
  80. FS_DEFAULT_FS: "file:///"
  81. FS_S3A_ENDPOINT: "s3.xxx.amazonaws.com"
  82. FS_S3A_ACCESS_KEY: "xxxxxxx"
  83. FS_S3A_SECRET_KEY: "xxxxxxx"
  84. ## If RESOURCE_STORAGE_TYPE is HDFS and FS_DEFAULT_FS is file:///, fsFileResourcePersistence should be enabled for resource storage
  85. fsFileResourcePersistence:
  86. enabled: false
  87. accessModes:
  88. - "ReadWriteMany"
  89. ## storageClassName must support the access mode: ReadWriteMany
  90. storageClassName: "-"
  91. storage: "20Gi"
  92. master:
  93. ## PodManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.
  94. podManagementPolicy: "Parallel"
  95. ## Replicas is the desired number of replicas of the given Template.
  96. replicas: "3"
  97. ## You can use annotations to attach arbitrary non-identifying metadata to objects.
  98. ## Clients such as tools and libraries can retrieve this metadata.
  99. annotations: {}
  100. ## Affinity is a group of affinity scheduling rules. If specified, the pod's scheduling constraints.
  101. ## More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  102. affinity: {}
  103. ## NodeSelector is a selector which must be true for the pod to fit on a node.
  104. ## Selector which must match a node's labels for the pod to be scheduled on that node.
  105. ## More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  106. nodeSelector: {}
  107. ## Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  108. ## effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  109. tolerations: []
  110. ## Compute Resources required by this container. Cannot be updated.
  111. ## More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container
  112. resources: {}
  113. # resources:
  114. # limits:
  115. # memory: "8Gi"
  116. # cpu: "4"
  117. # requests:
  118. # memory: "2Gi"
  119. # cpu: "500m"
  120. ## ConfigMap
  121. configmap:
  122. DOLPHINSCHEDULER_OPTS: ""
  123. MASTER_EXEC_THREADS: "100"
  124. MASTER_EXEC_TASK_NUM: "20"
  125. MASTER_HEARTBEAT_INTERVAL: "10"
  126. MASTER_TASK_COMMIT_RETRYTIMES: "5"
  127. MASTER_TASK_COMMIT_INTERVAL: "1000"
  128. MASTER_MAX_CPULOAD_AVG: "100"
  129. MASTER_RESERVED_MEMORY: "0.1"
  130. MASTER_LISTEN_PORT: "5678"
  131. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  132. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  133. livenessProbe:
  134. enabled: true
  135. initialDelaySeconds: "30"
  136. periodSeconds: "30"
  137. timeoutSeconds: "5"
  138. failureThreshold: "3"
  139. successThreshold: "1"
  140. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  141. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  142. readinessProbe:
  143. enabled: true
  144. initialDelaySeconds: "30"
  145. periodSeconds: "30"
  146. timeoutSeconds: "5"
  147. failureThreshold: "3"
  148. successThreshold: "1"
  149. ## PersistentVolumeClaim represents a reference to a PersistentVolumeClaim in the same namespace.
  150. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  151. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  152. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  153. persistentVolumeClaim:
  154. enabled: false
  155. accessModes:
  156. - "ReadWriteOnce"
  157. storageClassName: "-"
  158. storage: "20Gi"
  159. worker:
  160. ## PodManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.
  161. podManagementPolicy: "Parallel"
  162. ## Replicas is the desired number of replicas of the given Template.
  163. replicas: "3"
  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. ## Affinity is a group of affinity scheduling rules. If specified, the pod's scheduling constraints.
  168. ## More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  169. affinity: {}
  170. ## NodeSelector is a selector which must be true for the pod to fit on a node.
  171. ## Selector which must match a node's labels for the pod to be scheduled on that node.
  172. ## More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  173. nodeSelector: {}
  174. ## Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  175. ## effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  176. tolerations: []
  177. ## Compute Resources required by this container. Cannot be updated.
  178. ## More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container
  179. resources: {}
  180. # resources:
  181. # limits:
  182. # memory: "8Gi"
  183. # cpu: "4"
  184. # requests:
  185. # memory: "2Gi"
  186. # cpu: "500m"
  187. ## ConfigMap
  188. configmap:
  189. DOLPHINSCHEDULER_OPTS: ""
  190. WORKER_EXEC_THREADS: "100"
  191. WORKER_HEARTBEAT_INTERVAL: "10"
  192. WORKER_MAX_CPULOAD_AVG: "100"
  193. WORKER_RESERVED_MEMORY: "0.1"
  194. WORKER_LISTEN_PORT: "1234"
  195. WORKER_GROUPS: "default"
  196. WORKER_HOST_WEIGHT: "100"
  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. livenessProbe:
  200. enabled: true
  201. initialDelaySeconds: "30"
  202. periodSeconds: "30"
  203. timeoutSeconds: "5"
  204. failureThreshold: "3"
  205. successThreshold: "1"
  206. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  207. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  208. readinessProbe:
  209. enabled: true
  210. initialDelaySeconds: "30"
  211. periodSeconds: "30"
  212. timeoutSeconds: "5"
  213. failureThreshold: "3"
  214. successThreshold: "1"
  215. ## PersistentVolumeClaim represents a reference to a PersistentVolumeClaim in the same namespace.
  216. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  217. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  218. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  219. persistentVolumeClaim:
  220. enabled: false
  221. ## dolphinscheduler data volume
  222. dataPersistentVolume:
  223. enabled: false
  224. accessModes:
  225. - "ReadWriteOnce"
  226. storageClassName: "-"
  227. storage: "20Gi"
  228. ## dolphinscheduler logs volume
  229. logsPersistentVolume:
  230. enabled: false
  231. accessModes:
  232. - "ReadWriteOnce"
  233. storageClassName: "-"
  234. storage: "20Gi"
  235. alert:
  236. ## Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
  237. replicas: "1"
  238. ## The deployment strategy to use to replace existing pods with new ones.
  239. strategy:
  240. type: "RollingUpdate"
  241. rollingUpdate:
  242. maxSurge: "25%"
  243. maxUnavailable: "25%"
  244. ## You can use annotations to attach arbitrary non-identifying metadata to objects.
  245. ## Clients such as tools and libraries can retrieve this metadata.
  246. annotations: {}
  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. affinity: {}
  251. ## Compute Resources required by this container. Cannot be updated.
  252. ## More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container
  253. nodeSelector: {}
  254. ## Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  255. ## effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  256. tolerations: []
  257. ## Affinity is a group of affinity scheduling rules. If specified, the pod's scheduling constraints.
  258. ## More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  259. resources: {}
  260. # resources:
  261. # limits:
  262. # memory: "2Gi"
  263. # cpu: "1"
  264. # requests:
  265. # memory: "1Gi"
  266. # cpu: "500m"
  267. ## ConfigMap
  268. configmap:
  269. DOLPHINSCHEDULER_OPTS: ""
  270. ALERT_PLUGIN_DIR: "lib/plugin/alert"
  271. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  272. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  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. ## PersistentVolumeClaim represents a reference to a PersistentVolumeClaim in the same namespace.
  290. ## More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  291. persistentVolumeClaim:
  292. enabled: false
  293. accessModes:
  294. - "ReadWriteOnce"
  295. storageClassName: "-"
  296. storage: "20Gi"
  297. api:
  298. ## Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
  299. replicas: "1"
  300. ## The deployment strategy to use to replace existing pods with new ones.
  301. strategy:
  302. type: "RollingUpdate"
  303. rollingUpdate:
  304. maxSurge: "25%"
  305. maxUnavailable: "25%"
  306. ## You can use annotations to attach arbitrary non-identifying metadata to objects.
  307. ## Clients such as tools and libraries can retrieve this metadata.
  308. annotations: {}
  309. ## NodeSelector is a selector which must be true for the pod to fit on a node.
  310. ## Selector which must match a node's labels for the pod to be scheduled on that node.
  311. ## More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  312. affinity: {}
  313. ## Compute Resources required by this container. Cannot be updated.
  314. ## More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container
  315. nodeSelector: {}
  316. ## Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  317. ## effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  318. tolerations: []
  319. ## Affinity is a group of affinity scheduling rules. If specified, the pod's scheduling constraints.
  320. ## More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  321. resources: {}
  322. # resources:
  323. # limits:
  324. # memory: "2Gi"
  325. # cpu: "1"
  326. # requests:
  327. # memory: "1Gi"
  328. # cpu: "500m"
  329. ## ConfigMap
  330. configmap:
  331. DOLPHINSCHEDULER_OPTS: ""
  332. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  333. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  334. livenessProbe:
  335. enabled: true
  336. initialDelaySeconds: "30"
  337. periodSeconds: "30"
  338. timeoutSeconds: "5"
  339. failureThreshold: "3"
  340. successThreshold: "1"
  341. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  342. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  343. readinessProbe:
  344. enabled: true
  345. initialDelaySeconds: "30"
  346. periodSeconds: "30"
  347. timeoutSeconds: "5"
  348. failureThreshold: "3"
  349. successThreshold: "1"
  350. ## PersistentVolumeClaim represents a reference to a PersistentVolumeClaim in the same namespace.
  351. ## More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  352. persistentVolumeClaim:
  353. enabled: false
  354. accessModes:
  355. - "ReadWriteOnce"
  356. storageClassName: "-"
  357. storage: "20Gi"
  358. ingress:
  359. enabled: false
  360. host: "dolphinscheduler.org"
  361. path: "/dolphinscheduler"
  362. tls:
  363. enabled: false
  364. secretName: "dolphinscheduler-tls"