No video

Microservices in Python using Flask Framework | Dockerize and Deploy to Kubernetes with Helm

  Рет қаралды 53,820

DevOps Made Easy

DevOps Made Easy

Күн бұрын

Microservices in Python using Flask framework | Dockerize and Deploy to Kubernetes with Helm
GitHub: github.com/kun...
#DevOpsMadeEasy #DevOps #Programming
▬▬▬▬▬▬ Pre-Requisite ▬▬▬▬▬▬
💡 Kubernetes: ► • Kubernetes Made Easy
In this video series, I explain
► Istio Architecture
► Installing Python 3.X
► Creating Python Virtual Environments
► Installing Python VS Code Extension
► Sample Flask Application
► Jinja templating for Dynamic Web Pages
► Using Pip to Freeze Python Dependencies
► Building the docker image using Dockerfile
► Writing Docker Compose file
► Writing Kubernetes Manifest files for the application
► Creating Helm Chart
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Start
▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
Kubernetes course ► • Kubernetes Made Easy
Docker course ► • Docker - 01: Introduct...
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Facebook group ► / 171043094400359
Email ► devopsmadeeasy@outlook.com
▬▬▬▬▬▬ GitHub Links 🚀 ▬▬▬▬▬▬
► github.com/kun...
🙏 🙏 🙏 Kindly Like and Subscribe our KZbin Channel for more videos 🙏 🙏 🙏
Also, I post important updates on Docker, Kubernetes, Helm, Git, Python, Jenkins, Ansible, Terraform on my Facebook Page
that are helpful in clearing many certifications😍 😍
Don't forget to join my Facebook group
Help me build more tutorials like this by contributing. Reach out to us on my Email address provided above🙏
⭐ Tags ⭐
- DevOps Made Easy
- Docker Made Easy
- Kubernetes Made Easy
- Helm Made Easy
- Istio Made Easy
- Ansible Made Easy
- Terraform made Easy
- Python Made Easy
- Git Made Easy
- Python Tutorials
- Object-Oriented Programming Python
- Python OOP
- Python Objects and Classes
- Classes Python
- GoLang Tutorials
- Objects and Classes Python
⭐ Hashtags ⭐
#DevOpsMadeEasy #Python #IOT #k3s #devops #helm #docker #kubernetes #jenkins #ansible #git #k8s #rancher #Raspberrypi #raspberrypik3s

Пікірлер: 109
@basuutube
@basuutube Жыл бұрын
I am from Machine Learning Background and trying to learn DevOps. Gone through many videos. To be honest, they are amazingly crisp. Can you please index the videos, like in what order should I go through to have a better understanding?
@ravigiri_67
@ravigiri_67 2 жыл бұрын
Till 43 min everything was clear after that bouncer. Still appreciate your effort
@akashmishra13
@akashmishra13 2 жыл бұрын
Really great video...somehow this never comes on top when searching for microservices using python Great Work!!!
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Thank you so much :)
@enterfonement
@enterfonement Жыл бұрын
Short and Sweet walk-through. Nice work.
@chandu2155
@chandu2155 2 жыл бұрын
Frankly speaking, this is not microservice application(as we are not seeing two services talking to each other) , it's a service based web app deployed in kubernetes. Though the content is good for service based app. Great effort!!! Keep up the good work
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
True. I have not extended this application to include 2 microservices. Thanks for the feedback :)
@ifeanyivictor2857
@ifeanyivictor2857 Жыл бұрын
Hi @chandu kumar, please can you recommend a video that treated microservices very well.
@akinyemisodiq7081
@akinyemisodiq7081 2 жыл бұрын
thanks for this piece, even though i'm not a flask person, this tutorial is great, thanks
@chhayadongre3956
@chhayadongre3956 Жыл бұрын
Really my search ends here for python...Great video. May I request you to please upload 04 video in this series, as i can see uplaoded videos are 00,01,02,03,05. Thanks in advance vikram sir 🙏
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
Its there already. Pls check again
@Sound-Lord
@Sound-Lord 7 ай бұрын
Good and Cool 👍 Thanks for using Flask - the best framework for real Batmans!
@akashmondal299
@akashmondal299 2 ай бұрын
Outstanding video.. ✌
@russellandrady
@russellandrady 18 күн бұрын
Flask tutoring part is going very slow. But the docker part is going very fast. If you are familiar with docker not with flask, this may good for you.
@jaganmohan6557
@jaganmohan6557 2 жыл бұрын
Great content . Keep on providing content like this
@maheshmagalage1886
@maheshmagalage1886 2 жыл бұрын
Thank you for the detailed tutorial.
@adrienpouemo3229
@adrienpouemo3229 Жыл бұрын
Thank you very much, this is what i was looking for
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
Thanks
@vinayakdumbre2828
@vinayakdumbre2828 2 жыл бұрын
Great work bro,this is exactly what i was searching for, thank you.
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Glad you found!
@Euro-Eye
@Euro-Eye 28 күн бұрын
man this is great
@ju_brasil
@ju_brasil Жыл бұрын
really good work! Thanks a lot! Simplified, useful, direct to the point. I learned a lot!
@cskaushik11
@cskaushik11 2 жыл бұрын
Very helpful video. Thanks for sharing.
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
You are welcome
@moinsyed195
@moinsyed195 2 жыл бұрын
Bro super Please make some more video same like this
@harshalichopade616
@harshalichopade616 2 жыл бұрын
It's really osm yarr Thank you !!! it's clearing all the doubt
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Glad that it helped!
@ashishgudla5411
@ashishgudla5411 2 жыл бұрын
5 mins into it. I was like yeh to sahi lagra yaar
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Thanks 😀
@scott5226
@scott5226 Жыл бұрын
Really excellent job on this video.
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
Thank you very much!
@paulcaburatan55
@paulcaburatan55 2 жыл бұрын
superb content! awesome man! thanks
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Thank you
@vijaymestry4236
@vijaymestry4236 Жыл бұрын
Really Great explanation
@skydiverton
@skydiverton 2 жыл бұрын
Very good mt frens
@Euro-Eye
@Euro-Eye 28 күн бұрын
Thanks!
@interestingdatascience8057
@interestingdatascience8057 2 жыл бұрын
Hi Vikram, It would be great if you take any MEAN / MERN stack application and show how to dockerize it and deploy it on Kubernetes through HELM. Because I am not able to find any solid video on KZbin where someone shown it perfectly so that we can implement the same in our project.
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
I will definitely try. I don't have any MERN stack apps though
@tom.bailey
@tom.bailey 2 жыл бұрын
Really great tutorial, thank you!
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Thanks
@shashankbafna2867
@shashankbafna2867 Жыл бұрын
Great video!
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
Thanks😊
@mrindia2574
@mrindia2574 7 ай бұрын
Thanks boss appreciate
@DevOpsMadeEasy
@DevOpsMadeEasy 7 ай бұрын
Any time
@AlexandreSipauba
@AlexandreSipauba Жыл бұрын
Very good video! Congratulations and thank you for this content. But I got a little confused... Flask is a WSGI application. So who acts as the HTTP server for your application inside the container? In a production environment, a reverse proxy such as NGINX is required to prevent the WSGI server's built-in HTTP server from converting incoming HTTP requests to the WSGI server. So here is my query: Does kubernetes force a simpler architecture for k8s load balancing to manage everything from outside’s container? Or is the correct approach to keep an NGINX inside the docker container to handle the HTTP requests? I would really like to know.
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
www.toptal.com/flask/flask-production-recipes
@Andrew_J123
@Andrew_J123 10 ай бұрын
Hi! I appreciate the video and followed all the steps and got it working on my laptop. I wanted to ask if you're supposed to be able to see this on other devices though as I would like for things to be accessed by employers potentially. Thanks again!
@DevOpsMadeEasy
@DevOpsMadeEasy 10 ай бұрын
Once you build the docker image, you can deploy it in managed services like AWS ECS or AWS EKS to get a public endpoint using which others can access. You can also run the same image as container in AWS EC2(after installing docker) and access it via public ip of your instance
@Andrew_J123
@Andrew_J123 10 ай бұрын
@@DevOpsMadeEasy do you have any videos on these steps? It would be super helpful if you did. I think you give good instructions and basically want to use your videos as a base guide and then build apps using the structure you give
@DevOpsMadeEasy
@DevOpsMadeEasy 10 ай бұрын
Follow this playlist: kzbin.info/aero/PL8klaCXyIuQ4ziSFrmB-gyrEngjJ12V18
@Andrew_J123
@Andrew_J123 10 ай бұрын
@@DevOpsMadeEasy Thanks!
@shanmugaraj3539
@shanmugaraj3539 2 жыл бұрын
What OS you're using bro!? It's cool 🤯
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Windows 11 bro
@aliyananwar7633
@aliyananwar7633 Жыл бұрын
Great video thanks for helping, when you installed mini kube ? At 44th minute you said we have mini kube already installed, this video could be alot helpful if you add sections.
@davidleal714
@davidleal714 2 жыл бұрын
thank you so much, great content
@melodic_tech_house
@melodic_tech_house 2 жыл бұрын
Had been doing all around 2 weeks
@redemsion2
@redemsion2 Жыл бұрын
Hi -Thanks for this video. I am learning from it. I have question. Why did you install python on your local machine rather than in a docker container? What are the benefits to installing it the way you did vs in a container? Thanks in advance.
@ahoymatey1234
@ahoymatey1234 11 ай бұрын
Cannot connect to app when at the docker stage maybe it's something new but there seemed to be a rush through the minkube part maybe there is a special setup we need to that isn't shown
@a1994s
@a1994s Жыл бұрын
thanks bro, can you please make a microservice same as this video using Django
@raghuvamsialapati585
@raghuvamsialapati585 2 жыл бұрын
spot on tutorial. great work mate. could you provide the repo link. thanks
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Anytime brother 😀
@TheNishi42
@TheNishi42 2 жыл бұрын
Thank you :-)
@atzin.0603
@atzin.0603 2 жыл бұрын
can I make a web page with this and selenium? to perform webscrapping on other web pages and display them on mine
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Yes you can
@atzin.0603
@atzin.0603 2 жыл бұрын
@@DevOpsMadeEasy it is something simple what I should do. is it necessary to use all the technologies of the video or could it only be done with django and selenium?
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Django and selenium are the dependencies. You should know how to containerize your app and rest all Kubernetes related files stays same
@atzin.0603
@atzin.0603 2 жыл бұрын
@@DevOpsMadeEasy So what do you recommend me to do what I have in mind? with kubernetes? thank you a lot
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
The recommended way is to first dockerize your app, test it by running a container and then deploy the same image in Kubernetes :)
@jaganmohan6557
@jaganmohan6557 2 жыл бұрын
Can you make vedio on django web application framework insimilar manner brother
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Sorry, brother never worked on Django but I like Flask and Fast API compared to Django. Just a personal opinion.
@thegreatindiankitchen91
@thegreatindiankitchen91 2 жыл бұрын
We were hoping one day you will release helm full course but we are losing hops sir please create a full course on helm
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
We already have Helm complete course but a paid one. Full course is for our students
@futhedude4848
@futhedude4848 Жыл бұрын
Great video with the Flask and Kubernetes, but this is NOT a video about microservice.
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
You are correct
@ajinzrathod
@ajinzrathod 4 ай бұрын
So where exactly is Microservices used here?
@chinmoypadhi
@chinmoypadhi 2 жыл бұрын
Hi, I didn't get the step at 43:58 where you mentioned you have already deployed minikube and you are running "minikube start" from python virtual-env , the same when I'm trying to run python virtual-env , I'm getting the error (tutorial-env) C:\Git\microservices-in-python>minikube start 'minikube' is not recognized as an internal or external command, operable program or batch file. could you please let me know what are the steps to deploy minikube and kubectl so that I can complete this tutorial. It's good to have any youtube video link.
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
06(a) - Local Kubernetes Cluster Installation using Minikube | Minikube in-depth with MetalLB kzbin.info/www/bejne/iJuzqXmGgKp2ppY
@partyplaylistsbyyash7540
@partyplaylistsbyyash7540 9 ай бұрын
Implemented all the steps as per mentioned in video , all the containers and images are running fine , but when trying to load the minikube IP there is no result , its not loading the webpage, can u pls let know where could be the issue
@DevOpsMadeEasy
@DevOpsMadeEasy 9 ай бұрын
Did you exec into the pod and check if the app is accessible on the localhost? like curl localhost:5000?
@partyplaylistsbyyash7540
@partyplaylistsbyyash7540 9 ай бұрын
@@DevOpsMadeEasy got inside the pod , but none of the commands are working inside it , logged in via /bin/sh shell because when I was trying to exec into pod using /bin/bash getting OCI runtime failed error.
@rohitvernekar
@rohitvernekar Жыл бұрын
Hey thanks for this wonderfull video : ) .I was able to deploy till docker compose.But while running kubernetes deployment, I am getting ImagePullBackoff status. I assume this is expecting a image. Not sure on where u created the image for kubernetes(webapp:1.0).
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
The same dockerized image is being used for kubernetes deployment as well. Check the video again and thanks for your valuable comments
@user-pk5vi3vh5s
@user-pk5vi3vh5s 6 ай бұрын
Very good tutorial. I tried but I do not see my page while browsing using the port 30366 ( 80:30366/TCP ). Can you help ?.
@DevOpsMadeEasy
@DevOpsMadeEasy 6 ай бұрын
There is some issue with minikube service. Check section 4 in this link minikube.sigs.k8s.io/docs/start/
@partyplaylistsbyyash7540
@partyplaylistsbyyash7540 9 ай бұрын
Hi , when i am trying to load the webpage via minikube IP , its not working , checked on port mapping part , there is no as such port occupied by any other service. where do I need to modify
@DevOpsMadeEasy
@DevOpsMadeEasy 9 ай бұрын
Did you exec into the pod and check if the app is accessible on the localhost? like curl localhost:5000?
@partyplaylistsbyyash7540
@partyplaylistsbyyash7540 9 ай бұрын
@@DevOpsMadeEasy still in docker build step only dint go to kubernetes setup yet (got stuck in docker build/run only) , after we did docker build and then docker run on port 80:5000 , then with that minikube IP the webpage is not loading. what could be the reason , because all the containers and images are running fine
@DevOpsMadeEasy
@DevOpsMadeEasy 9 ай бұрын
@partyplaylistsbyyash7540 For accessing docker container, use localhost only not minikube ip. Also I checked from my end and indeed minikube ip isn't accessible and it could be due to minikube issue. Don't worry the app should work in other clusters setup with kubeadm or EKS etc
@partyplaylistsbyyash7540
@partyplaylistsbyyash7540 9 ай бұрын
@@DevOpsMadeEasy Just found out that the pods booted after starting docker container (build and run) are going into crashloopbackoff , tried increasing timeout and period seconds , but still the docker container webapp pods are going into crashloopbackoff state
@brunosantos2345
@brunosantos2345 Жыл бұрын
Hi, I can't find this repo on your github. Could you send me the link please. Thanks
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
github.com/kunchalavikram1427/microservices-in-python
@krishnakolachalam
@krishnakolachalam Жыл бұрын
@@DevOpsMadeEasy Vikram, link not working. Getting 404 from github. Has it been moved or removed?
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
github.com/kunchalavikram1427/microservices-in-python
@DevOpsMadeEasy
@DevOpsMadeEasy Жыл бұрын
github.com/kunchalavikram1427/microservices-in-python
@umairmughal1369
@umairmughal1369 4 ай бұрын
can anybody tell me how to run this app after deploying it??
@jacobbardwell9195
@jacobbardwell9195 Жыл бұрын
When running the docker file @51:32 my docker ps command indicates that the status of the application is unhealthy. Is there a way to troubleshoot for an error?
@chukwumaobi2998
@chukwumaobi2998 Жыл бұрын
had same issue
@chukwumaobi2998
@chukwumaobi2998 Жыл бұрын
where you able to access it from webpage
@moulijayanti
@moulijayanti 2 жыл бұрын
Do you do complete devops course?
@ramanshaan7566
@ramanshaan7566 2 жыл бұрын
has anyone been able to replicate this ? i am not able to deploy and access either on minikube or master/worker 4 node cluster
@samtx
@samtx 2 жыл бұрын
Thank you , link to repo ?
@DevOpsMadeEasy
@DevOpsMadeEasy 2 жыл бұрын
Check the description 😀
@abdullahsaid8561
@abdullahsaid8561 8 ай бұрын
we dont need wsgi?
@DevOpsMadeEasy
@DevOpsMadeEasy 8 ай бұрын
You will need it. This is just a test app
@abhishekprasad7030
@abhishekprasad7030 2 жыл бұрын
hello Bro, Good Stuff.. But I am stuck here.. kzbin.info/www/bejne/iZW3q6qPotiapbc .. you mentioned, you have already installed these dependencies.. but I have not yet, can you please let me which all dependency are required.. and commands for the same.. please note: I am on mac m1.
@abdelaziz2788
@abdelaziz2788 Жыл бұрын
Do you call that microservices?????
@rishikeshkumar2073
@rishikeshkumar2073 5 ай бұрын
unable to get url using minkube ip after running container
@kavithak1138
@kavithak1138 2 жыл бұрын
Hi really helpful.am searching good tutorials for kubernetes deployment last 2 weeks.how to contact you need help on kubernetes.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 44 М.
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 47 МЛН
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 65 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 191 МЛН
Build Real-World Python Microservices with Continuous Delivery From Zero
2:10:42
Build your first REST API with Flask and PostgreSQL
27:42
teclado
Рет қаралды 64 М.
Demystifying Python's Async and Await Keywords
1:18:53
JetBrains
Рет қаралды 99 М.
How to create a great dev environment with Docker
29:55
Patrick Loeber
Рет қаралды 260 М.
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 919 М.
you need to learn Kubernetes RIGHT NOW!!
29:34
NetworkChuck
Рет қаралды 1,2 МЛН
Build Real-World AWS Microservices with Python and FastAPI From Zero
1:59:51
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 843 М.
Python REST API Tutorial - Building a Flask REST API
1:14:01
Tech With Tim
Рет қаралды 761 М.
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 47 МЛН