rancher v2.15.1

RKEControlPlane.spec.machineSelectorFiles[].fileSources.configMap.spec

Spec is the desired state of the controlplane.

21 fields
RKEControlPlane.spec.machineSelectorFiles[].fileSources.configMap.spec fields and descriptions
Field / TypeDescription
additionalManifest
string

AdditionalManifest is a string containing a yaml blob to insert in the /var/lib/rancher/<rke2/k3s>/server/manifests/rancher/addons.yaml file. The distro will automatically create these resources. Resources created as additional manifests will be deleted if removed from additional manifests.

  • nullable
object[]

AgentEnvVars is a list of environment variables that will be set on the cluster agent deployment and system agent service.

  • nullable
chartValues
object

ChartValues is a map whose keys correspond to charts to be installed by the distro, with values corresponding to the helm values configurable in the chart.

  • nullable
  • x-kubernetes-preserve-unknown-fields: true
clusterName
string required

ClusterName is the name of the provisioning cluster object.

  • maxLength: 63
object

DataDirectories contains the configuration for the data directories typically stored within /var/lib/rancher. The data directories must be configured via the provisioning cluster object and are immutable once set.

object

ETCD contains the etcd snapshot configuration for the cluster.

  • nullable
object

ETCDSnapshotCreate is the configuration for the etcd snapshot creation operation.

  • nullable
object

ETCDSnapshotRestore is the configuration for the etcd snapshot restore operation.

  • nullable
kubernetesVersion
string

KubernetesVersion is the desired version of RKE2/K3s for the cluster. This field is only populated for provisioned and custom clusters.

  • nullable
object

LocalClusterAuthEndpoint is the configuration for the local cluster auth endpoint.

machineGlobalConfig
object

MachineGlobalConfig is a list of distro arguments which will be copied to /etc/rancher/<rke2/k3s>/config.yaml.d/50-rancher.yaml for all machines.

  • nullable
  • x-kubernetes-preserve-unknown-fields: true
object[]

MachineSelectorConfig is a list of distro arguments which will be copied to /etc/rancher/<rke2/k3s>/config.yaml.d/50-rancher.yaml if the machine matches the label selector.

  • nullable
object[]

MachineSelectorFiles is a list of files which will be copied to the machine if the machine matches the label selector.

  • nullable
managementClusterName
string required

ManagementClusterName is the name of the management cluster object that relates to this cluster.

object

Networking contains information regarding the desired networking stack of the cluster.

  • nullable
provisionGeneration
integer

ProvisionGeneration is used to force the planner to reconcile the cluster, regardless of whether a reconciliation is required.

object

Registries is the list of mirrors and configurations for the cluster's container registries.

  • nullable
object

RotateCertificates is the configuration for the certificate rotation operation.

  • nullable
object

RotateEncryptionKeys is the configuration for the encryption key rotation operation.

  • nullable
unmanagedConfig
boolean

UnmanagedConfig indicates whether the configuration files for this cluster are managed by Rancher or externally.

object

UpgradeStrategy contains the concurrency and drain configuration to be used when upgrading machine pools of servers and agents.