Add enable_prometheus switch
This commit is contained in:
parent
5089aec178
commit
f6878c69ad
|
@ -28,7 +28,9 @@ debian_main_repository: http://ftp.debian.org/debian
|
|||
debian_security_repository: http://security.debian.org
|
||||
debian_pvc_repository: https://repo.parallelvirtualcluster.org/debian
|
||||
|
||||
# Enable Prometheus metric reporting from PVC nodes (installs prometheus-node-exporter)
|
||||
# Enable Prometheus metric reporting from PVC nodes; installs prometheus-node-exporter and enables
|
||||
# (unauthenticated) metrics endpoints within the PVC API. Set "no" to turn off Prometheus metric
|
||||
# functionality.
|
||||
enable_prometheus_exporters: yes
|
||||
|
||||
# Root user password
|
||||
|
|
|
@ -21,7 +21,7 @@ pvc_fence_successful_action: migrate # What to do with VMs when a fence is su
|
|||
pvc_fence_failed_action: None # What to do with VMs when a fence is failed (migrate, None) - migrate is DANGEROUS without pvc_suicide_intervals set to < pvc_fence_intervals
|
||||
pvc_migrate_target_selector: mem # The selector to use for migrating VMs
|
||||
|
||||
# Enable Prometheus exporters
|
||||
# Enable Prometheus exporters and corresponding API endpoints
|
||||
enable_prometheus_exporters: yes
|
||||
|
||||
# Memory tuning
|
||||
|
|
|
@ -15,6 +15,7 @@ subsystem:
|
|||
enable_storage: yes
|
||||
enable_worker: yes
|
||||
enable_api: yes
|
||||
enable_prometheus: {{ 'yes' if enable_prometheus_exporters else 'no' }}
|
||||
|
||||
cluster:
|
||||
name: {{ cluster_group }}
|
||||
|
|
Loading…
Reference in New Issue