Puppet Class: role::ml_k8s::master::staging

Defined in:
modules/role/manifests/ml_k8s/master/staging.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'modules/role/manifests/ml_k8s/master/staging.pp', line 1

class role::ml_k8s::master::staging {
    include ::profile::base::production
    include ::profile::base::firewall

    # Sets up kubernetes on the machine
    include ::profile::kubernetes::master
    # Strictly speaking kubectl isn't needed, but have it here for historical
    # reasons
    include ::profile::kubernetes::client

    # Needed to schedule containers like bird, used by calico.
    # More info: T285927
    # Sets up docker on the machine. We don't add the profile::docker::storage
    # profile on purpose, to use profile::docker::engine's defaults
    # (namely overlay2 if os >= buster).
    include ::profile::docker::engine
    include ::profile::kubernetes::node
    include ::profile::calico::kubernetes

    # LVS configuration (VIP)
    include ::profile::lvs::realserver

    system::role { 'kubernetes::master':
        description => 'ML staging Kubernetes master server',
    }
}