Skip to content

Latest commit

 

History

History
110 lines (63 loc) · 2.11 KB

REFERENCE.md

File metadata and controls

110 lines (63 loc) · 2.11 KB

Reference

Table of Contents

Classes

Public Classes

  • rke2: RKE2, also known as RKE Government, is Rancher's next-generation

Private Classes

  • rke2::config
  • rke2::install
  • rke2::repo
  • rke2::service

Classes

rke2

Kubernetes distribution.

Examples

include rke2
class { 'rke2':
  node_type => 'server',
}

Parameters

The following parameters are available in the rke2 class:

node_type

Data type: Enum['server','agent']

release_channel

Data type: Enum['stable','latest']

The rke2 release channel to use.

release_series

Data type: String[1]

The rke2 release series to install. Corresponds to k8s major.minor versions. E.g. '1.28', '1.30', etc.

server_packages

Data type: Array[String[1]]

The list of packages to install on to a server node.

agent_packages

Data type: Array[String[1]]

The list of packages to install on to an agent node.

config

Data type: Optional[Hash]

Converted to the yaml as /etc/rancher/rke2/config.yaml.

Default value: undef

version

Data type: Optional[String[1]]

The specific version of rke2 to install and versionlock. If not provided, the latest version in the release series will be installed.

Default value: undef

versionlock

Data type: Boolean

Create a yum versionlock for the installed rke2 package(s).

Default value: false