Puppet Class: role::kubernetes::staging::master_stacked

Defined in:
modules/role/manifests/kubernetes/staging/master_stacked.pp

Overview

SPDX-License-Identifier: Apache-2.0 A profile for setting up the kubernetes control-plane together with a local etcd instance.



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'modules/role/manifests/kubernetes/staging/master_stacked.pp', line 4

class role::kubernetes::staging::master_stacked {
    include profile::base::production
    include profile::firewall

    # Sets up etcd on the machine
    # profile::kubernetes::master will behave differently with this profile required
    require profile::etcd::v3
    # Sets up kubernetes on the machine
    include profile::kubernetes::master

    include profile::docker::engine
    include profile::kubernetes::node
    include profile::calico::kubernetes
    # Kubernetes staging masters are LVS backend servers
    include profile::lvs::realserver

    system::role { 'kubernetes::staging::master_stacked':
        description => 'Kubernetes master server (staging setup) with etcd',
    }
}