Puppet Class: role::kubernetes::staging::master
- Defined in:
- modules/role/manifests/kubernetes/staging/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 19 20 21 22 23 |
# File 'modules/role/manifests/kubernetes/staging/master.pp', line 2
class role::kubernetes::staging::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
# ::profile::docker::storage is not included which means the docker
# default (overlayfs for >=buster) will be used. While this differs
# from the setup of the worker nodes, but we will migrate them in
# the future and may gain some experience already.
include ::profile::docker::engine
include ::profile::kubernetes::node
include ::profile::calico::kubernetes
system::role { 'kubernetes::staging::master':
description => 'Kubernetes master server (staging setup)',
}
}
|