Puppet Class: k8s::scheduler

Defined in:
modules/k8s/manifests/scheduler.pp

Overview



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

class k8s::scheduler {

    require_package('kubernetes-master')

    file { '/etc/default/kube-scheduler':
        ensure  => file,
        owner   => 'root',
        group   => 'root',
        mode    => '0444',
        content => template('k8s/kube-scheduler.default.erb'),
    }

    service { 'kube-scheduler':
        ensure => running,
        enable => true,
    }
}