2019-04-08 21:41:23 +02:00
|
|
|
{
|
2019-09-27 00:02:33 +02:00
|
|
|
_config+:: {
|
2020-03-18 15:12:53 +01:00
|
|
|
namespace: 'monitoring',
|
|
|
|
},
|
2019-04-08 21:41:23 +02:00
|
|
|
// Enable or disable additional modules
|
2019-05-07 17:16:16 +02:00
|
|
|
modules: [
|
2020-03-18 15:12:53 +01:00
|
|
|
{
|
|
|
|
// After deployment, run the create_gmail_auth.sh script from scripts dir.
|
|
|
|
name: 'smtpRelay',
|
|
|
|
enabled: false,
|
|
|
|
file: import 'smtp_relay.jsonnet',
|
|
|
|
},
|
2019-05-07 17:16:16 +02:00
|
|
|
{
|
|
|
|
name: 'armExporter',
|
2019-05-15 22:28:47 +02:00
|
|
|
enabled: false,
|
2019-05-07 17:16:16 +02:00
|
|
|
file: import 'arm_exporter.jsonnet',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'upsExporter',
|
2019-05-15 22:28:47 +02:00
|
|
|
enabled: false,
|
2019-05-07 17:16:16 +02:00
|
|
|
file: import 'ups_exporter.jsonnet',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'metallbExporter',
|
2019-05-15 22:28:47 +02:00
|
|
|
enabled: false,
|
2019-05-07 17:16:16 +02:00
|
|
|
file: import 'metallb.jsonnet',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'traefikExporter',
|
2019-08-22 00:13:13 +02:00
|
|
|
enabled: false,
|
2019-05-07 17:16:16 +02:00
|
|
|
file: import 'traefik.jsonnet',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'elasticExporter',
|
2019-05-15 22:28:47 +02:00
|
|
|
enabled: false,
|
2019-05-07 17:16:16 +02:00
|
|
|
file: import 'elasticsearch_exporter.jsonnet',
|
|
|
|
},
|
|
|
|
],
|
2019-04-08 21:41:23 +02:00
|
|
|
|
2019-08-21 02:46:29 +02:00
|
|
|
k3s: {
|
2019-08-22 00:13:13 +02:00
|
|
|
enabled: false,
|
2020-03-18 15:12:53 +01:00
|
|
|
master_ip: ['192.168.15.15'],
|
2019-08-21 02:46:29 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
// Domain suffix for the ingresses
|
2020-03-18 15:12:53 +01:00
|
|
|
suffixDomain: '192.168.15.15.nip.io',
|
2020-03-02 20:46:38 +01:00
|
|
|
// If TLSingress is true, a self-signed HTTPS ingress with redirect will be created
|
|
|
|
TLSingress: true,
|
2020-03-18 15:12:53 +01:00
|
|
|
// 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"
|
2020-03-02 20:46:38 +01:00
|
|
|
UseProvidedCerts: false,
|
|
|
|
TLSCertificate: importstr 'server.crt',
|
|
|
|
TLSKey: importstr 'server.key',
|
2019-08-20 01:20:17 +02:00
|
|
|
|
2019-04-08 21:41:23 +02:00
|
|
|
// Setting these to false, defaults to emptyDirs
|
|
|
|
enablePersistence: {
|
|
|
|
prometheus: false,
|
|
|
|
grafana: false,
|
|
|
|
},
|
|
|
|
|
2019-05-03 19:00:05 +02:00
|
|
|
// Grafana "from" email
|
2019-04-08 21:41:23 +02:00
|
|
|
grafana: {
|
2019-05-03 19:00:05 +02:00
|
|
|
from_address: 'myemail@gmail.com',
|
2019-04-08 21:41:23 +02:00
|
|
|
},
|
2019-05-07 17:16:16 +02:00
|
|
|
}
|