# Do I need replication between Keycloak replicas when using external Infinispan cache?

**URL:** <https://forum.keycloak.org/t/do-i-need-replication-between-keycloak-replicas-when-using-external-infinispan-cache/14449>\
**Category:** Configuring the server\
**Created:** [March 20, 2022, 11:05pm UTC](https://forum.keycloak.org/t/do-i-need-replication-between-keycloak-replicas-when-using-external-infinispan-cache/14449 "2022-03-20T23:05:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mah](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mah](https://forum.keycloak.org/u/mah)\
**Post date:** [March 20, 2022, 11:05pm UTC](https://forum.keycloak.org/t/do-i-need-replication-between-keycloak-replicas-when-using-external-infinispan-cache/14449/1 "2022-03-20T23:05:42Z")

</div>

I have multiple Keycloak instances running on Kubernetes with `KC_CACHE_STACK=kubernetes`. Now, I would like to use external Infinispan. If I do that, do I still need to set `KC_CACHE_STACK` in Keycloak?
