https://rancher.com/ logo
Title
b

boundless-eye-27124

12/09/2022, 12:43 AM
how can we change etcd data dir in rke2?
c

creamy-pencil-82913

12/09/2022, 12:43 AM
you cannot change just the etcd data dir, but you can change the main data-dir (/var/lib/rancher/rke2 by default)
b

boundless-eye-27124

12/09/2022, 12:51 AM
thanks @creamy-pencil-82913. adding
data-dir:
in the config yaml would do the trick right?
c

creamy-pencil-82913

12/09/2022, 12:52 AM
yep
b

boundless-eye-27124

12/09/2022, 12:53 AM
thanks