Skip to content

Conversation

@sunilarjun
Copy link
Contributor

Added a "Configuration Options" section in configuration.md (reference), and added tune-etcd-large-installations.md (reference) in the Reference section. Tied to [SURE-9486].

…, and added tune-etcd-large-installations.md in the Reference section. Based on ref material in Jira/Rancher Manager.

Signed-off-by: Sunil Singh <[email protected]>
@sunilarjun sunilarjun requested a review from a team as a code owner January 9, 2026 00:41
Signed-off-by: Sunil Singh <[email protected]>
</summary>

```yaml
apiVersion: provisioning.cattle.io/v1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rke2-docs scope is limited to RKE2. This API is Rancher related and thus it should be part of the rancher docs not RKE2.

key: value
```

### machineGlobalConfig
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to me that everything below this point is rancher specific and thus will confuse RKE2 standalone users. Can't this be part of Rancher documentation?

Comment on lines 164 to 186
### additionalManifest

Specify additional manifests to deliver to the control plane nodes.

The value is a String, and will be placed at the path `/var/lib/rancher/rke2/server/manifests/rancher/addons.yaml` on target nodes.

Example:

```yaml
additionalManifest: |-
apiVersion: v1
kind: Namespace
metadata:
name: name-xxxx
```

:::note

If you want to customize system charts, you should use the `chartValues` field as described below.

Alternatives, such as using a HelmChartConfig to customize the system charts via `additionalManifest`, can cause unexpected behavior, due to having multiple HelmChartConfigs for the same chart.

:::
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is also rancher specific

@sunilarjun
Copy link
Contributor Author

@manuelbuil Thank you for reviewing. The changes proposed here are part of a customer ask in [SURE-9486] where they wanted to see the material present here in Rancher Manager related to RKE2 in the RKE2 docs, but I do agree with your point that the RKE2 docs scope should only be limited to RKE2. I can remove the changes in configuration.md and keep the added file for etcd tuning if that makes sense?

Copy link
Member

@brandond brandond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

part of a customer ask where they wanted to see the material present here in Rancher Manager related to RKE2 in the RKE2 doc.

We do not do that. That portion of the customer request should be rejected.

Rancher stuff goes in rancher docs. RKE2 docs should not mention performing steps in Rancher or other Rancher-specific items. Rancher already has docs that discuss cluster config for downstream provisioned clusters; these bits should go there.

If you want to share a version of these instructions that are specific to standalone RKE2 installs - using rke2 config.yaml or a config.yaml.d drop-in instead of cluster yaml - we could accept that.

@sunilarjun
Copy link
Contributor Author

@brandond Thank you for clarifying. I've removed the configuration.md material but for the etcd tuning page can you clarify if that material is useful here as the specific commands used are below and I believe they can be added to the standalone RKE2 config.yaml:

etcd-arg:
  - "quota-backend-bytes=5368709120"
etcd-arg:
  - "data-dir=/var/lib/etcd/data"
  - "wal-dir=/var/lib/etcd/wal"

Any clarification appreciated, thank you.

@brandond
Copy link
Member

brandond commented Jan 13, 2026

  1. Raising quota backend bytes allows storing more data in etcd; it does not affect performance.
  2. Changing data-dir or wal-dir is not supported; we may take active steps to prevent modifying these items via etcd-arg in the future. RKE2 expects them both to be in the default location under rke2's $DATADIR/server/db/etcd, and RKE2 may not function properly if they are not.

@sunilarjun
Copy link
Contributor Author

@brandond Many thanks for clarifying. With the actions being unsupported and future restrictions for etcd-arg I'll go ahead and close out this PR and add a warning admonition to the Rancher docs page as well.

@sunilarjun sunilarjun closed this Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants