Puppet Class: kubeinstall::profile::worker

Defined in:
manifests/profile/worker.pp

Summary

A short summary of the purpose of this class

Overview

A description of what this class does

Examples:

include kubeinstall::profile::worker

Parameters:

  • local_persistent_volumes (Hash[String, Hash]) (defaults to: {})

    Added ability for cluster administrator to setup local persistent volumes into Kubernetes cluster. This hash should containn only volumes located on currennt worker node.

  • node_labels (Hash[String, String]) (defaults to: {})

    Added ability to setup node labels



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'manifests/profile/worker.pp', line 16

class kubeinstall::profile::worker (
  Hash[String, Hash]
          $local_persistent_volumes = {},
  Hash[String, String]
          $node_labels              = {},
)
{
  include kubeinstall::profile::kubernetes

  class { 'kubeinstall::cluster':
    cluster_role             => 'worker',
    local_persistent_volumes => $local_persistent_volumes,
    node_labels              => $node_labels,
  }

  class { 'kubeinstall::install::worker': }

  include kubeinstall::install::cleanup
}