rke2
: RKE2, also known as RKE Government, is Rancher's next-generation
rke2::config
rke2::install
rke2::repo
rke2::service
Kubernetes distribution.
include rke2
class { 'rke2':
node_type => 'server',
}
The following parameters are available in the rke2
class:
Data type: Enum['server','agent']
Data type: Enum['stable','latest']
The rke2 release channel to use.
Data type: String[1]
The rke2 release series to install. Corresponds to k8s major.minor versions. E.g. '1.28', '1.30', etc.
Data type: Array[String[1]]
The list of packages to install on to a server node.
Data type: Array[String[1]]
The list of packages to install on to an agent node.
Data type: Optional[Hash]
Converted to the yaml as /etc/rancher/rke2/config.yaml.
Default value: undef
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
Data type: Boolean
Create a yum versionlock for the installed rke2 package(s).
Default value: false