rpi.carlosedp.cluster-monit.../vars.jsonnet

66 lines
1.6 KiB
Plaintext
Raw Normal View History

{
2019-09-27 00:02:33 +02:00
_config+:: {
namespace: 'monitoring',
},
// Enable or disable additional modules
modules: [
{
// After deployment, run the create_gmail_auth.sh script from scripts dir.
name: 'smtpRelay',
enabled: false,
2020-05-26 01:23:56 +02:00
file: import 'modules/smtp_relay.jsonnet',
},
{
name: 'armExporter',
enabled: false,
2020-05-26 01:23:56 +02:00
file: import 'modules/arm_exporter.jsonnet',
},
{
name: 'upsExporter',
enabled: false,
2020-05-26 01:23:56 +02:00
file: import 'modules/ups_exporter.jsonnet',
},
{
name: 'metallbExporter',
enabled: false,
2020-05-26 01:23:56 +02:00
file: import 'modules/metallb.jsonnet',
},
{
name: 'traefikExporter',
enabled: false,
2020-05-26 01:23:56 +02:00
file: import 'modules/traefik.jsonnet',
},
{
name: 'elasticExporter',
enabled: false,
2020-05-26 01:23:56 +02:00
file: import 'modules/elasticsearch_exporter.jsonnet',
},
],
k3s: {
enabled: false,
master_ip: ['192.168.15.15'],
},
// Domain suffix for the ingresses
suffixDomain: '192.168.15.15.nip.io',
// If TLSingress is true, a self-signed HTTPS ingress with redirect will be created
TLSingress: true,
// If UseProvidedCerts is true, provided files will be used on created HTTPS ingresses.
// Use a wildcard certificate for the domain like ex. "*.192.168.99.100.nip.io"
UseProvidedCerts: false,
TLSCertificate: importstr 'server.crt',
TLSKey: importstr 'server.key',
// Setting these to false, defaults to emptyDirs
enablePersistence: {
prometheus: false,
grafana: false,
},
// Grafana "from" email
grafana: {
from_address: 'myemail@gmail.com',
},
}