I configured in the hazelcast.xml
file of my microservice a list like following
<list name="listA">
<statistics-enabled>false</statistics-enabled>
<backup-copy>1</backup-copy>
<list>
When I deployed the microservice on k8s cluster with replicas=2, I was expecting that the values of listA
are shared to both pods, meaning that when pod-0
add an entry to listA
that entry will be visible for pod-1
. But I found that each pod has its own separate instance and I am not sure why, any help/suggestion is appreciated.
Or should I use Hazelcast's IMap
instead?