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,
|
2020-05-26 01:23:56 +02:00
|
|
|
file: import 'modules/smtp_relay.jsonnet',
|
2020-03-18 15:12:53 +01:00
|
|
|
},
|
2019-05-07 17:16:16 +02:00
|
|
|
{
|
|
|
|
name: 'armExporter',
|
2019-05-15 22:28:47 +02:00
|
|
|
enabled: false,
|
2020-05-26 01:23:56 +02:00
|
|
|
file: import 'modules/arm_exporter.jsonnet',
|
2019-05-07 17:16:16 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'upsExporter',
|
2019-05-15 22:28:47 +02:00
|
|
|
enabled: false,
|
2020-05-26 01:23:56 +02:00
|
|
|
file: import 'modules/ups_exporter.jsonnet',
|
2019-05-07 17:16:16 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'metallbExporter',
|
2019-05-15 22:28:47 +02:00
|
|
|
enabled: false,
|
2020-05-26 01:23:56 +02:00
|
|
|
file: import 'modules/metallb.jsonnet',
|
2019-05-07 17:16:16 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'traefikExporter',
|
2019-08-22 00:13:13 +02:00
|
|
|
enabled: false,
|
2020-05-26 01:23:56 +02:00
|
|
|
file: import 'modules/traefik.jsonnet',
|
2019-05-07 17:16:16 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'elasticExporter',
|
2019-05-15 22:28:47 +02:00
|
|
|
enabled: false,
|
2020-05-26 01:23:56 +02:00
|
|
|
file: import 'modules/elasticsearch_exporter.jsonnet',
|
2019-05-07 17:16:16 +02:00
|
|
|
},
|
|
|
|
],
|
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
|
|
|
}
|