Puppet Class: profile::wmcs::kubeadm::worker

Defined in:
modules/profile/manifests/wmcs/kubeadm/worker.pp

Overview

Parameters:

  • component (String) (defaults to: lookup('profile::wmcs::kubeadm::component', {default_value => 'thirdparty/kubeadm-k8s-1-16'}))


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'modules/profile/manifests/wmcs/kubeadm/worker.pp', line 1

class profile::wmcs::kubeadm::worker (
    String $component = lookup('profile::wmcs::kubeadm::component', {default_value => 'thirdparty/kubeadm-k8s-1-16'}),
) {
    require profile::wmcs::kubeadm::preflight_checks

    labs_lvm::volume { 'docker':
        mountat   => '/var/lib/docker',
        mountmode => '711',
        before    => Service['docker'],
    }

    class { '::kubeadm::repo':
        component => $component,
    }
    class { '::kubeadm::core': }
    class { '::kubeadm::calico_workaround': }
}