Deploy Springboot Microservices to Kubernetes Cluster | Full Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024

ความคิดเห็น • 241

  • @DailyCodeBuffer
    @DailyCodeBuffer  3 ปีที่แล้ว +5

    Follow me on Twitter: twitter.com/DailyCodeBuffer

    • @chandrasekhare886
      @chandrasekhare886 2 ปีที่แล้ว +1

      Hi bro,
      pls upload vedio on deploy angular + spring boot + microservices to AWS
      pls bro, i was searching , but not got anywhere. Its really helpful to me as a Aws beginners

    • @mariusradu3849
      @mariusradu3849 2 ปีที่แล้ว

      why would u love your own comment?

    • @trapped-ion
      @trapped-ion ปีที่แล้ว

      ​@@mariusradu3849 Just like an artist can say my best piece of work is this book/song/poem/painting....
      Or, I love and recommend the content on that URL....
      Or...ad infinitum interpretation choices

  • @aniketshinde3073
    @aniketshinde3073 2 ปีที่แล้ว +2

    This is the most underrated channel… Keep it up brother

  • @VISHRUTMAJMUDAR
    @VISHRUTMAJMUDAR 3 ปีที่แล้ว +18

    Nice man... Please plan microservice with saga pattern and elk stack as well...

  • @ashvanivashist1560
    @ashvanivashist1560 3 ปีที่แล้ว +1

    I requested you to continue on deployment part on your last microservices video and here it is..
    You did it.
    Well done!
    Thanks.. 😊

    • @DailyCodeBuffer
      @DailyCodeBuffer  3 ปีที่แล้ว +2

      Hope you enjoy the tutorial 🙏

    • @ashvanivashist1560
      @ashvanivashist1560 3 ปีที่แล้ว

      @@DailyCodeBuffer Yes bro!
      Your content is really nice, it's helping me to build understanding of concepts professionally. 🤗

    • @DailyCodeBuffer
      @DailyCodeBuffer  3 ปีที่แล้ว +2

      You made my day ☺️

  • @vishalchawla3888
    @vishalchawla3888 3 ปีที่แล้ว +10

    Hey Great work,
    Really like the work that you are doing,
    Could you please also include spring security in this MS Architecture , like how MS communicate with each other and how to external client has to authorize , saw many videos on TH-cam but still doubts ,I like the way you explain the things , clearing my all doubts

  • @iamironman1406
    @iamironman1406 5 หลายเดือนก่อน

    Bro going like a news reader, hard to catch up for freshers and all the best

    • @nageshbodapati4473
      @nageshbodapati4473 4 หลายเดือนก่อน +1

      But to cover the complete flow, I think he should be fast.. Otherwise it will come in a 3-4 hr video.. No one will watch..
      But I can understand your problem..

  • @digvijaydesai5525
    @digvijaydesai5525 3 ปีที่แล้ว +1

    underrated... your channel might reach telusko popularity.

    • @DailyCodeBuffer
      @DailyCodeBuffer  3 ปีที่แล้ว

      This means s lot to me. I am a huge fan of Navin Reddy

  • @shivanivishwakarma2350
    @shivanivishwakarma2350 3 ปีที่แล้ว +5

    Your previous video on microservices and this one was the best I found in the internet to understand the complete flow. Thanks alot!! I would request you to please make a video on creating a Jenkins ci-cd pipeline for automating the deployments as well.

    • @DailyCodeBuffer
      @DailyCodeBuffer  3 ปีที่แล้ว +2

      Thank you. I have a video to automate this with Github Actions. If you're interested, you can check that out.

    • @monishbhanushali3214
      @monishbhanushali3214 2 ปีที่แล้ว

      @@DailyCodeBuffer can you please share he video link in which you have done CICD for this K8s cluster

  • @katchapankesavan2303
    @katchapankesavan2303 ปีที่แล้ว +1

    Indeed it was really nice and was very informative. Kudos to your great work and keep it up. Thanks much
    👍👍👍👍👍👍👍

  • @AverageGuy513
    @AverageGuy513 2 ปีที่แล้ว

    Shabbib you are the best. once of the best in the world. I like the pace of your presentation. In less time I can learn more.

  • @cyeluri
    @cyeluri 3 ปีที่แล้ว

    nice short and crisp video we all need to know to start kubernetes ..

  • @amitnawale6662
    @amitnawale6662 2 ปีที่แล้ว

    Very good. You are doing fantastic work by explaining and showing complex topics. Keep it up.

  • @kumarpushkar6621
    @kumarpushkar6621 2 ปีที่แล้ว

    Excellent ! , it is good that you have used the same set of services that helped me to relate.

  • @lakshyajitlaxmikant5827
    @lakshyajitlaxmikant5827 2 ปีที่แล้ว +6

    Great work on the video. Could you also explain how in a typical production environment we would combine spring-cloud-gateway along with K8s ingress controllers?

  • @currentaffairsonair
    @currentaffairsonair ปีที่แล้ว

    You are the best, your tutorials are helpful

  • @saurabh.chatterjee
    @saurabh.chatterjee 3 ปีที่แล้ว

    Awesome video. Thank you so much. I am planning to convert this to helm so that I can deploy with one command.

  • @sreejithar450
    @sreejithar450 3 ปีที่แล้ว

    Awesome. God bless you man. Keep up this great work

  • @yungsyz-4753
    @yungsyz-4753 7 หลายเดือนก่อน

    life saver for real!! thank you very much

  • @10SURA
    @10SURA ปีที่แล้ว +1

    Great effort in making such an informative video. Thank you so much.
    Can you please post a video on how auto-scaling works in k8s?

  • @user-fr8ur3sj8f
    @user-fr8ur3sj8f ปีที่แล้ว +1

    I have one question here, do we really need a service registry like eureka when we deploy our microservices to kubernetes cluster? Since the kubernetes services would be able to route the load among available pods, like for an example Service A wants to communicate with Service B, so In an ideal case we would be registering both the services to a service registry so that communication can happen, but in case of kubernetes we do have kubernetes services, so can't we directly use the service name of microservice B while calling from microservice A and the load will be managed by the kubernetes service itself...

  • @DurgaPrasad-tt6dj
    @DurgaPrasad-tt6dj ปีที่แล้ว

    awesome video...useful to millions of users

  • @ashokkumarjayaraman535
    @ashokkumarjayaraman535 ปีที่แล้ว

    Excellent Course! Thank you !!!

  • @nurlanmrahov198
    @nurlanmrahov198 ปีที่แล้ว

    Your videos are another level

  • @sathishkumarthangavel
    @sathishkumarthangavel 3 ปีที่แล้ว +3

    It is a very informative video.Thank you. In next video, please plan to use the CI/CD and try to deploy in EKS or AKS instead of deploying locally.

  • @bristibhuyan831
    @bristibhuyan831 ปีที่แล้ว

    I appreciate your work and efforts 🙏

  • @Runa_Nura
    @Runa_Nura 3 ปีที่แล้ว +4

    Mr please make a video for CI / CD

  • @govardhanp5209
    @govardhanp5209 ปีที่แล้ว +1

    You have very good knowledge in java and you are doing a great job for us. Just one suggestion from the end I feel your explanation is too fast. If possible please explain slowly

  • @technicalpoint3457
    @technicalpoint3457 2 ปีที่แล้ว +1

    very nice tutorial

  • @manishagarwal6134
    @manishagarwal6134 3 ปีที่แล้ว +1

    Great one brother.. Can you make one video with spring security enables for these microservices.. Along with kafka communation between services.. Like a complete ecommerce application

  • @jayaprakashdeav
    @jayaprakashdeav 2 ปีที่แล้ว

    Grate effort and nice explanation.!

  • @FBHKHAN
    @FBHKHAN 3 ปีที่แล้ว +1

    Great job man! Love your videos. Keep up the good work. Please make a video on deploying kafka cluster to kubernetes and connecting a spring boot producer and consumer to it

    • @sakshibajpai6233
      @sakshibajpai6233 3 ปีที่แล้ว

      have you know how to run axon server in docker and kubernetes

  • @evgenykuznetsov7490
    @evgenykuznetsov7490 2 ปีที่แล้ว

    great explanation, thank You!

  • @pezhman2652
    @pezhman2652 2 ปีที่แล้ว

    احسنتم یا اخی

  • @tulikasrivastava6776
    @tulikasrivastava6776 3 ปีที่แล้ว

    Very helpful video..thanks !

  • @nagvraj7859
    @nagvraj7859 2 ปีที่แล้ว

    Appreciate your hard work bro..👍

  • @mailtomumtaz
    @mailtomumtaz 3 ปีที่แล้ว

    Thats superb tutorial, thanks alot

  • @nageshbodapati4473
    @nageshbodapati4473 4 หลายเดือนก่อน

    Simply awesome

  • @mdmansoor16
    @mdmansoor16 3 ปีที่แล้ว +1

    Hi Shabbir , i have query here that what is the purpose of K8 service here , since load balancing of service and department service is going to take care by service registry which is going to provide URL. but service of particular resource I find its not used . correct me if I'm wrong

  • @jorgejimenez7217
    @jorgejimenez7217 3 ปีที่แล้ว

    Excellent my friend!!

  • @user-os1tb4rr2v
    @user-os1tb4rr2v 8 หลายเดือนก่อน

    Amazing video. I have been learning a lot from your channel.
    I have one question if anyone could answer:
    - If I understood correctly, we made the cloud-gateway service port type as : load balancer so that it can communicate externally. In that case why do we need port forwarding?
    Thanks a lot. Keep it up

  • @gayanchandanakumara2865
    @gayanchandanakumara2865 2 ปีที่แล้ว

    excellent explained !

  • @arunbhati101
    @arunbhati101 3 ปีที่แล้ว

    Very well explained 👏

  • @nigelmaddocks2689
    @nigelmaddocks2689 3 ปีที่แล้ว +1

    When you scaled up the user-service pod to 3, I was getting OOMKilled errors. Adding memory on start solved this:
    minikube start --memory 3072

  • @mayurikarjol2757
    @mayurikarjol2757 ปีที่แล้ว

    Great Content!

  • @aronk2676
    @aronk2676 2 ปีที่แล้ว +1

    Great videos! For the microservices app that you have built, could you please add Spring Cloud Security with Oauth2 and show us different ways to secure microservices? Thank you.

  • @harshkhandelwal2818
    @harshkhandelwal2818 3 ปีที่แล้ว

    Dude loved your content, please make a video on Spring basics, IOC, Dependency Injection, etc.

  • @rajay2r
    @rajay2r 3 ปีที่แล้ว +2

    Kubernetes provides its own DNS/Service discovery mechanism, my view is we don't need Eureka Server. We can achieve things using Kubernetes Service discovery.

    • @DailyCodeBuffer
      @DailyCodeBuffer  3 ปีที่แล้ว +3

      Yes, we can go with that approach as well. I am planning a video for the same

    • @rajay2r
      @rajay2r 3 ปีที่แล้ว

      @@DailyCodeBuffer Great - Your videos are good and refreshing. Also, pls include configuring an external database and Persistent Volumes.

    • @ranganathds
      @ranganathds 2 ปีที่แล้ว

      @@DailyCodeBuffer Please do share the video if its done

  • @talentmania2600
    @talentmania2600 2 ปีที่แล้ว

    Very nice.great effort..

  • @thetechthirsty713
    @thetechthirsty713 3 ปีที่แล้ว +1

    Great video as always. One request can you please make a video on how to prevent cross site scripting attack and sql injection on spring boot?

  • @nabarunchakraborty2186
    @nabarunchakraborty2186 ปีที่แล้ว

    Here why for user n department ...service component has been created ....in this case the API gateway discovers the pod ip directly from eureka and hits the pod ip url directly ...then what's the use of the 2 service components

  • @sadashivudubalabhadra4186
    @sadashivudubalabhadra4186 3 ปีที่แล้ว +1

    Plz do full video on docker

  • @sathavahana5587
    @sathavahana5587 ปีที่แล้ว +1

    This 1 Hour content is equals to 2.5 months of training

  • @zenhsuld
    @zenhsuld 3 ปีที่แล้ว +1

    Super. Thank u

  • @limeshachathurika2913
    @limeshachathurika2913 11 หลายเดือนก่อน

    Hi, Great videos!, learn a lot. if you can could you please do a complete session about how to create CI CD Pipeline to deploy to Azure Kubernetes (AKS) from Azure DevOps with Azure Pipelines. Thanks a lot for your great service to us

  • @Neha8211
    @Neha8211 2 ปีที่แล้ว +2

    As Hystrix dependency is no longer be managed by spring-cloud-release, can you provide another video for its alternative?

  • @hemkantgangurde8071
    @hemkantgangurde8071 2 ปีที่แล้ว

    This is really awesome!! request you to create this using jenkins pipeling if possible

    • @DailyCodeBuffer
      @DailyCodeBuffer  2 ปีที่แล้ว

      Sure, thanks
      I have created using Github Actions, you can check till then

  • @nghebao21
    @nghebao21 ปีที่แล้ว

    Awesome

  • @kavatirajkumar3325
    @kavatirajkumar3325 3 ปีที่แล้ว

    Tq very nice tutorial 😊

  • @bhanuprasadambala3456
    @bhanuprasadambala3456 2 ปีที่แล้ว

    Lot of thanks

  • @hidaya1538
    @hidaya1538 ปีที่แล้ว

    Thank's a lot

  • @piyushtyagi7653
    @piyushtyagi7653 ปีที่แล้ว +1

    From where is the ${HOSTNAME} receiving its value?

  • @yogendrakumarpatel4524
    @yogendrakumarpatel4524 หลายเดือนก่อน

    You have not created database image and pushed to docker hub then on deploying code how spring boot application connects to database.

  • @vivekkeshri5266
    @vivekkeshri5266 3 ปีที่แล้ว

    really great and very informative, best way to learn is learn by doing, I was thinking that learning basics of docker and kuberneties will take atleast 20-30 days but with your tutorials I got that within a week, kudos for that, keep it up.
    Q :- any specific reason to use VS code editor for creating yml file?
    I guess we can use any ide for same? dont we have k8s plugin for intelliJ?

  • @abdulraoof7297
    @abdulraoof7297 ปีที่แล้ว

    I have deployed microservice on k8s and i want to login from front-end service it gives error in gateway-service that Unkown host exception authentication-service.I am using service type Load Balancer for all microservices.

  • @SHIRANSARUSI
    @SHIRANSARUSI 2 ปีที่แล้ว

    Can you explain why did you use service-registry when using Kubernetes? doesn't Kubernetes supply this?

  • @KenseiFeitan
    @KenseiFeitan 2 ปีที่แล้ว +1

    Please make a video how to deploy springboot microservices on jenkins and sonarqube

  • @tonyl4839
    @tonyl4839 2 ปีที่แล้ว

    Good Stuff !! Keep Going and produce productive content
    Question: Why do we have TWO service manifests? A Headless Service and another with type=NodePort and name=eureka-lb

  • @rishabhjoshi3092
    @rishabhjoshi3092 3 ปีที่แล้ว +1

    Spring+FrontEnd+krakend+kafka also one project if you can do will be great

  • @Ezxziose4
    @Ezxziose4 ปีที่แล้ว

    Amazing - glad I ran into this while looking for spring+k8s.
    @10:54 you said "if you have seen my earlier videos..." - Could you please provide that link?
    Thanks for great work!

  • @funnnyyi
    @funnnyyi 4 หลายเดือนก่อน

    Jem like content wonderfull

  • @Wegetowaly
    @Wegetowaly 2 ปีที่แล้ว

    At 23:05 you use property HOSTNAME. Where is this property gotten from?

  • @iamironman1406
    @iamironman1406 5 หลายเดือนก่อน

    Please let us know the tool u r using to view those pom.xml files so that we can follow exactly.

  • @farhanshaikh7576
    @farhanshaikh7576 2 ปีที่แล้ว +1

    Bro can you also make a video in the similar fashion but in which the frontend should be angular and the backend should be springboot and everything else should be the same.

  • @swapankumarsoren2356
    @swapankumarsoren2356 3 ปีที่แล้ว

    just awesome

  • @muhammedashraf1782
    @muhammedashraf1782 2 ปีที่แล้ว +1

    Hi I have followed the steps as explained by you. my cloud gateway pod is crashing i.e crashloopbackoff . when I see the logs getting this error "com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure".
    KIndly help me.

  • @divyanshsharma4423
    @divyanshsharma4423 5 หลายเดือนก่อน

    Where to add the settings.xml file? And do we need to add it for each service and if yes then at what location?

  • @KenseiFeitan
    @KenseiFeitan 2 ปีที่แล้ว

    Where did you put the settings.xml file
    I cannot see it on your repo
    I have a problem in dockerfile:push I always get an error of access denied

  • @domenicoiorio9027
    @domenicoiorio9027 2 ปีที่แล้ว

    Great video! I have a question: do i have to change ip addresses in gateway configuration for example when i'm deploying the application on kubernetes?

  • @SwatiKulkarni-iy9my
    @SwatiKulkarni-iy9my 3 ปีที่แล้ว +1

    Hi daily code buffer,
    your videos are awesome
    they are short and crisp and contains enough information.👍🏼
    I just one question, in real time projects when we want to store any secrets or passwords in kubernetes secrets, where exactly the value will be stored so that once the service is deployed it can pickup the value and run the application.
    Ex: database password or client secrets etc...

    • @DailyCodeBuffer
      @DailyCodeBuffer  3 ปีที่แล้ว +2

      K8s has secret component, you can create secret to store the password and then you need to use that secret to pass the value in your deployments

  • @business5324
    @business5324 2 ปีที่แล้ว

    I got error , plz help me, my eureka server container is running okay, but when i run its client container it says, "There was a problem with the instance info replicator", I searched everywhere but no use.

  • @user-gn7du2nl5n
    @user-gn7du2nl5n 10 หลายเดือนก่อน

    What is the reason for getting an error for the user-service when we have 3 replicas

  • @sriganeshsharma4946
    @sriganeshsharma4946 2 ปีที่แล้ว

    any video on jaeger implementation for spring boot application in EKS 🙂

  • @balasubramaniamp1058
    @balasubramaniamp1058 3 ปีที่แล้ว

    Awesome 😀. Why do we need port forwarding? You have already deployed all services in kubernates cluster rite? Please clarify.

  • @omarakki705
    @omarakki705 2 ปีที่แล้ว

    thank you

  • @Capacity_Football
    @Capacity_Football 3 ปีที่แล้ว

    Thanks men

  • @SagarPatil-pz7in
    @SagarPatil-pz7in 2 ปีที่แล้ว

    Very nice informative video.
    Question : If I want same microsevice setup on cloud e.g. GCP. and want to test it externally using apis. Do I need to setup gcp cluster for it ? How do deploy same application over cloud ? Any ref ?

  • @karimhmedi8024
    @karimhmedi8024 2 ปีที่แล้ว

    greate video, please have you a tutorial how we can deploy it on GKE or AWS ?

  • @sunilmore8272
    @sunilmore8272 2 ปีที่แล้ว

    Over Here😊

  • @sajistube
    @sajistube ปีที่แล้ว

    Great work man! Keep Inspire!
    This is what exactly, I was looking for.
    You applied all the yam files together with a simple command.
    My question is, How the kubectl will organize all the files and apply based on dependancy.
    Am not sure whether it is a right approach or not.
    Like, let say if I have a seperate config-map yml for all the services, how the kubectl will organize the process of applying it.
    But in your case, you are keeping the config map in their respective yml, so such a conflict will not occur.
    Thank you.

  • @ItachiUchiha-fo9zg
    @ItachiUchiha-fo9zg 2 ปีที่แล้ว +1

    we had 2 services for eureka service registry instance..... 1 is headless where everything is hardcoded inorder for other services to register and fetch the details and other nodePort is for us to access it externally...i.e., while we port forwarded it...is this assumption correct?

    • @millerzhou4259
      @millerzhou4259 7 หลายเดือนก่อน

      hi, there. I have the same question with you. Do you have some idea now?

  • @rajp5260
    @rajp5260 2 ปีที่แล้ว

    Please do video on camel k and quarks Kubernetes

  • @BhaumikThakkar777
    @BhaumikThakkar777 ปีที่แล้ว

    Hi, It was a really good tutorial. I have one question related to Circuit breaker that what is the difference between implementing it at Gateway level and at service level, is there any specific purpose for that(because I have implemented at both level but gateway level is getting overridden)
    Thanks!

  • @resam32
    @resam32 ปีที่แล้ว

    Which plugin do you use to autocomplete yml configuration properties? Will it work on intelliJ CE?

  • @im2crazyin
    @im2crazyin ปีที่แล้ว

    if we have to run zipkin server then We just make use of its docker image and expose through clusterIP service. is that correct

  • @ayyappag7097
    @ayyappag7097 2 ปีที่แล้ว

    I am getting this error : Could not push image: denied: requested access to the resource is denied + springboot
    how to resolve this

  • @ayanbasu2008
    @ayanbasu2008 3 ปีที่แล้ว

    Awesome video. Can u please add a video on 'Distributed transaction in microservices' ..

  • @isaacambi1914
    @isaacambi1914 7 หลายเดือนก่อน

    He kept mentioning "earlier video", where is it, I can't find it.

  • @norulshahlamjohn1140
    @norulshahlamjohn1140 ปีที่แล้ว

    is this within the scope of java developer? looks like mostly config yaml file and cli

  • @jorgealejo8034
    @jorgealejo8034 2 ปีที่แล้ว

    Hello there

    Sorry for the inconvenience, but I have the following problem when making a request to any enpoint of my microservices, the microservices are routed through the spring cloud gateway and balanced by Eureka.

    I do not know why the error is due, I would appreciate your help.

    Greetings

  • @nitishvk8598
    @nitishvk8598 3 ปีที่แล้ว

    SUPERB..