I am building a fleet of Python FastAPI microservices and aiming to scale them efficiently in a production environment. Each service runs inside a Docker container, which keeps it isolated and portable. I’m orchestrating these containers with Kubernetes, specifically using the lightweight K3s distribution on the Azure cloud.
In this article, I share my hands-on experience optimizing this setup for high performance and reliability in production.