Skip to content

Using the k3s embebbed etcd datastore for other system related components? #11365

Answered by brandond
migs35323 asked this question in Q&A
Discussion options

You must be logged in to vote

Are you familiar at all with how etcd works? it is not a normal SQL engine and does not have a concept of databases or table namespace. It is a global-namespace key-value store. If you are expecting an app that wants a SQL database, to be able to talk to etcd, you are going to be disappointed.

Even if your app does support etcd, and you could get it to store its entries in a key prefix not used by Kubernetes, I would STRONGLY recommend against it. This is your cluster datastore; don't compromise its operational integrity in service of an app that should be running IN the cluster, not ON the cluster.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@migs35323
Comment options

Answer selected by migs35323
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants