values.yaml 17 KB

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