Browse Source

[Fix][CI] fix the ci error of Values.datasource.profile (#16031)

Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
upstream-dev
Rick Cheng 6 months ago committed by GitHub
parent
commit
dbd790ddac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      deploy/kubernetes/dolphinscheduler/README.md
  2. 14
      deploy/kubernetes/dolphinscheduler/templates/configmap-dolphinscheduler-alert.yaml
  3. 17
      deploy/kubernetes/dolphinscheduler/templates/configmap-dolphinscheduler-api.yaml
  4. 17
      deploy/kubernetes/dolphinscheduler/templates/configmap-dolphinscheduler-master.yaml
  5. 4
      deploy/kubernetes/dolphinscheduler/values.yaml

1
deploy/kubernetes/dolphinscheduler/README.md

@ -158,6 +158,7 @@ Please refer to the [Quick Start in Kubernetes](../../../docs/docs/en/guide/inst
| conf.common."yarn.application.status.address" | string | `"http://ds1:%s/ws/v1/cluster/apps/%s"` | if resourcemanager HA is enabled or not use resourcemanager, please keep the default value; If resourcemanager is single, you only need to replace ds1 to actual resourcemanager hostname | | conf.common."yarn.application.status.address" | string | `"http://ds1:%s/ws/v1/cluster/apps/%s"` | if resourcemanager HA is enabled or not use resourcemanager, please keep the default value; If resourcemanager is single, you only need to replace ds1 to actual resourcemanager hostname |
| conf.common."yarn.job.history.status.address" | string | `"http://ds1:19888/ws/v1/history/mapreduce/jobs/%s"` | job history status url when application number threshold is reached(default 10000, maybe it was set to 1000) | | conf.common."yarn.job.history.status.address" | string | `"http://ds1:19888/ws/v1/history/mapreduce/jobs/%s"` | job history status url when application number threshold is reached(default 10000, maybe it was set to 1000) |
| conf.common."yarn.resourcemanager.ha.rm.ids" | string | `"192.168.xx.xx,192.168.xx.xx"` | if resourcemanager HA is enabled, please set the HA IPs; if resourcemanager is single, keep this value empty | | conf.common."yarn.resourcemanager.ha.rm.ids" | string | `"192.168.xx.xx,192.168.xx.xx"` | if resourcemanager HA is enabled, please set the HA IPs; if resourcemanager is single, keep this value empty |
| datasource.profile | string | `"postgresql"` | The profile of datasource |
| externalDatabase.database | string | `"dolphinscheduler"` | The database of external database | | externalDatabase.database | string | `"dolphinscheduler"` | The database of external database |
| externalDatabase.driverClassName | string | `"org.postgresql.Driver"` | The driverClassName of external database | | externalDatabase.driverClassName | string | `"org.postgresql.Driver"` | The driverClassName of external database |
| externalDatabase.enabled | bool | `false` | If exists external database, and set postgresql.enable value to false. external database will be used, otherwise Dolphinscheduler's internal database will be used. | | externalDatabase.enabled | bool | `false` | If exists external database, and set postgresql.enable value to false. external database will be used, otherwise Dolphinscheduler's internal database will be used. |

14
deploy/kubernetes/dolphinscheduler/templates/configmap-dolphinscheduler-alert.yaml

@ -33,8 +33,6 @@ data:
banner: banner:
charset: UTF-8 charset: UTF-8
datasource: datasource:
profile: postgresql
config:
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://127.0.0.1:5432/dolphinscheduler url: jdbc:postgresql://127.0.0.1:5432/dolphinscheduler
username: root username: root
@ -102,4 +100,16 @@ data:
metrics: metrics:
enabled: true enabled: true
# Override by profile
---
spring:
config:
activate:
on-profile: mysql
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/dolphinscheduler
username: root
password: root
{{- end }} {{- end }}

17
deploy/kubernetes/dolphinscheduler/templates/configmap-dolphinscheduler-api.yaml

@ -54,8 +54,6 @@ data:
messages: messages:
basename: i18n/messages basename: i18n/messages
datasource: datasource:
profile: postgresql
config:
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://127.0.0.1:5432/dolphinscheduler url: jdbc:postgresql://127.0.0.1:5432/dolphinscheduler
username: root username: root
@ -239,6 +237,21 @@ data:
application-name: "" application-name: ""
# Doplhinscheduler login url # Doplhinscheduler login url
redirect-url: "" redirect-url: ""
# Override by profile
---
spring:
config:
activate:
on-profile: mysql
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/dolphinscheduler
username: root
password: root
quartz:
properties:
org.quartz.jobStore.driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
{{- end }} {{- end }}

17
deploy/kubernetes/dolphinscheduler/templates/configmap-dolphinscheduler-master.yaml

@ -33,8 +33,6 @@ data:
time-zone: UTC time-zone: UTC
date-format: "yyyy-MM-dd HH:mm:ss" date-format: "yyyy-MM-dd HH:mm:ss"
datasource: datasource:
profile: postgresql
config:
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://127.0.0.1:5432/dolphinscheduler url: jdbc:postgresql://127.0.0.1:5432/dolphinscheduler
username: root username: root
@ -157,4 +155,19 @@ data:
metrics: metrics:
enabled: true enabled: true
# Override by profile
---
spring:
config:
activate:
on-profile: mysql
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/dolphinscheduler
username: root
password: root
quartz:
properties:
org.quartz.jobStore.driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
{{- end }} {{- end }}

4
deploy/kubernetes/dolphinscheduler/values.yaml

@ -49,6 +49,10 @@ image:
# -- tools image # -- tools image
tools: dolphinscheduler-tools tools: dolphinscheduler-tools
datasource:
# -- The profile of datasource
profile: postgresql
postgresql: postgresql:
# -- If not exists external PostgreSQL, by default, the DolphinScheduler will use a internal PostgreSQL # -- If not exists external PostgreSQL, by default, the DolphinScheduler will use a internal PostgreSQL
enabled: true enabled: true

Loading…
Cancel
Save