Skip to content

Fix default etcd-snapshot-dir path in CLI docs - #612

Open
hnrydvd wants to merge 1 commit into
k3s-io:mainfrom
hnrydvd:docs/etcd-snapshot-dir-default
Open

hnrydvd wants to merge 1 commit into
k3s-io:mainfrom
hnrydvd:docs/etcd-snapshot-dir-default

Conversation

@hnrydvd

@hnrydvd hnrydvd commented Nov 1, 2026

Copy link
Copy Markdown

What

The CLI docs give the default --etcd-snapshot-dir as ${data-dir}/db/snapshots. The actual default is ${data-dir}/server/db/snapshots, which is what the examples further down etcd-snapshot.md already show (/var/lib/rancher/k3s/server/db/snapshots).

Change

  • docs/cli/etcd-snapshot.md: fix the default in the scheduled and on-demand flag tables.
  • docs/cli/server.md: fix the default in the Database table and the matching line of the k3s server --help block.

Verification

Checked against k3s main (3461a87):

The Japanese and Chinese translations have the same old path; I left those alone and can follow up if that's useful.

I used Claude Code to help find this and make the edit; I checked the source references above myself.

Signed-off-by: hd <63141252+hnrydvd@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

2 participants