From the course: Google Cloud Professional Cloud Architect Cert Prep
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Running minikube with FastAPI for Kubernetes development
From the course: Google Cloud Professional Cloud Architect Cert Prep
Running minikube with FastAPI for Kubernetes development
- [Instructor] Here I have a GitHub repo that has a fast API microservice inside of it that has a container file as well. Let's go ahead and take a look at the structure. In this, we have a main PY and this is where the main microservice code lives. And I also have logic built into a directory. Inside this directory, I have a couple of functions here. I have something that will randomly give me different fruits. I also have a little bit of logic. You can build up as many pieces of logic as you want and then incorporate them into routes. At this point as well, because I'm using fast API, I have access to slash docs, which is a swagger implementation. This allows me to look at the API endpoints and experiment with them without having to have a a UI built. Finally, we have a Docker file right here, which is great. This allows me to containerize my application and push it either into a container registry and let it run in inside of the container registry. Or also I can run it locally with…
Contents
-
-
-
-
-
(Locked)
Integration, containerized microservices, Kubernetes and GKE, compute choice, storage choice9m 48s
-
(Locked)
Using Google Cloud Functions6m 45s
-
Running minikube6m 37s
-
(Locked)
Running minikube with FastAPI for Kubernetes development7m 23s
-
(Locked)
Getting started with Google Cloud Run4m 42s
-
(Locked)
Load testing with Locust3m 25s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-