# Gitea HA deployment in K8s

**URL:** <https://forum.gitea.com/t/gitea-ha-deployment-in-k8s/9843>\
**Category:** Install/Maintain/Configure\
**Created:** [October 10, 2024, 10:01am UTC](https://forum.gitea.com/t/gitea-ha-deployment-in-k8s/9843 "2024-10-10T10:01:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thilak](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@thilak](https://forum.gitea.com/u/thilak)\
**Post date:** [October 10, 2024, 10:01am UTC](https://forum.gitea.com/t/gitea-ha-deployment-in-k8s/9843/1 "2024-10-10T10:01:07Z")

</div>

Hi Team,

We have configured Gitea for high availability using OpenSearch as our code indexer and everything seems to work fine. We have a few questions on HA setup

1. Have you encountered any compatibility issues or limitations when using OpenSearch instead of Elasticsearch for Gitea’s code indexer? Are there any specific settings or configurations we should be aware of?

2. Does the recommended storage requirement for the code indexer, which is mentioned as six times the size of the repository(in Config Cheat sheet), still hold true when using OpenSearch/Elasticsearch? Are there any factors to consider when estimating storage needs in this scenario?

3. Is there a recommended procedure for converting a non-HA deployment to an HA-based deployment? Additionally, is there a standard procedure to revert back from HA to a non-HA setup?

Regards  
Somanath Thilak

---

<div class="post-metadata">

**Author:** ![mlebon](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@mlebon](https://forum.gitea.com/u/mlebon)\
**Post date:** [October 11, 2024, 8:34am UTC](https://forum.gitea.com/t/gitea-ha-deployment-in-k8s/9843/2 "2024-10-11T08:34:02Z")

</div>

Hello Mr Somanath Thilak,

I am interested in your implementation could you indicate the implementation status, the difficulties encountered.

All documentation is welcome

---

<div class="post-metadata">

**Author:** ![guw](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/guw/32/6416_2.png) [@guw](https://forum.gitea.com/u/guw)\
**Post date:** [November 18, 2024, 11:09am UTC](https://forum.gitea.com/t/gitea-ha-deployment-in-k8s/9843/3 "2024-11-18T11:09:45Z")

</div>

How far did you get with the setup? Are you storing repositories on a shared drive or EFS?
