Puppet Class: role::kubernetes::master

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

Overview

A profile for setting up the kubernetes control-plane



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/role/manifests/kubernetes/master.pp', line 2

class role::kubernetes::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

    # Kubernetes masters are LVS backend servers
    include ::profile::lvs::realserver

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