How to run multiple hazelcast cluster in one deployment?

1/13/2022

I'm deploying hazelcast on k8s using the helmchart on github currently on revision 5.3.2.

How would one go about running two clusters, say dev_cache and qa_cache in one helm deployment each with different members? Is that possible?

I see the fields

hazelcast:
   javaOptions:
     existingConfigMap: xxx

and

configurationFiles: #any additional Hazelcast configuration files

in the values.yaml but am unable to find any documentation on how to use them.

-- Robin Finkbeiner
hazelcast
kubernetes
kubernetes-helm

1 Answer

1/13/2022

In one Helm deployment, you always run one Hazelcast cluster. You need to run Helm command twice to create 2 separate Hazelcast clusters.

-- RafaƂ Leszko
Source: StackOverflow