|
@@ -352,6 +352,21 @@ master:
|
|
|
MASTER_RESERVED_MEMORY: "0.3"
|
|
|
MASTER_FAILOVER_INTERVAL: "10m"
|
|
|
MASTER_KILL_APPLICATION_WHEN_HANDLE_FAILOVER: "true"
|
|
|
+ service:
|
|
|
+ # annotations may need to be set when want to scrapy metrics by prometheus but not install prometheus operator
|
|
|
+ annotations: {}
|
|
|
+ # serviceMonitor for prometheus operator
|
|
|
+ serviceMonitor:
|
|
|
+ # -- Enable or disable master serviceMonitor
|
|
|
+ enabled: false
|
|
|
+ # -- @param serviceMonitor.interval interval at which metrics should be scraped
|
|
|
+ interval: 15s
|
|
|
+ # -- @param serviceMonitor.path path of the metrics endpoint
|
|
|
+ path: /actuator/prometheus
|
|
|
+ # -- @param serviceMonitor.labels ServiceMonitor extra labels
|
|
|
+ labels: {}
|
|
|
+ # -- @param serviceMonitor.annotations ServiceMonitor annotations
|
|
|
+ annotations: {}
|
|
|
|
|
|
worker:
|
|
|
## PodManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.
|
|
@@ -453,6 +468,21 @@ worker:
|
|
|
# - type: Percent
|
|
|
# value: 100
|
|
|
# periodSeconds: 15
|
|
|
+ service:
|
|
|
+ # annotations may need to be set when want to scrapy metrics by prometheus but not install prometheus operator
|
|
|
+ annotations: {}
|
|
|
+ # serviceMonitor for prometheus operator
|
|
|
+ serviceMonitor:
|
|
|
+ # -- Enable or disable worker serviceMonitor
|
|
|
+ enabled: false
|
|
|
+ # -- @param serviceMonitor.interval interval at which metrics should be scraped
|
|
|
+ interval: 15s
|
|
|
+ # -- @param serviceMonitor.path path of the metrics endpoint
|
|
|
+ path: /actuator/prometheus
|
|
|
+ # -- @param serviceMonitor.labels ServiceMonitor extra labels
|
|
|
+ labels: {}
|
|
|
+ # -- @param serviceMonitor.annotations ServiceMonitor annotations
|
|
|
+ annotations: {}
|
|
|
|
|
|
|
|
|
alert:
|
|
@@ -515,6 +545,22 @@ alert:
|
|
|
storage: "20Gi"
|
|
|
env:
|
|
|
JAVA_OPTS: "-Xms512m -Xmx512m -Xmn256m"
|
|
|
+ service:
|
|
|
+ # annotations may need to be set when want to scrapy metrics by prometheus but not install prometheus operator
|
|
|
+ annotations: {}
|
|
|
+ # serviceMonitor for prometheus operator
|
|
|
+ serviceMonitor:
|
|
|
+ # -- Enable or disable alert-server serviceMonitor
|
|
|
+ enabled: false
|
|
|
+ # -- @param serviceMonitor.interval interval at which metrics should be scraped
|
|
|
+ interval: 15s
|
|
|
+ # -- @param serviceMonitor.path path of the metrics endpoint
|
|
|
+ path: /actuator/prometheus
|
|
|
+ # -- @param serviceMonitor.labels ServiceMonitor extra labels
|
|
|
+ labels: {}
|
|
|
+ # -- @param serviceMonitor.annotations ServiceMonitor annotations
|
|
|
+ annotations: {}
|
|
|
+
|
|
|
|
|
|
api:
|
|
|
## Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
@@ -592,6 +638,18 @@ api:
|
|
|
## annotations may need to be set when service.type is LoadBalancer
|
|
|
## service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-1:EXAMPLE_CERT
|
|
|
annotations: {}
|
|
|
+ # serviceMonitor for prometheus operator
|
|
|
+ serviceMonitor:
|
|
|
+ # -- Enable or disable api-server serviceMonitor
|
|
|
+ enabled: false
|
|
|
+ # -- @param serviceMonitor.interval interval at which metrics should be scraped
|
|
|
+ interval: 15s
|
|
|
+ # -- @param serviceMonitor.path path of the metrics endpoint
|
|
|
+ path: /dolphinscheduler/actuator/prometheus
|
|
|
+ # -- @param serviceMonitor.labels ServiceMonitor extra labels
|
|
|
+ labels: {}
|
|
|
+ # -- @param serviceMonitor.annotations ServiceMonitor annotations
|
|
|
+ annotations: {}
|
|
|
env:
|
|
|
JAVA_OPTS: "-Xms512m -Xmx512m -Xmn256m"
|
|
|
|