hazelcast / hazelcast-operator

Apache License 2.0
10 stars 14 forks source link

Storage for HD Memory unclear #51

Open amoAHCP opened 3 years ago

amoAHCP commented 3 years ago

According to the documentation https://docs.hazelcast.com/hazelcast/5.0-beta-1/storage/high-density-memory.html, enabling HD memory uses persistent-memory / Storage. Per default no Persistent volumes are created for the IMDG. This means, that your configuration may crash the Nodes, since all data written inside the container is written to the Nodes (until they are full). According to the Operator documentation I can define a customVolume, is this the intended way to go for HD Memory. The example for customVolumes is intended to use for custom Jars. Do you have any Blueprint how to proceed with HD Memory & the Operator?

amoAHCP commented 3 years ago

Btw. the mancenter and the IMDG are stateful sets. In a stateful set each Pod gets its own PVC (ReadWriteOnce typically) the example https://github.com/hazelcast/charts/tree/master/stable/hazelcast#adding-custom-jar-files-to-the-imdgmanagement-center-classpath creates a PVC.. now which Pod gets this PVC?