FastAPI on Kubernetes with NGINX Ingress



FastAPI on Kubernetes with NGINX Ingress

FastAPI on Kubernetes with NGINX Ingress

A simple tutorial about a complex thing – how to expose FastAPI app to the world on Kubernets with NGINX Ingress Controller. I explain the structure of Kubernetes Pod for FastAPI along with Kubernetes service. I show how FastAPI properties should be set to be accessible through Ingress path definition. You will learn how to check the log for NGINX Ingress Controller and FastAPI Pod.

Katana ML Skipper code:
https://github.com/katanaml/katana-skipper

FastAPI Running on Kubernetes Pod:
https://www.youtube.com/watch?v=K0oMkXm1YJg

0:00 Introduction
2:51 Example app
3:56 Source code
5:06 FastAPI Pod
6:34 NGINX Ingress Controller
9:21 Demo
10:01 Few hints
11:24 Logging
13:52 Summary

CONNECT:
– Subscribe to this YouTube channel
– Twitter: https://twitter.com/andrejusb
– LinkedIn: https://www.linkedin.com/in/andrej-baranovskij/
– Facebook: https://www.facebook.com/redsamoracle
– Medium: https://medium.com/@andrejusb

#FastAPI #Kubernetes #Python

Comments are closed.