Replies: 1 comment 1 reply
-
No. The config file does not have a strict schema. Internally the key-value pairs are just converted to CLI flags and values and passed into the normal flag parser.
Does not work how? Do you get errors, or does it just not seem to be taking effect? Did you restart the rke2-server service after updating the config file? The etcd-snapshot subcommand will read the config file when you run it manually, but for scheduled snapshots to use that config, you need to restart the service. |
Beta Was this translation helpful? Give feedback.
-
Hi, I've setup an rke2 cluster with 3 nodes. For installation I used the script available at https://get.rke2.io.
Now I want to customize the etcd backup. Beside saving the backup on local disk I want the backup to be shipped to an internal minio s3 service.
I was able to get an onDemand Backup shipped to s3 using the following command on console:
Now I want to add this configuration to the config yaml, but all tries failed. My settings have been ignored, so I assume I made an mistake, using wrong keys or whatever.
What did I do?
Here is my config snipped which I added to the config which does NOT work:
also this variant does NOT work:
Is there a way to config-check the config.yaml on known field basis, not just that is a correct yaml? (rke2-server will not start if it is invalid yaml format)
Can you please point out the correct configuration snippet which I need to insert into config.yaml?
Thanks, Andreas
Beta Was this translation helpful? Give feedback.
All reactions