inboard on k8s #65
br3ndonland
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
FastAPI has some docs on deploying with Docker. The docs suggest that, if running on Kubernetes ("k8s"), you should build your own configuration instead of using a base image (like inboard):
It is not necessary to build your own configuration from scratch as the FastAPI docs suggest. The effect of "running a single Uvicorn process instead of running something like Gunicorn with Uvicorn workers" can easily be accomplished with inboard. Just set the inboard environment variable
PROCESS_MANAGER=uvicorn
in your Dockerfile. This tells inboard to run a single Uvicorn process without Gunicorn.It would be great to hear feedback from users running inboard on k8s. Feel free to comment here with any feedback or questions.
Beta Was this translation helpful? Give feedback.
All reactions