Puppet Class: profile::wmcs::paws::k8s::control

Defined in:
modules/profile/manifests/wmcs/paws/k8s/control.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
# File 'modules/profile/manifests/wmcs/paws/k8s/control.pp', line 1

class profile::wmcs::paws::k8s::control (
) {
    require_package('helm3') # this package lives in buster-wikimedia/main

    class { '::profile::wmcs::kubeadm::control': }
    contain '::profile::wmcs::kubeadm::control'

    # To facilitate deploying manifests directly from the repo to k8s.
    # This would allow paws admins more flexibility for k8s-controlled elements
    git::clone { 'paws-git':
        ensure    => 'latest',
        directory => '/srv/git/paws',
        branch    => 'master',
        origin    => 'https://github.com/toolforge/paws.git'
    }

    labs_lvm::volume { 'docker':
        size      => '60%FREE',
        mountat   => '/var/lib/docker',
        mountmode => '711',
    } -> labs_lvm::volume { 'etcd-disk':
        mountat => '/var/lib/etcd',
    }
}