Skip to content

Commit 2f81096

Browse files
authored
Add s3 retention flag to the docs (#460)
Signed-off-by: Vitor Savian <[email protected]>
1 parent e89d647 commit 2f81096

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/cli/etcd-snapshot.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,16 @@ $ k3s etcd-snapshot --s3 --s3-bucket=test-bucket --s3-access-key=test --s3-secre
122122
Name Location Size Created
123123
```
124124

125+
### S3 Retention
126+
127+
:::info Version Gate
128+
Starting in versions v1.34.0+k3s1, v1.33.4+k3s1, v1.32.8+k3s1, v1.31.12+k3s1, K3s includes a new flag for S3 retention. It has the same default value as the local snapshot retention.
129+
:::
130+
131+
| Flag | Description |
132+
| ----------- | --------------- |
133+
| `--etcd-s3-retention` | Number of snapshots in S3 to retain (default: `5`) |
134+
125135

126136
### S3 Configuration Secret Support
127137

0 commit comments

Comments
 (0)