values.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  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. registry: "dolphinscheduler.docker.scarf.sh/apache"
  23. tag: "dev-SNAPSHOT"
  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. host: "localhost"
  41. port: "5432"
  42. username: "root"
  43. password: "root"
  44. database: "dolphinscheduler"
  45. params: "characterEncoding=utf8"
  46. ## If not exists external registry, the zookeeper registry will be used by default.
  47. zookeeper:
  48. enabled: true
  49. fourlwCommandsWhitelist: "srvr,ruok,wchs,cons"
  50. persistence:
  51. enabled: false
  52. size: "20Gi"
  53. storageClass: "-"
  54. ## If exists external registry and set zookeeper.enable value to false, the external registry will be used.
  55. externalRegistry:
  56. registryPluginDir: "lib/plugin/registry"
  57. registryPluginName: "zookeeper"
  58. registryServers: "127.0.0.1:2181"
  59. common:
  60. ## Configmap
  61. configmap:
  62. DOLPHINSCHEDULER_OPTS: ""
  63. DATA_BASEDIR_PATH: "/tmp/dolphinscheduler"
  64. RESOURCE_STORAGE_TYPE: "HDFS"
  65. RESOURCE_UPLOAD_PATH: "/dolphinscheduler"
  66. FS_DEFAULT_FS: "file:///"
  67. FS_S3A_ENDPOINT: "s3.xxx.amazonaws.com"
  68. FS_S3A_ACCESS_KEY: "xxxxxxx"
  69. FS_S3A_SECRET_KEY: "xxxxxxx"
  70. HADOOP_SECURITY_AUTHENTICATION_STARTUP_STATE: "false"
  71. JAVA_SECURITY_KRB5_CONF_PATH: "/opt/krb5.conf"
  72. LOGIN_USER_KEYTAB_USERNAME: "hdfs@HADOOP.COM"
  73. LOGIN_USER_KEYTAB_PATH: "/opt/hdfs.keytab"
  74. KERBEROS_EXPIRE_TIME: "2"
  75. HDFS_ROOT_USER: "hdfs"
  76. RESOURCE_MANAGER_HTTPADDRESS_PORT: "8088"
  77. YARN_RESOURCEMANAGER_HA_RM_IDS: ""
  78. YARN_APPLICATION_STATUS_ADDRESS: "http://ds1:%s/ws/v1/cluster/apps/%s"
  79. YARN_JOB_HISTORY_STATUS_ADDRESS: "http://ds1:19888/ws/v1/history/mapreduce/jobs/%s"
  80. DATASOURCE_ENCRYPTION_ENABLE: "false"
  81. DATASOURCE_ENCRYPTION_SALT: "!@#$%^&*"
  82. SUDO_ENABLE: "true"
  83. # dolphinscheduler env
  84. HADOOP_HOME: "/opt/soft/hadoop"
  85. HADOOP_CONF_DIR: "/opt/soft/hadoop/etc/hadoop"
  86. SPARK_HOME1: "/opt/soft/spark1"
  87. SPARK_HOME2: "/opt/soft/spark2"
  88. PYTHON_HOME: "/usr/bin/python"
  89. JAVA_HOME: "/usr/local/openjdk-8"
  90. HIVE_HOME: "/opt/soft/hive"
  91. FLINK_HOME: "/opt/soft/flink"
  92. DATAX_HOME: "/opt/soft/datax"
  93. ## Shared storage persistence mounted into api, master and worker, such as Hadoop, Spark, Flink and DataX binary package
  94. sharedStoragePersistence:
  95. enabled: false
  96. mountPath: "/opt/soft"
  97. accessModes:
  98. - "ReadWriteMany"
  99. ## storageClassName must support the access mode: ReadWriteMany
  100. storageClassName: "-"
  101. storage: "20Gi"
  102. ## If RESOURCE_STORAGE_TYPE is HDFS and FS_DEFAULT_FS is file:///, fsFileResourcePersistence should be enabled for resource storage
  103. fsFileResourcePersistence:
  104. enabled: false
  105. accessModes:
  106. - "ReadWriteMany"
  107. ## storageClassName must support the access mode: ReadWriteMany
  108. storageClassName: "-"
  109. storage: "20Gi"
  110. master:
  111. ## PodManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.
  112. podManagementPolicy: "Parallel"
  113. ## Replicas is the desired number of replicas of the given Template.
  114. replicas: "3"
  115. ## You can use annotations to attach arbitrary non-identifying metadata to objects.
  116. ## Clients such as tools and libraries can retrieve this metadata.
  117. annotations: {}
  118. ## Affinity is a group of affinity scheduling rules. If specified, the pod's scheduling constraints.
  119. ## More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  120. affinity: {}
  121. ## NodeSelector is a selector which must be true for the pod to fit on a node.
  122. ## Selector which must match a node's labels for the pod to be scheduled on that node.
  123. ## More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  124. nodeSelector: {}
  125. ## Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  126. ## effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  127. tolerations: []
  128. ## Compute Resources required by this container. Cannot be updated.
  129. ## More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container
  130. resources: {}
  131. # resources:
  132. # limits:
  133. # memory: "8Gi"
  134. # cpu: "4"
  135. # requests:
  136. # memory: "2Gi"
  137. # cpu: "500m"
  138. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  139. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  140. livenessProbe:
  141. enabled: true
  142. initialDelaySeconds: "30"
  143. periodSeconds: "30"
  144. timeoutSeconds: "5"
  145. failureThreshold: "3"
  146. successThreshold: "1"
  147. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  148. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  149. readinessProbe:
  150. enabled: true
  151. initialDelaySeconds: "30"
  152. periodSeconds: "30"
  153. timeoutSeconds: "5"
  154. failureThreshold: "3"
  155. successThreshold: "1"
  156. ## PersistentVolumeClaim represents a reference to a PersistentVolumeClaim in the same namespace.
  157. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  158. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  159. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  160. persistentVolumeClaim:
  161. enabled: false
  162. accessModes:
  163. - "ReadWriteOnce"
  164. storageClassName: "-"
  165. storage: "20Gi"
  166. env:
  167. JAVA_OPTS: "-Xms1g -Xmx1g -Xmn512m"
  168. MASTER_EXEC_THREADS: "100"
  169. MASTER_EXEC_TASK_NUM: "20"
  170. MASTER_DISPATCH_TASK_NUM: "3"
  171. MASTER_HOST_SELECTOR: "LowerWeight"
  172. MASTER_HEARTBEAT_INTERVAL: "10"
  173. MASTER_TASK_COMMIT_RETRYTIMES: "5"
  174. MASTER_TASK_COMMIT_INTERVAL: "1000"
  175. MASTER_MAX_CPU_LOAD_AVG: "-1"
  176. MASTER_RESERVED_MEMORY: "0.3"
  177. MASTER_FAILOVER_INTERVAL: 10
  178. MASTER_KILL_YARN_JOB_WHEN_HANDLE_FAILOVER: "true"
  179. worker:
  180. ## PodManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.
  181. podManagementPolicy: "Parallel"
  182. ## Replicas is the desired number of replicas of the given Template.
  183. replicas: "3"
  184. ## You can use annotations to attach arbitrary non-identifying metadata to objects.
  185. ## Clients such as tools and libraries can retrieve this metadata.
  186. annotations: {}
  187. ## Affinity is a group of affinity scheduling rules. If specified, the pod's scheduling constraints.
  188. ## More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  189. affinity: {}
  190. ## NodeSelector is a selector which must be true for the pod to fit on a node.
  191. ## Selector which must match a node's labels for the pod to be scheduled on that node.
  192. ## More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  193. nodeSelector: {}
  194. ## Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  195. ## effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  196. tolerations: []
  197. ## Compute Resources required by this container. Cannot be updated.
  198. ## More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container
  199. resources: {}
  200. # resources:
  201. # limits:
  202. # memory: "8Gi"
  203. # cpu: "4"
  204. # requests:
  205. # memory: "2Gi"
  206. # cpu: "500m"
  207. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  208. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  209. livenessProbe:
  210. enabled: true
  211. initialDelaySeconds: "30"
  212. periodSeconds: "30"
  213. timeoutSeconds: "5"
  214. failureThreshold: "3"
  215. successThreshold: "1"
  216. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  217. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  218. readinessProbe:
  219. enabled: true
  220. initialDelaySeconds: "30"
  221. periodSeconds: "30"
  222. timeoutSeconds: "5"
  223. failureThreshold: "3"
  224. successThreshold: "1"
  225. ## PersistentVolumeClaim represents a reference to a PersistentVolumeClaim in the same namespace.
  226. ## The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod.
  227. ## Every claim in this list must have at least one matching (by name) volumeMount in one container in the template.
  228. ## A claim in this list takes precedence over any volumes in the template, with the same name.
  229. persistentVolumeClaim:
  230. enabled: false
  231. ## dolphinscheduler data volume
  232. dataPersistentVolume:
  233. enabled: false
  234. accessModes:
  235. - "ReadWriteOnce"
  236. storageClassName: "-"
  237. storage: "20Gi"
  238. ## dolphinscheduler logs volume
  239. logsPersistentVolume:
  240. enabled: false
  241. accessModes:
  242. - "ReadWriteOnce"
  243. storageClassName: "-"
  244. storage: "20Gi"
  245. env:
  246. WORKER_GROUPS_0: default
  247. WORKER_MAX_CPU_LOAD_AVG: "-1"
  248. WORKER_RESERVED_MEMORY: "0.3"
  249. WORKER_EXEC_THREADS: "100"
  250. WORKER_HEARTBEAT_INTERVAL: "10"
  251. WORKER_HOST_WEIGHT: "100"
  252. WORKER_GROUPS: "default"
  253. alert:
  254. ## Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
  255. replicas: 1
  256. ## The deployment strategy to use to replace existing pods with new ones.
  257. strategy:
  258. type: "RollingUpdate"
  259. rollingUpdate:
  260. maxSurge: "25%"
  261. maxUnavailable: "25%"
  262. ## You can use annotations to attach arbitrary non-identifying metadata to objects.
  263. ## Clients such as tools and libraries can retrieve this metadata.
  264. annotations: {}
  265. ## NodeSelector is a selector which must be true for the pod to fit on a node.
  266. ## Selector which must match a node's labels for the pod to be scheduled on that node.
  267. ## More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  268. affinity: {}
  269. ## Compute Resources required by this container. Cannot be updated.
  270. ## More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container
  271. nodeSelector: {}
  272. ## Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  273. ## effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  274. tolerations: []
  275. ## Affinity is a group of affinity scheduling rules. If specified, the pod's scheduling constraints.
  276. ## More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  277. resources: {}
  278. # resources:
  279. # limits:
  280. # memory: "2Gi"
  281. # cpu: "1"
  282. # requests:
  283. # memory: "1Gi"
  284. # cpu: "500m"
  285. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  286. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  287. livenessProbe:
  288. enabled: true
  289. initialDelaySeconds: "30"
  290. periodSeconds: "30"
  291. timeoutSeconds: "5"
  292. failureThreshold: "3"
  293. successThreshold: "1"
  294. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  295. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  296. readinessProbe:
  297. enabled: true
  298. initialDelaySeconds: "30"
  299. periodSeconds: "30"
  300. timeoutSeconds: "5"
  301. failureThreshold: "3"
  302. successThreshold: "1"
  303. ## PersistentVolumeClaim represents a reference to a PersistentVolumeClaim in the same namespace.
  304. ## More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  305. persistentVolumeClaim:
  306. enabled: false
  307. accessModes:
  308. - "ReadWriteOnce"
  309. storageClassName: "-"
  310. storage: "20Gi"
  311. env:
  312. JAVA_OPTS: "-Xms512m -Xmx512m -Xmn256m"
  313. api:
  314. ## Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
  315. replicas: "1"
  316. ## The deployment strategy to use to replace existing pods with new ones.
  317. strategy:
  318. type: "RollingUpdate"
  319. rollingUpdate:
  320. maxSurge: "25%"
  321. maxUnavailable: "25%"
  322. ## You can use annotations to attach arbitrary non-identifying metadata to objects.
  323. ## Clients such as tools and libraries can retrieve this metadata.
  324. annotations: {}
  325. ## NodeSelector is a selector which must be true for the pod to fit on a node.
  326. ## Selector which must match a node's labels for the pod to be scheduled on that node.
  327. ## More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
  328. affinity: {}
  329. ## Compute Resources required by this container. Cannot be updated.
  330. ## More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container
  331. nodeSelector: {}
  332. ## Tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission,
  333. ## effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
  334. tolerations: []
  335. ## Affinity is a group of affinity scheduling rules. If specified, the pod's scheduling constraints.
  336. ## More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.17/#affinity-v1-core
  337. resources: {}
  338. # resources:
  339. # limits:
  340. # memory: "2Gi"
  341. # cpu: "1"
  342. # requests:
  343. # memory: "1Gi"
  344. # cpu: "500m"
  345. ## Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated.
  346. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  347. livenessProbe:
  348. enabled: true
  349. initialDelaySeconds: "30"
  350. periodSeconds: "30"
  351. timeoutSeconds: "5"
  352. failureThreshold: "3"
  353. successThreshold: "1"
  354. ## Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated.
  355. ## More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  356. readinessProbe:
  357. enabled: true
  358. initialDelaySeconds: "30"
  359. periodSeconds: "30"
  360. timeoutSeconds: "5"
  361. failureThreshold: "3"
  362. successThreshold: "1"
  363. ## PersistentVolumeClaim represents a reference to a PersistentVolumeClaim in the same namespace.
  364. ## More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
  365. persistentVolumeClaim:
  366. enabled: false
  367. accessModes:
  368. - "ReadWriteOnce"
  369. storageClassName: "-"
  370. storage: "20Gi"
  371. service:
  372. ## type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer
  373. type: "ClusterIP"
  374. ## clusterIP is the IP address of the service and is usually assigned randomly by the master
  375. clusterIP: ""
  376. ## nodePort is the port on each node on which this service is exposed when type=NodePort
  377. nodePort: ""
  378. ## externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service
  379. externalIPs: []
  380. ## externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service, requires Type to be ExternalName
  381. externalName: ""
  382. ## loadBalancerIP when service.type is LoadBalancer. LoadBalancer will get created with the IP specified in this field
  383. loadBalancerIP: ""
  384. ## annotations may need to be set when service.type is LoadBalancer
  385. ## service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-1:EXAMPLE_CERT
  386. annotations: {}
  387. env:
  388. JAVA_OPTS: "-Xms512m -Xmx512m -Xmn256m"
  389. ingress:
  390. enabled: false
  391. host: "dolphinscheduler.org"
  392. path: "/dolphinscheduler"
  393. tls:
  394. enabled: false
  395. secretName: "dolphinscheduler-tls"