-
I have a cluster with the following etcd-s3: true
etcd-s3-endpoint: s3.example.com
etcd-s3-access-key: <redacted>
etcd-s3-secret-key: <redacted>
etcd-s3-bucket: my-bucket
etcd-s3-region: us-east-1
etcd-snapshot-retention: 20
etcd-snapshot-schedule-cron: '0 */5 * * *'
tls-san:
- rancher-dev.example.com When I run the [admin@rancher-node011 ~]$ sudo rke2 etcd-snapshot prune
WARN[0000] Unknown flag --etcd-snapshot-schedule-cron found in config.yaml, skipping
WARN[0000] Unknown flag --tls-san found in config.yaml, skipping
[admin@rancher-node011 ~]$ sudo rke2 etcd-snapshot save
WARN[0000] Unknown flag --etcd-snapshot-schedule-cron found in config.yaml, skipping
WARN[0000] Unknown flag --tls-san found in config.yaml, skipping
INFO[0004] Snapshot on-demand-rancher-node011-1720524031 saved.
INFO[0004] Snapshot on-demand-rancher-node011-1720524031 saved. The parameters are documented here and they seem to work. What exactly is the |
Beta Was this translation helpful? Give feedback.
Answered by
brandond
Jul 9, 2024
Replies: 1 comment 2 replies
-
Those flags are in your config file, which is parsed by the CLI. The flags are valid for |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
lindhe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Those flags are in your config file, which is parsed by the CLI. The flags are valid for
rke2 server
but not forrke2 etcd-snapshot
, which is why you get a warning.