values.yaml 17 KB

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