All checks were successful
Build / precommit (pull_request) Successful in 4m51s
- upgrade node_exporter, bring managed under exporters module - upgrade postgres_exporter, bring managed under exporters module - add flag to cleanup previous iterations of exporters from prometheus module - fix issues with vmclusster: replication + dedup
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
---
|
|
hiera_include:
|
|
- vmcluster::vminsert
|
|
|
|
vmcluster::vminsert::enable: true
|
|
vmcluster::vminsert::options:
|
|
replicationFactor: '5'
|
|
httpListenAddr: ':8480'
|
|
tls: 'true'
|
|
tlsCertFile: '/etc/pki/tls/vault/certificate.crt'
|
|
tlsKeyFile: '/etc/pki/tls/vault/private.key'
|
|
tlsMinVersion: 'TLS12'
|
|
memory.allowedBytes: '1GiB'
|
|
metrics.exposeMetadata: 'true'
|
|
envflag.enable: 'true'
|
|
storageNode:
|
|
- ausyd1nxvm2086.main.unkin.net:8400
|
|
- ausyd1nxvm2087.main.unkin.net:8400
|
|
- ausyd1nxvm2088.main.unkin.net:8400
|
|
- ausyd1nxvm2089.main.unkin.net:8400
|
|
- ausyd1nxvm2090.main.unkin.net:8400
|
|
|
|
# additional altnames
|
|
profiles::pki::vault::alt_names:
|
|
- vminsert.main.unkin.net
|
|
- vminsert.service.consul
|
|
- vminsert.query.consul
|
|
- "vminsert.service.%{facts.country}-%{facts.region}.consul"
|
|
|
|
consul::services:
|
|
vminsert:
|
|
service_name: 'vminsert'
|
|
tags:
|
|
- 'metrics'
|
|
- 'metrics_scheme=https'
|
|
- 'metrics_job=vminsert'
|
|
address: "%{facts.networking.ip}"
|
|
port: 8480
|
|
checks:
|
|
- id: 'vminsert_http_check'
|
|
name: 'vminsert HTTP Check'
|
|
http: "https://%{facts.networking.fqdn}:8480/health"
|
|
method: 'GET'
|
|
tls_skip_verify: true
|
|
interval: '10s'
|
|
timeout: '1s'
|
|
profiles::consul::client::node_rules:
|
|
- resource: service
|
|
segment: vminsert
|
|
disposition: write
|