Deploy Springboot Microservices to Kubernetes Cluster | Full Example

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 241

  • @DailyCodeBuffer
    @DailyCodeBuffer  Před 3 lety +5

    Follow me on Twitter: twitter.com/DailyCodeBuffer

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

      why would u love your own comment?

    • @trapped-ion
      @trapped-ion Před rokem

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

    This is the most underrated channel… Keep it up brother

  • @iamironman1406
    @iamironman1406 Před 5 měsíci

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

    • @nageshbodapati4473
      @nageshbodapati4473 Před 4 měsíci +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..

  • @ashvanivashist1560
    @ashvanivashist1560 Před 3 lety +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  Před 3 lety +2

      Hope you enjoy the tutorial 🙏

    • @ashvanivashist1560
      @ashvanivashist1560 Před 3 lety

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

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

      You made my day ☺️

  • @VISHRUTMAJMUDAR
    @VISHRUTMAJMUDAR Před 3 lety +18

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

  • @digvijaydesai5525
    @digvijaydesai5525 Před 3 lety +1

    underrated... your channel might reach telusko popularity.

    • @DailyCodeBuffer
      @DailyCodeBuffer  Před 3 lety

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

  • @AverageGuy513
    @AverageGuy513 Před 2 lety

    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.

  • @shivanivishwakarma2350
    @shivanivishwakarma2350 Před 3 lety +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  Před 3 lety +2

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

    • @monishbhanushali3214
      @monishbhanushali3214 Před 2 lety

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

  • @vishalchawla3888
    @vishalchawla3888 Před 3 lety +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 CZcams but still doubts ,I like the way you explain the things , clearing my all doubts

  • @katchapankesavan2303
    @katchapankesavan2303 Před rokem +1

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

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

  • @lakshyajitlaxmikant5827
    @lakshyajitlaxmikant5827 Před 2 lety +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?

  • @cyeluri
    @cyeluri Před 3 lety

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

  • @amitnawale6662
    @amitnawale6662 Před 2 lety

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

  • @user-fr8ur3sj8f
    @user-fr8ur3sj8f Před rokem +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...

  • @sathishkumarthangavel
    @sathishkumarthangavel Před 3 lety +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.

  • @10SURA
    @10SURA Před rokem +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-os1tb4rr2v
    @user-os1tb4rr2v Před 8 měsíci

    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

  • @manishagarwal6134
    @manishagarwal6134 Před 3 lety +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

  • @Runa_Nura
    @Runa_Nura Před 3 lety +4

    Mr please make a video for CI / CD

  • @kumarpushkar6621
    @kumarpushkar6621 Před 2 lety

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

  • @DurgaPrasad-tt6dj
    @DurgaPrasad-tt6dj Před rokem

    awesome video...useful to millions of users

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

    very nice tutorial

  • @currentaffairsonair
    @currentaffairsonair Před rokem

    You are the best, your tutorials are helpful

  • @nurlanmrahov198
    @nurlanmrahov198 Před rokem

    Your videos are another level

  • @saurabh.chatterjee
    @saurabh.chatterjee Před 3 lety

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

  • @FBHKHAN
    @FBHKHAN Před 3 lety +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 Před 3 lety

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

  • @yungsyz-4753
    @yungsyz-4753 Před 7 měsíci

    life saver for real!! thank you very much

  • @bristibhuyan831
    @bristibhuyan831 Před rokem

    I appreciate your work and efforts 🙏

  • @ashokkumarjayaraman535

    Excellent Course! Thank you !!!

  • @sreejithar450
    @sreejithar450 Před 3 lety

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

  • @mdmansoor16
    @mdmansoor16 Před 3 lety +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

  • @jayaprakashdeav
    @jayaprakashdeav Před 2 lety

    Grate effort and nice explanation.!

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

  • @vivekkeshri5266
    @vivekkeshri5266 Před 3 lety

    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?

  • @thetechthirsty713
    @thetechthirsty713 Před 3 lety +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?

  • @harshkhandelwal2818
    @harshkhandelwal2818 Před 3 lety

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

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

    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

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

    Simply awesome

  • @sathavahana5587
    @sathavahana5587 Před rokem +1

    This 1 Hour content is equals to 2.5 months of training

  • @tulikasrivastava6776
    @tulikasrivastava6776 Před 3 lety

    Very helpful video..thanks !

  • @tonyl4839
    @tonyl4839 Před 2 lety

    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

  • @rajay2r
    @rajay2r Před 3 lety +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  Před 3 lety +3

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

    • @rajay2r
      @rajay2r Před 3 lety

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

    • @ranganathds
      @ranganathds Před 2 lety

      @@DailyCodeBuffer Please do share the video if its done

  • @pezhman2652
    @pezhman2652 Před 2 lety

    احسنتم یا اخی

  • @nagvraj7859
    @nagvraj7859 Před 2 lety

    Appreciate your hard work bro..👍

  • @evgenykuznetsov7490
    @evgenykuznetsov7490 Před 2 lety

    great explanation, thank You!

  • @nigelmaddocks2689
    @nigelmaddocks2689 Před 3 lety +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

  • @SwatiKulkarni-iy9my
    @SwatiKulkarni-iy9my Před 3 lety +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  Před 3 lety +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

  • @Ezxziose4
    @Ezxziose4 Před rokem

    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!

  • @mailtomumtaz
    @mailtomumtaz Před 3 lety

    Thats superb tutorial, thanks alot

  • @hemkantgangurde8071
    @hemkantgangurde8071 Před 2 lety

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

    • @DailyCodeBuffer
      @DailyCodeBuffer  Před 2 lety

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

  • @jorgejimenez7217
    @jorgejimenez7217 Před 3 lety

    Excellent my friend!!

  • @sajistube
    @sajistube Před rokem

    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.

  • @gayanchandanakumara2865

    excellent explained !

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

    Plz do full video on docker

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

  • @mayurikarjol2757
    @mayurikarjol2757 Před rokem

    Great Content!

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

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

  • @kamleshgorasiya3854
    @kamleshgorasiya3854 Před 3 lety

    At least tell which plugin you use to build the docker images... The learners are not here to see how fast you work. they are here to clear their fundament and concept regarding a particular subject.
    Updates: You are doing this job very well. I have jumped on between the video that why misjudged your efforts. I am really sorry

    • @DailyCodeBuffer
      @DailyCodeBuffer  Před 3 lety +1

      Thank you so much for your feedback. I will take care of your suggestions and will try my best to implement.
      Really Appreciate 🙏

    • @kamleshgorasiya3854
      @kamleshgorasiya3854 Před 3 lety

      @@DailyCodeBuffer I really appreciate your efforts but I have given the suggestion of what I personally feel. as I have to see that part two or three times where you copy the code in pom.xml to know that which plugins actually you use for building the images.

    • @DailyCodeBuffer
      @DailyCodeBuffer  Před 3 lety

      I have created the seperate video on that particular topic for using that plugin.
      But, yes your feedback is what i will work on to improve.
      Thanks buddy

  • @arunbhati101
    @arunbhati101 Před 3 lety

    Very well explained 👏

  • @talentmania2600
    @talentmania2600 Před 2 lety

    Very nice.great effort..

  • @balasubramaniamp1058
    @balasubramaniamp1058 Před 3 lety

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

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

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

  • @piyushtyagi7653
    @piyushtyagi7653 Před rokem +1

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

  • @SHIRANSARUSI
    @SHIRANSARUSI Před 2 lety

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

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

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

  • @karimhmedi8024
    @karimhmedi8024 Před 2 lety

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

  • @SagarPatil-pz7in
    @SagarPatil-pz7in Před 2 lety

    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 ?

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

    First of all, thank you very much for your tutorials! They are amazing man! I have one question, in your previous tutorial we created the config server to store the eureka properties which are the same for all microservices. Now we adding them again for each microservice instead of using the config server, can't we just change the eureka client settings on the application.yml located on git?

    • @brijgarg
      @brijgarg Před 3 lety +1

      I just finished watching both videos and that's the same question I had.

  • @hidaya1538
    @hidaya1538 Před rokem

    Thank's a lot

  • @funnnyyi
    @funnnyyi Před 5 měsíci

    Jem like content wonderfull

  • @domenicoiorio9027
    @domenicoiorio9027 Před 2 lety

    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?

  • @BhaumikThakkar777
    @BhaumikThakkar777 Před rokem

    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!

  • @zenhsuld
    @zenhsuld Před 3 lety +1

    Super. Thank u

  • @nghebao21
    @nghebao21 Před rokem

    Awesome

  • @kavatirajkumar3325
    @kavatirajkumar3325 Před 3 lety

    Tq very nice tutorial 😊

  • @Wegetowaly
    @Wegetowaly Před 2 lety

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

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

  • @ItachiUchiha-fo9zg
    @ItachiUchiha-fo9zg Před 2 lety +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 Před 7 měsíci

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

  • @rishabhjoshi3092
    @rishabhjoshi3092 Před 3 lety +1

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

  • @abdulraoof7297
    @abdulraoof7297 Před rokem

    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.

  • @bhanuprasadambala3456
    @bhanuprasadambala3456 Před 2 lety

    Lot of thanks

  • @resam32
    @resam32 Před rokem

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

  • @sunilmore8272
    @sunilmore8272 Před 2 lety

    Over Here😊

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

    great work done ,Thank You from where you get so much of knowlede ?

  • @KenseiFeitan
    @KenseiFeitan Před 2 lety

    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

  • @iamironman1406
    @iamironman1406 Před 5 měsíci

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

  • @user-gn7du2nl5n
    @user-gn7du2nl5n Před 10 měsíci

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

  • @jorgealejo8034
    @jorgealejo8034 Před 2 lety

    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

  • @business5324
    @business5324 Před 2 lety

    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.

  • @divyanshsharma4423
    @divyanshsharma4423 Před 5 měsíci

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

  • @sumitshingari9725
    @sumitshingari9725 Před 3 lety +1

    hi,
    I am facing one issue in this lecture implementation. After port forwarding the eureka-lb only user service is visible as registered.
    Can you help on this.

    • @DailyCodeBuffer
      @DailyCodeBuffer  Před 3 lety

      Is it possible to share screenshot

    • @sumitshingari9725
      @sumitshingari9725 Před 3 lety

      Hi,
      I just rechecked my code, I have done some typo mistake in default zone for eureka service.
      Now things are working, sorry for bothering you.

  • @ankukoul07
    @ankukoul07 Před 2 lety

    Nicely Explained..Can you pls make a video to deploy this on Amazon EKS..??

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

      I will plan for EKS, meanwhile there is a video to deploy on GKS with Github actions.
      You can check that out on the channel

  • @sriganeshsharma4946
    @sriganeshsharma4946 Před 2 lety

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

  • @ayanbasu2008
    @ayanbasu2008 Před 3 lety

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

  • @farhanshaikh7576
    @farhanshaikh7576 Před 2 lety

    Can we use the same things showed in the video if our frontend is angular and backend is springboot....
    If yes then how can we do that..??

  • @omarakki705
    @omarakki705 Před 2 lety

    thank you

  • @swapankumarsoren2356
    @swapankumarsoren2356 Před 3 lety

    just awesome

  • @norulshahlamjohn1140
    @norulshahlamjohn1140 Před rokem

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