Kubernetes 101: Deploying Your First Application!

preview_player
Показать описание
Create a hello world API with Python using FastAPI, bundle it up as a container image, and then deploy it to a Kubernetes cluster on Civo Cloud!

This is the fifth episode in a new content series in which I plan to build an application platform with Kubernetes. This is the same type of thing that I have helped multiple startup companies build over the past 4 years!

--

Timestamps:
00:00 - Introduction
01:20 - Fast API setup
05:15 - Containerize the application
11:23 - Push to DockerHub
13:05 - Create Kubernetes cluster
15:18 - Define Kubernetes resources
21:52 - Authenticating to cluster
24:00 - Deploy into cluster
27:44 - Setting up ingress
30:30 - Setting up DNS
32:10 - Deploying a new version to demo loadbalancing
35:00 - Debugging
38:19 - Recap

---

Join the Community:

---

Community size at time of posting:
- Subscribers: 26909
- Channel Views: 840395
Рекомендации по теме
Комментарии
Автор

Wow! at 40min you certainly covered a lot and didn't waste a second.

I am an HPC engineer kicking the tires on Kubernetes. I set up OpenStack in my home lab and RKE2 Kubernetes with Rancher and Longhorn. This was exactly what I needed to put it to work.

Thanks!

umwhathowmany
Автор

I don't comment frequently, but I need you to know that I have watched/read a fair number of K8s tutorials before and none of them were as clear as this one by a mile. You do an excellent job of just showing the whole process, beginning to end, explaining each concept simply in a way that brings it all together. Kudos.

BryceYoder-tjqg
Автор

I hope to see more videos like this on the internet! Explaining everything not just parts of it! Thanks!

hesamkashefi
Автор

These topics were used to seem blended and unclear for me before, but after watching this video it all shaped in my mind. Thanks a lot!!

berkantay
Автор

Crazy how all this was confusing and made no sense to me before. After watching this, for whatever reason, so many blockers are gone. Thank you so much!

Still gotta go through the tutorial properly / further practice my Docker and Linux skills, but this opened up a lot of those blockers!

b.tanner
Автор

Excellent video! While working on your Docker tutorial course, I decided to watch this video as we used Kubernetes instead of shipyard where I work. This was a great way to the general idea of what Kubernetes does to help manage and deploy your docker containers!

kylep
Автор

Pls make more video contents about Kubernetes. Your courses are so industry standard and helped me to improve so much to industry standard.

iam_mz
Автор

This is super helpful! Also the mini-debug you showed towards the end was helping me lots.

mauvezebra
Автор

Simple and brilliant content. Helped me to understand better about K8S. Thank you :)

prasiddhi
Автор

By faR the best 40 minute video I have ever watched to learn something new in one sitting. I seriously mean it, this was about 90% of what I needed to get my AI project on the web! Thank you so much!

streetfighteryamahar
Автор

Awesome video, really found something good after searching a lot . Hope your channel grows.

AyushmaanSinha
Автор

Excellent content Sid, keep uploading CI/CD integrated pipeline, it will be really, really helpful.

nokzeo
Автор

lovely and succinct! Very nicely done.

piofthings
Автор

Clean and Great content bro,
next time please create some content about autoscaling in kubernetes environment, Kudos 🔥

pahambasic
Автор

Awesome work. Thanks for putting this on Youtube

anmolarora
Автор

Awesome video for getting started with k8s. 👏

zekorts
Автор

Thanks for the video Sid.. You made it very easy. Love watching it and implemented

parveenpandit
Автор

Thank you boss, keep it going with DevOPS

PetritK
Автор

If you're using a more recent version of fastapi, and seeing an error along the lines of "To use the fastapi command, please install "fastapi[standard]": pip install "fastapi[standard]" ", then change the requirements.txt file to instead import For example, `fastapi[standard]~=0.112`.

JackAdler-fi
Автор

This is still awesome content, thanks Sid. I hope you keep going..
I did have one issue. The deployment went in error: 'MinimumReplicasUnavailable'. The Pod logs showed: 'exec /usr/local/bin/uvicorn: exec format error'. Turned out this happened because I built my docker image on my M1 mac. I needed to include '--platform=linux/amd64' in order to build for the Civo amd64 Nodes. Thanks again.

alphabetbrumby
visit shbcf.ru