-
Notifications
You must be signed in to change notification settings - Fork 182
Re-org and revamp k3s etcd-snapshot docs #447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: manuelbuil <[email protected]>
5255ede to
5803479
Compare
brandond
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one final nit about informal language
docs/cli/etcd-snapshot.md
Outdated
| Scheduled snapshots are enabled by default, at 00:00 and 12:00 system time, with 5 snapshots retained. Scheduled snapshots have a name that starts with `etcd-snapshot`, followed by the node name and timestamp. | ||
|
|
||
| ### On-demand Snapshots | ||
| These are the configuration options that we can set for scheduled snapshots: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a little informal, how about:
| These are the configuration options that we can set for scheduled snapshots: | |
| The following options control the operation of scheduled snapshots: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good
docs/cli/etcd-snapshot.md
Outdated
|
|
||
| These flags are valid for both `k3s server` and `k3s etcd-snapshot`, however when passed to `k3s etcd-snapshot` the `--etcd-` prefix can be omitted to avoid redundancy. | ||
| Flags can be passed in with the command line, or in the [configuration file,](../installation/configuration.md#configuration-file ) which may be easier to use. | ||
| These are the configuration options that we can set for on-demand snapshots: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| These are the configuration options that we can set for on-demand snapshots: | |
| The following options control the operation of on-demand snapshots: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, reads more professional
Signed-off-by: manuelbuil <[email protected]>
8f4acee to
bc9fa77
Compare
This PR tries to improve our current K3s etcd-snapshot docs to make it easier to read. I haven't changed a lot of text but mostly I moved it around.
The page now starts with a brief introduction, explaining the 4 different types of snapshots (local-s3, on-demand-scheduled) and showing the CLI subcommands. Then it describes how to create snapshots, separating "scheduled" and "on-demand" with tabs, as these two use options differently. Then how to delete snapshots, explaining the difference between "delete" and "prune". Once these are clear, we explain how to connect to S3 and insist on "replication" (it is not either/or). Then, it moves to the restoring of snapshots and the steps. And finally, it explains the ETCDSnapshotFile CR, which I believe is for advanced users.
I also removed the "default" key word in a couple of networking docs because all tabs had it.