Puppet Class: role::prometheus::k8s

Defined in:
modules/role/manifests/prometheus/k8s.pp

Overview

Uses the prometheus module and generates the specific configuration needed for WMF production

filtertags: labs-project-monitoring



5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/role/manifests/prometheus/k8s.pp', line 5

class role::prometheus::k8s {
    system::role { 'prometheus::k8s':
        description => 'Prometheus server (k8s)',
    }

    include ::standard
    include ::profile::base::firewall
    include ::profile::prometheus::k8s

    # We only have a staging cluster in eqiad, don't poll it from both DCs
    if $::site == 'eqiad' {
        include ::profile::prometheus::k8s::staging
    }
}