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

Sdílet
Vložit
  • čas přidán 3. 12. 2021
  • Microservices in Python using Flask framework | Dockerize and Deploy to Kubernetes with Helm
    GitHub: github.com/kunchalavikram1427...
    #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/kunchalavikram1427...
    🙏 🙏 🙏 Kindly Like and Subscribe our CZcams 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

Komentáře • 109

  • @basuutube
    @basuutube Před rokem +9

    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 Před 2 lety +5

    Till 43 min everything was clear after that bouncer. Still appreciate your effort

  • @enterfonement
    @enterfonement Před rokem +2

    Short and Sweet walk-through. Nice work.

  • @ju_brasil
    @ju_brasil Před rokem

    really good work! Thanks a lot! Simplified, useful, direct to the point. I learned a lot!

  • @akinyemisodiq7081
    @akinyemisodiq7081 Před 2 lety +2

    thanks for this piece, even though i'm not a flask person, this tutorial is great, thanks

  • @akashmishra13
    @akashmishra13 Před 2 lety +7

    Really great video...somehow this never comes on top when searching for microservices using python
    Great Work!!!

  • @maheshmagalage1886
    @maheshmagalage1886 Před 2 lety +3

    Thank you for the detailed tutorial.

  • @Sound-Lord
    @Sound-Lord Před 6 měsíci

    Good and Cool 👍 Thanks for using Flask - the best framework for real Batmans!

  • @vinayakdumbre2828
    @vinayakdumbre2828 Před rokem +2

    Great work bro,this is exactly what i was searching for, thank you.

  • @jaganmohan6557
    @jaganmohan6557 Před 2 lety +2

    Great content . Keep on providing content like this

  • @chandu2155
    @chandu2155 Před rokem +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  Před rokem +2

      True. I have not extended this application to include 2 microservices. Thanks for the feedback :)

    • @ifeanyivictor2857
      @ifeanyivictor2857 Před rokem

      Hi @chandu kumar, please can you recommend a video that treated microservices very well.

  • @adrienpouemo3229
    @adrienpouemo3229 Před rokem +2

    Thank you very much, this is what i was looking for

  • @akashmondal299
    @akashmondal299 Před měsícem

    Outstanding video.. ✌

  • @tom.bailey
    @tom.bailey Před 2 lety +2

    Really great tutorial, thank you!

  • @cskaushik11
    @cskaushik11 Před 2 lety +1

    Very helpful video. Thanks for sharing.

  • @davidleal714
    @davidleal714 Před 2 lety +1

    thank you so much, great content

  • @vijaymestry4236
    @vijaymestry4236 Před rokem

    Really Great explanation

  • @russellandrady
    @russellandrady Před 3 dny +1

    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.

  • @moinsyed195
    @moinsyed195 Před 2 lety +2

    Bro super
    Please make some more video same like this

  • @scott5226
    @scott5226 Před rokem +1

    Really excellent job on this video.

  • @paulcaburatan55
    @paulcaburatan55 Před 2 lety +1

    superb content! awesome man! thanks

  • @chhayadongre3956
    @chhayadongre3956 Před rokem +3

    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 🙏

  • @Euro-i
    @Euro-i Před 12 dny +1

    man this is great

  • @harshalichopade616
    @harshalichopade616 Před rokem +1

    It's really osm yarr Thank you !!! it's clearing all the doubt

  • @Euro-i
    @Euro-i Před 12 dny +1

    Thanks!

  • @redemsion2
    @redemsion2 Před rokem

    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.

  • @skydiverton
    @skydiverton Před 2 lety +1

    Very good mt frens

  • @TheNishi42
    @TheNishi42 Před 2 lety +1

    Thank you :-)

  • @ahoymatey1234
    @ahoymatey1234 Před 11 měsíci

    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

  • @shashankbafna2867
    @shashankbafna2867 Před rokem +1

    Great video!

  • @mrindia2574
    @mrindia2574 Před 6 měsíci +1

    Thanks boss appreciate

  • @aliyananwar7633
    @aliyananwar7633 Před rokem

    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.

  • @chinmoypadhi
    @chinmoypadhi Před 2 lety

    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  Před 2 lety

      06(a) - Local Kubernetes Cluster Installation using Minikube | Minikube in-depth with MetalLB
      czcams.com/video/RjPxFPKECp4/video.html

  • @AlexandreSipauba
    @AlexandreSipauba Před rokem +1

    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.

  • @interestingdatascience8057

    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 CZcams where someone shown it perfectly so that we can implement the same in our project.

    • @DevOpsMadeEasy
      @DevOpsMadeEasy  Před rokem

      I will definitely try. I don't have any MERN stack apps though

  • @ramanshaan7566
    @ramanshaan7566 Před 2 lety

    has anyone been able to replicate this ? i am not able to deploy and access either on minikube or master/worker 4 node cluster

  • @melodic_tech_house
    @melodic_tech_house Před 2 lety +1

    Had been doing all around 2 weeks

  • @ashishgudla5411
    @ashishgudla5411 Před 2 lety +1

    5 mins into it. I was like yeh to sahi lagra yaar

  • @umairmughal1369
    @umairmughal1369 Před 3 měsíci

    can anybody tell me how to run this app after deploying it??

  • @jacobbardwell9195
    @jacobbardwell9195 Před rokem

    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?

  • @rohitvernekar
    @rohitvernekar Před rokem

    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  Před rokem +1

      The same dockerized image is being used for kubernetes deployment as well. Check the video again and thanks for your valuable comments

  • @Andrew_J123
    @Andrew_J123 Před 10 měsíci +1

    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  Před 10 měsíci +1

      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 Před 10 měsíci

      @@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  Před 10 měsíci +1

      Follow this playlist: czcams.com/play/PL8klaCXyIuQ4ziSFrmB-gyrEngjJ12V18.html

    • @Andrew_J123
      @Andrew_J123 Před 10 měsíci

      @@DevOpsMadeEasy Thanks!

  • @shanmugaraj3539
    @shanmugaraj3539 Před 2 lety +2

    What OS you're using bro!? It's cool 🤯

  • @a1994s
    @a1994s Před rokem +1

    thanks bro, can you please make a microservice same as this video using Django

  • @ajinzrathod
    @ajinzrathod Před 4 měsíci

    So where exactly is Microservices used here?

  • @moulijayanti
    @moulijayanti Před 2 lety

    Do you do complete devops course?

  • @raghuvamsialapati585
    @raghuvamsialapati585 Před 2 lety +2

    spot on tutorial. great work mate. could you provide the repo link. thanks

  • @partyplaylistsbyyash7540
    @partyplaylistsbyyash7540 Před 8 měsíci

    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  Před 8 měsíci

      Did you exec into the pod and check if the app is accessible on the localhost? like curl localhost:5000?

    • @partyplaylistsbyyash7540
      @partyplaylistsbyyash7540 Před 8 měsíci

      @@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.

  • @atzin.0603
    @atzin.0603 Před 2 lety +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  Před 2 lety +2

      Yes you can

    • @atzin.0603
      @atzin.0603 Před 2 lety +1

      @@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  Před 2 lety +1

      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 Před 2 lety +1

      @@DevOpsMadeEasy So what do you recommend me to do what I have in mind? with kubernetes? thank you a lot

    • @DevOpsMadeEasy
      @DevOpsMadeEasy  Před 2 lety

      The recommended way is to first dockerize your app, test it by running a container and then deploy the same image in Kubernetes :)

  • @partyplaylistsbyyash7540
    @partyplaylistsbyyash7540 Před 8 měsíci

    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  Před 8 měsíci

      Did you exec into the pod and check if the app is accessible on the localhost? like curl localhost:5000?

    • @partyplaylistsbyyash7540
      @partyplaylistsbyyash7540 Před 8 měsíci

      @@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  Před 8 měsíci

      @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 Před 8 měsíci

      @@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

  • @user-pk5vi3vh5s
    @user-pk5vi3vh5s Před 5 měsíci

    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  Před 5 měsíci

      There is some issue with minikube service. Check section 4 in this link minikube.sigs.k8s.io/docs/start/

  • @brunosantos2345
    @brunosantos2345 Před rokem +1

    Hi, I can't find this repo on your github. Could you send me the link please. Thanks

    • @DevOpsMadeEasy
      @DevOpsMadeEasy  Před rokem

      github.com/kunchalavikram1427/microservices-in-python

    • @krishnakolachalam
      @krishnakolachalam Před rokem

      @@DevOpsMadeEasy Vikram, link not working. Getting 404 from github. Has it been moved or removed?

    • @DevOpsMadeEasy
      @DevOpsMadeEasy  Před rokem

      github.com/kunchalavikram1427/microservices-in-python

    • @DevOpsMadeEasy
      @DevOpsMadeEasy  Před rokem

      github.com/kunchalavikram1427/microservices-in-python

  • @thegreatindiankitchen91

    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  Před 2 lety

      We already have Helm complete course but a paid one. Full course is for our students

  • @jaganmohan6557
    @jaganmohan6557 Před 2 lety +1

    Can you make vedio on django web application framework insimilar manner brother

    • @DevOpsMadeEasy
      @DevOpsMadeEasy  Před 2 lety

      Sorry, brother never worked on Django but I like Flask and Fast API compared to Django. Just a personal opinion.

  • @abdullahsaid8561
    @abdullahsaid8561 Před 8 měsíci

    we dont need wsgi?

  • @samtx
    @samtx Před 2 lety +1

    Thank you , link to repo ?

  • @futhedude4848
    @futhedude4848 Před rokem +1

    Great video with the Flask and Kubernetes, but this is NOT a video about microservice.

  • @abhishekprasad7030
    @abhishekprasad7030 Před rokem +1

    hello Bro, Good Stuff.. But I am stuck here.. czcams.com/video/SdTzwYmsgoU/video.html .. 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 Před rokem

    Do you call that microservices?????

  • @rishikeshkumar2073
    @rishikeshkumar2073 Před 4 měsíci

    unable to get url using minkube ip after running container

  • @kavithak1138
    @kavithak1138 Před 2 lety +1

    Hi really helpful.am searching good tutorials for kubernetes deployment last 2 weeks.how to contact you need help on kubernetes.