# OpenEMR deployment with Kubernetes

**URL:** <https://community.open-emr.org/t/openemr-deployment-with-kubernetes/18034>\
**Category:** Data Analysis\
**Tags:** question, infrastructure\
**Created:** [March 18, 2022, 9:25am UTC](https://community.open-emr.org/t/openemr-deployment-with-kubernetes/18034 "2022-03-18T09:25:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sara](https://community.open-emr.org/user_avatar/community.open-emr.org/sara/32/20635_2.png) [@Sara](https://community.open-emr.org/u/Sara)\
**Post date:** [March 18, 2022, 9:25am UTC](https://community.open-emr.org/t/openemr-deployment-with-kubernetes/18034/1 "2022-03-18T09:25:52Z")

</div>

Trying to deploy OpenEMR in kubernetes. It works fine with one pod, But when we increase the replica to 2 or more pods, it throws “Site ID Missing” error.  
Any ideas ?

---

<div class="post-metadata">

**Author:** ![jesdynf](https://community.open-emr.org/user_avatar/community.open-emr.org/jesdynf/32/15698_2.png) [@jesdynf](https://community.open-emr.org/u/jesdynf)\
**Post date:** [March 22, 2022, 4:19am UTC](https://community.open-emr.org/t/openemr-deployment-with-kubernetes/18034/2 "2022-03-22T04:19:42Z")

</div>

Hello,

What are you using for Kubernetes? If you just made your own, I’ve got an example deployment at [openemr-devops/kubernetes at master · openemr/openemr-devops · GitHub](https://github.com/openemr/openemr-devops/tree/master/kubernetes) you may want to review. I can’t guarantee production quality – I’m not a Kubernetes expert – but it covers the ground I thought needed to be discussed, like a Redis backend so the OpenEMR worker nodes can share sessions.
