Commit Graph

3 Commits

Author SHA1 Message Date
Oz Tiram
5e9c798a56
Allow users to override the default SQLite datastore
k3s supports multiple datastores via Kine. If one chooses not
to use etcd (the default) by passing `ClusterInit=false` they
can also specify a different datastore overriding the default location
at `/var/lib/rancher/k3s/server/db/state.db`.
For example:

  datastore-endpoint: "sqlite:///etc/kubernetes/state.sqlite3"

or:

 datastore-endpoint: "postgres://blueelephant:pgrulz@localhost:port/kine

See here for more information: https://docs.k3s.io/datastore

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2023-10-17 11:41:45 +02:00
Rishi
1058fe1bb0 addressed review comments 2022-10-18 10:25:13 -07:00
Rishi
fbf2814170 filtering k3s agent config from cluster options 2022-10-18 09:50:18 -07:00