Moving a high-memory Python application from Kubernetes to a dedicated Linux server — what would be the best setup?
retained text
<!-- SC_OFF --><div class="md"><p>Hello,</p> <p>At the company where I work, we have a Python application running on a Kubernetes cluster. The application is fully integrated into a CI/CD workflow. Whenever code is merged, Jenkins pulls the source code from GitLab, builds the application, and pushes the image to Harbor. Argo CD then deploys it to the Kubernetes cluster.</p> <p>However, the application consumes a large amount of RAM, and I have had to increase its memory allocation several times. We have now decided to move the application to a separate Linux server.</p> <p>The application runs with Uvicorn, and I plan to make it accessible through a domain name, just as it currently is in the Kubernetes environment. However, I am not sure what the best-practice architecture would be for this setup, so I would appreciate your recommendations.</p> <p>I still want Jenkins to automatically pull the application from GitLab, build it, and deploy it. After deployment, the application should automatically start and run as a web service.</p> <p>My main concerns are how to restore the application as quickly as possible if a problem occurs, how to handle backups, and what kind of deployment and recovery strategy would be best.</p> <p>In short, could you please advise me on the best way to design and implement this setup?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/hnajafli"> /u/hnajafli </a> <br /> <span><a href="https://www.reddit.com/r/devops/comments/1v475m2/moving_a_highmemory_python_application_from/">[link]</a></span>   <span><a href="https://www.reddit.com/r/devops/comments/1v475m2/moving_a_highmemory_python_application_from/">[comments]</a></span>
document fetched 2026-07-23 08:36 · canonical https://reddit.com/r/devops/comments/1v475m2/moving_a_highmemory_python_application_from