You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2023/02/14 13:35:50 UTC

[GitHub] [incubator-kvrocks] Goutami-Gowda created a discussion: data is not persisted after pod restarted.

GitHub user Goutami-Gowda created a discussion: data is not persisted after pod restarted.

hello, i created kvrocks statefulset with /var/lib/kvrocks volume. but after pod restart , all the namespace that i have added or gone. how can i persist this?

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1262

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: data is not persisted after pod restarted.

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: data is not persisted after pod restarted.

@Goutami-Gowda Can see this PR #1264 

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1262#discussioncomment-4972751

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: data is not persisted after pod restarted.

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: data is not persisted after pod restarted.

Hi @Goutami-Gowda Thanks for your feedback. Those namespaces were stored in kvrocks.conf, so we need to mount this config file as well. The workaround can copy the kvrocks.conf to /var/lib/kvrocks, then load config from /var/lib/kvrocks/kvrocks.conf in [Dockerfile](https://github.com/apache/incubator-kvrocks/blob/unstable/Dockerfile#L40).

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1262#discussioncomment-4971300

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org