Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

StatefulSet instead of Deployment #34

Open
thedmi opened this issue Aug 23, 2018 · 0 comments
Open

StatefulSet instead of Deployment #34

thedmi opened this issue Aug 23, 2018 · 0 comments

Comments

@thedmi
Copy link

thedmi commented Aug 23, 2018

Is there a specific reason why the influxdb chart uses a Deployment instead of a StatefulSet? If I understand correctly, this means that two pods will share the same PV for a short amount of time during pod reschedules (e.g. updates, node drains).

Is InfluxDB able to handle concurrent R/W access to data files from multiple instances? If so, a Deployment probably works fine. If not, this may be a serious possibility for data corruption and a StatefulSet would be the only right choice here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant