Puppet Class: role::dse_k8s::master

Defined in:
modules/role/manifests/dse_k8s/master.pp

Overview

SPDX-License-Identifier: Apache-2.0



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

class role::dse_k8s::master {
    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

    # Sets up docker on the machine
    include ::profile::docker::engine
    # Setup kubernetes stuff
    include ::profile::kubernetes::node
    # Setup calico
    include ::profile::calico::kubernetes

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

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