nats-io / nats-streaming-operator

NATS Streaming Operator
Apache License 2.0
174 stars 44 forks source link

StatefullSet for NatStreaming Operator ? #48

Open vikram1601 opened 4 years ago

vikram1601 commented 4 years ago

Trying to create NatsStreaming(Stan) pod with replica set 3, Using a custom store dir for a Persistent Volume. But Getting Error Unable to Mount Volumes for Pod Because “volume is already exclusively attached to one node and can’t be attached to another” This is Because, NatsStreaming Operator doesn't have StateFullSet. Is there any way to solve it.

mgmm13 commented 4 years ago

Hello, related to this issue, I'd also like to follow up whether it is possible to support using 1 PV for each of the replica pod? In my setup, I need to setup each PV on a separate node, hence each PV has its own node affinity.