mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
Apply d0a260b3 & 74ea0817 (added non-changeable options to rke2-cluster-configuration) to versioned_docs
This commit is contained in:
+3
@@ -331,6 +331,9 @@ machineGlobalConfig:
|
||||
- key2=value2
|
||||
```
|
||||
|
||||
There are some configuration options that can't be changed when provisioning via Rancher:
|
||||
- data-dir (folder to hold state), which defaults to `/var/lib/rancher/rke2`.
|
||||
|
||||
### machineSelectorConfig
|
||||
|
||||
This is the same as [`machineGlobalConfig`](#machineglobalconfig) except that a [label](#kubernetes-node-labels) selector can be specified with the configuration. The configuration will only be applied to nodes that match the provided label selector.
|
||||
|
||||
+3
@@ -362,6 +362,9 @@ machineGlobalConfig:
|
||||
- key2=value2
|
||||
```
|
||||
|
||||
There are some configuration options that can't be changed when provisioning via Rancher:
|
||||
- data-dir (folder to hold state), which defaults to `/var/lib/rancher/rke2`.
|
||||
|
||||
To make it easier to put files on nodes beforehand, Rancher expects the following values to be included in the configuration, while RKE2 expects the values to be entered as file paths:
|
||||
- audit-policy-file
|
||||
- cloud-provider-config
|
||||
|
||||
+3
@@ -361,6 +361,9 @@ machineGlobalConfig:
|
||||
- key2=value2
|
||||
```
|
||||
|
||||
There are some configuration options that can't be changed when provisioning via Rancher:
|
||||
- data-dir (folder to hold state), which defaults to `/var/lib/rancher/rke2`.
|
||||
|
||||
### machineSelectorConfig
|
||||
|
||||
`machineSelectorConfig` is the same as [`machineGlobalConfig`](#machineglobalconfig) except that a [label](#kubernetes-node-labels) selector can be specified with the configuration. The configuration will only be applied to nodes that match the provided label selector.
|
||||
|
||||
Reference in New Issue
Block a user