Kubernetes Tutorial | Run & Deploy Spring Boot Application in K8s Cluster using yaml configuration

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 150

  • @sureshpal5569
    @sureshpal5569 Год назад +6

    Your videos are really helpful becuase you are displaying every steps one by one systematilly ,Hats Off

  • @surajchavan1000
    @surajchavan1000 8 месяцев назад +1

    Very Informative! Easy to understand, Thank you so much 🙏🏻

  • @PramodKumar-hu7mt
    @PramodKumar-hu7mt 2 года назад +5

    Thanks bro..No one makes videos as simple as yours.

  • @AndyRodriguezJimenez047
    @AndyRodriguezJimenez047 2 года назад +2

    Great my friend. From Dominican Republic.

  • @karthikkombrenjekumaraswam907
    @karthikkombrenjekumaraswam907 2 месяца назад +1

    For those using untuntu or if u r facing issue saying failed to pull an inage while creating deployement. Then please push img to docker hub and then create the deployment . It will work

  • @tendainmupezeni5157
    @tendainmupezeni5157 2 месяца назад

    eloquent explanation and illustrations

  • @sharmarahul17
    @sharmarahul17 2 месяца назад +1

    Great explanation. Thank you!

  • @dayiongchauoi7023
    @dayiongchauoi7023 Год назад +2

    thanks sir, it helps me a lot, wonderful

  • @stephenunsure2943
    @stephenunsure2943 Год назад +1

    Thanks for the video, really useful.

  • @shambhunathsahani6505
    @shambhunathsahani6505 Год назад +2

    Great explained Thanks

  • @sraynitjsr
    @sraynitjsr Год назад +2

    Just Awesome.

  • @shivamsinghal7513
    @shivamsinghal7513 2 года назад +2

    Hello sir, you are doing a wonderful job. Kindly create a video on how to deploy springboot application using helm using eks. Thanks 😊

  • @anil0407
    @anil0407 4 дня назад

    to get the url of the of the application we used kubectl get service. From this we know ip and port to access our application . Instead can we use minikube service --url . If so what is the difference between two ways.

  • @nishantlakhara4127
    @nishantlakhara4127 Год назад +1

    Very good content sir

  • @AhmetBurakAkay
    @AhmetBurakAkay Год назад +1

    Thank you very much.

  • @thomascrowther166
    @thomascrowther166 День назад

    hi great video but when i try to brew install hypervisor I get back that it is no longer supported, so I run my minikube in docker which gives of some warnings about drivers but runs anyway. Then I am able to follow all other steps quite happily until I run "minikube ip" and I see the ip address is not an external one or atleast it is very different to yours. Yours comes up 192.168... where as mine comes up 10.0... and then when i visit the ip address followed by the port I just get a spinning wheel and it fails to load. Is hypervisor essential for this method to work on a mac?

  • @jatinsharma3792
    @jatinsharma3792 10 месяцев назад +1

    You are beautiful person. I love your content.

  • @marvgmvocetubo
    @marvgmvocetubo 2 года назад +4

    Hi, thanks for the video. Great content. I would like to know how to connect the spring boot application with a local mysql image container using minikube. Do you intend to show?

    • @Javatechie
      @Javatechie  2 года назад +1

      Yes that will be next video .

  • @nischaljadhav8395
    @nischaljadhav8395 6 месяцев назад +1

    Very nice. Thank you : )

  • @anurag-sachan
    @anurag-sachan 2 года назад +2

    great work brother.

  • @amitmalge1707
    @amitmalge1707 2 года назад +1

    Great explained Basant

  • @ganeshraju235
    @ganeshraju235 2 года назад +2

    Thank you so much for your courses. My goto place to learn any new technology. QQ: So which instance did the request go to? Is it random?

    • @Javatechie
      @Javatechie  2 года назад

      Yes it will be decided by k8s based on pods health

  • @saravanprathi6956
    @saravanprathi6956 2 года назад +2

    Thank you so much!!

  • @NamLe-fl4sz
    @NamLe-fl4sz 6 месяцев назад

    From Viet Nam. Thanks

  • @mr.pkumar4849
    @mr.pkumar4849 Год назад +2

    Hi, I have 20 services and already build 20 docker images from each services. Should I create 20 deployment file and 20 services or just 1 deployment file and mention all images, containers name in single deployment.

    • @Javatechie
      @Javatechie  Год назад

      1 file is enough just to change the level

  • @MrAnasSov
    @MrAnasSov 2 года назад +1

    Thank you so much

  • @AshutoshMohanty07
    @AshutoshMohanty07 2 года назад +2

    Great tutorial !

  • @AnandSingh-tm3cd
    @AnandSingh-tm3cd 2 года назад +1

    Great thanks

  • @mutturajdeval4841
    @mutturajdeval4841 2 года назад +1

    Awesome...!

  • @raghuvardhansaripalli9636
    @raghuvardhansaripalli9636 Год назад +1

    Basant, can you make a video on bridge to Kubernetes with single service connecting to multiple Microservices in k8s cluster for debugging using spring boot or vs code
    Thanks god bless you

  • @ks21285
    @ks21285 11 месяцев назад +1

    Thanks

  • @Isranaks
    @Isranaks 7 месяцев назад

    @Javatechie, after deploying sample application not able to access the endpoints from browser. I mean pods are successfully deployed and verified logs as well using minikube dashboard. Using minikubeip+nodeport accessing the service. Looks giving whitelabel spring boot error(ip:port), while appending endpoint its giving 404. Swagger also not able to access.

  • @pratappadhy2005
    @pratappadhy2005 Год назад +1

    Hi Basant
    On MAc while running eval $(minikube docker-env)
    I am getting zsh: bad pattern: ^[[31m
    I tried almost most of the solutions but no luck
    Any pointers to fix this one?

  • @nareshrayabarapu2665
    @nareshrayabarapu2665 2 года назад +1

    Thanks buddy

  • @sachinnag1446
    @sachinnag1446 2 года назад +5

    Hi, thanks for the video. It is really helpful. I have been trying the same in my local machine. But I'm not able access the application using the internal-ip and the port. I can see that Pods are running fine. Please can you help on this.

    • @ashishkiran4325
      @ashishkiran4325 2 года назад

      did u get any solution for this?

    • @Javatechie
      @Javatechie  2 года назад +1

      Both of you Please check the service command which I explained end of this tutorial

    • @ashishkiran4325
      @ashishkiran4325 2 года назад

      @@Javatechie yes followed everything as it is. Created service as well and everything is running fine but not getting output on browser...

    • @shishirkumar6691
      @shishirkumar6691 Год назад

      @@ashishkiran4325 If you are on windows please see my comment, hope this would resolve the issue

    • @talentinfo2795
      @talentinfo2795 Год назад +1

      Hi Guys any luck all the components are working svc and deployments but not able to access the application I am windows User

  • @deepzzzonline
    @deepzzzonline 4 месяца назад

    Can you create a video of spring boot apache kafka appln in kubernetes?

  • @atulgoyal358
    @atulgoyal358 3 месяца назад

    I have done same copy and paste in my system deployment and service, pods created still no able to access page. Pod are running with logs but not able to access page... when I m trying to access nodeip + nodeport then page is not able to access anything.. is there any access permissions need to do

  • @andregoncalves1648
    @andregoncalves1648 2 года назад +1

    Thanks!

  • @shivomkumar628
    @shivomkumar628 Год назад

    how does pods know to contact service ? we didnt provide any configuration for that
    lest just say that you have more than one svc object and one svc object handles backend pods and another svc handles db pods , now how will these svc know to send request to which pod ?

  • @srideepbhat
    @srideepbhat 9 месяцев назад +1

    after service depleoyment nodeip + nodeport address is not reachable.

    • @Javatechie
      @Javatechie  9 месяцев назад

      Generate the service url and access through it .

  • @deepikadurairaj6328
    @deepikadurairaj6328 2 года назад +1

    Thank u...Could u pls provide tutorial on istio configuration as well...thanks in advance...

    • @Javatechie
      @Javatechie  2 года назад +2

      Sure buddy will go one by one

    • @rabindrakumar949
      @rabindrakumar949 2 года назад +1

      Please he is doing everything. Let other guys put something so some mettle.

  • @nirajosh
    @nirajosh 5 месяцев назад +2

    Just a latest update on this video practical. After you deployed services, you need to issue below mentioned command on your Terminal (For Mac) / Command Prompt OR Power Shell (For Windows).
    Command will "minikube service springboot-k8s-svc".
    It will start tunnel for service springboot-k8s-svc and open application URL it on your default configure browser.
    By default it will try to access endpoint as per video mentioned into video, it won't open.
    Once you will run above mentioned command, You will see something similar to below mentioned text into your terminal/command prompt.
    PS C:\NJ\Learning\springboot-k8s-yaml> minikube service springboot-k8s-svc
    |-----------|--------------------|-------------|---------------------------|
    | NAMESPACE | NAME | TARGET PORT | URL |
    |-----------|--------------------|-------------|---------------------------|
    | default | springboot-k8s-svc | 8080 | 192.168.49.2:30816 |
    |-----------|--------------------|-------------|---------------------------|
    * Starting tunnel for service springboot-k8s-svc.
    |-----------|--------------------|-------------|------------------------|
    | NAMESPACE | NAME | TARGET PORT | URL |
    |-----------|--------------------|-------------|------------------------|
    | default | springboot-k8s-svc | | 127.0.0.1:60144 |
    |-----------|--------------------|-------------|------------------------|
    * Opening service default/springboot-k8s-svc in default browser...
    ! Because you are using a Docker driver on windows, the terminal needs to be open to run it.

    • @venkateshgangitla7169
      @venkateshgangitla7169 5 месяцев назад +1

      Thanks a lot, from the last one day I was struggling 😊🙏

  • @MadhurChouhan-z4m
    @MadhurChouhan-z4m 5 месяцев назад +1

    How to use k8s service discovery in micro services architecture pls explain this also

  • @YogeshVerma-iq4xz
    @YogeshVerma-iq4xz 2 года назад +1

    Thanks for this video, I tried to implement but my pod status is always ImagePullBackOff not running , can you plz help how to resolve this issue?,

    • @Javatechie
      @Javatechie  2 года назад +1

      Check docker images whether it is available in container or not , make sure to run
      eval $(minikube docker-env)

  • @krishanarora4607
    @krishanarora4607 2 года назад

    Can you please make a video of Deploying KEYCOAK to Kubernetes via Helm

  • @arunkumargupta2204
    @arunkumargupta2204 7 месяцев назад +1

    Hello Basant I m getting connection rerused from the URL which i got from the -minikube service --url
    Please help

  • @ashiqsahu7838
    @ashiqsahu7838 2 года назад +1

    👍🏻

  • @Isranaks
    @Isranaks 7 месяцев назад +1

    Hello @JavaTechie, while deploying this into minikube spring boot detecting kubernetes profile instead of local or other profiles. How this can be disabled.

    • @Javatechie
      @Javatechie  7 месяцев назад

      Not getting you brother.what profile are you talking about

    • @Isranaks
      @Isranaks 7 месяцев назад

      @@Javatechie spring profile.

    • @Javatechie
      @Javatechie  7 месяцев назад

      Okay so you want to say spring.active profile it's not taking rather it's considering profile from k8s right?

    • @Isranaks
      @Isranaks 7 месяцев назад

      @@Javatechie yes

    • @Javatechie
      @Javatechie  7 месяцев назад

      Okay let me check and update you

  • @parasjain6591
    @parasjain6591 2 года назад +1

    Hello sir,
    Can you please create a video on helm tutorial in kubernates it will help alot

  • @vinodhreddy6227
    @vinodhreddy6227 2 года назад +2

    Cover config map .. can you please interduce 5 services

    • @Javatechie
      @Javatechie  2 года назад

      Vinodh please bare me for next few tutorial as part of spring boot crud example I will also explain how to use config map and secrets as well

  • @kaushik4080
    @kaushik4080 2 года назад +1

    Sir I am not able to find the same image in dockerhub which you used in Dockerfile
    Please let me know where can i find it

    • @Javatechie
      @Javatechie  2 года назад

      What image you are looking for

  • @start1learn-n171
    @start1learn-n171 Год назад +1

    Tq

  • @oshogarg5215
    @oshogarg5215 2 года назад +1

    eval $(minikube docker-env) command does not work in windows cmd... not recognized as an internal or external command . what to do?

  • @NIRAJKUMAR-ji3hl
    @NIRAJKUMAR-ji3hl 2 года назад +1

    Basant..is it possible to demo in windows machine

    • @Javatechie
      @Javatechie  2 года назад

      Yes already did it . please checkout below link
      ruclips.net/video/xhxmExC9N1U/видео.html

  • @amitmalge1707
    @amitmalge1707 2 года назад

    Basant can you guide, how can we handle application logs in docker

    • @amitmalge1707
      @amitmalge1707 2 года назад +1

      Basant Please can you give any suggestion on this.
      Thanks in advance

    • @Javatechie
      @Javatechie  2 года назад +1

      Current we are using splunk and k8s dashboard to check log .I didn't analysis more on it . Will check and update you.

    • @amitmalge1707
      @amitmalge1707 2 года назад +1

      Okay thanks for reply

  • @malanjing3658
    @malanjing3658 2 года назад +2

    Awesome video, but your english amazed me.

    • @Javatechie
      @Javatechie  2 года назад

      Why buddy what happened with it ? 😂

    • @vegito8502
      @vegito8502 Год назад +1

      @@Javatechie exactly

  • @samiamouj
    @samiamouj 11 месяцев назад +1

    hello i can't find the repository target or le the file
    target/springboot-k8s-demo.jar

  • @rushikeswararaopolaki3602
    @rushikeswararaopolaki3602 10 месяцев назад

    This site can’t be reached and empty page after following all the steps. pls help me how to resolve

    • @faixan13
      @faixan13 7 месяцев назад

      getting same, did you able to resolve it ?

    • @Javatechie
      @Javatechie  7 месяцев назад

      Please try accessing the minikube ip but before that check the health and app startup log of your pods .

    • @faixan13
      @faixan13 7 месяцев назад

      @@Javatechie all good, but still somehow not able to call my api. everything is working fine as expected,pods service deployment dashboard. but the call to api or even the host:port not working

    • @Javatechie
      @Javatechie  7 месяцев назад

      @@faixan13 please share your code in GitHub and just a quick ask what OS are you using?

  • @foddiebyage9696
    @foddiebyage9696 2 года назад +1

    Why not. To make a real. Time project on sprint boot microservices

    • @Javatechie
      @Javatechie  2 года назад +1

      Everyone don't know kuhernetes basics stuff please bare with me for few more tutorial.

    • @foddiebyage9696
      @foddiebyage9696 2 года назад +2

      @@Javatechie it's okk sir u r the best, but really high demand of good real time microservices projects to learn on such platform

    • @Javatechie
      @Javatechie  2 года назад

      Prashar can you please checkout my microservice playlist once .

  • @plasma4128
    @plasma4128 11 месяцев назад

    docker build failes, any idea?

  • @c00per_
    @c00per_ Год назад

    Bro how to deploy this on google kubernetes engine

  • @HDGlazaa
    @HDGlazaa 2 года назад +1

    how to run with active profile?

    • @Javatechie
      @Javatechie  2 года назад

      You need to create a file specific to the environment

  • @eugostodetortas49
    @eugostodetortas49 2 года назад +1

    hello can you put subtitle on your videos?

  • @shanmugasundaram8828
    @shanmugasundaram8828 Год назад

    eval command is not working in windows

  • @rollinOnCode
    @rollinOnCode 2 года назад +1

    the font is too small to read

    • @Javatechie
      @Javatechie  2 года назад

      For now Please increase on your machine.going forward I will take care this

  • @michaelarnold2024
    @michaelarnold2024 Год назад

    This doesn't work anymore

    • @Javatechie
      @Javatechie  Год назад

      Why what is the problem Michael

    • @michaelarnold2024
      @michaelarnold2024 Год назад +1

      @@Javatechie
      I am using Windows operating system, at 17:44, when I tried that url with my custom endpoint, it didn't work, probably because it was using the internal url?
      When I tried the command minikube service [serviceName], it worked, but it was probably using the external url

    • @pleasantcolours1031
      @pleasantcolours1031 Год назад +1

      @Javatechie yes buddy, have also faced the same in windows, minikube service (service name) worked actually.

  • @xkxkxxkxkx5165
    @xkxkxxkxkx5165 3 месяца назад

    bro please learnt o speak english i barely understood 1 fucking word

  • @yatri6329
    @yatri6329 Год назад +4

    minikube service spring-boot-k8s --url, I use this command to get url and got the response. but ur mentioned command in this vide does't work. Where i am wrong

    • @Javatechie
      @Javatechie  Год назад

      No buddy whatever url minikube service will suggest use that

    • @yatri6329
      @yatri6329 Год назад +1

      @@Javatechie I did the same as u shown in this video but I was not able to get response. But with the command u mentioned in ur previous video that worked here. I use that command got the direct url and & response as well

    • @Javatechie
      @Javatechie  Год назад

      Are you trying in windows?

    • @yatri6329
      @yatri6329 Год назад +1

      @@Javatechie yes

    • @Javatechie
      @Javatechie  Год назад +1

      That's what the problem is buddy. Even I am not sure about this bearded behaviour

  • @kaushlendrakaushal8729
    @kaushlendrakaushal8729 2 года назад +1

    Thanks!

    • @kaushlendrakaushal8729
      @kaushlendrakaushal8729 2 года назад +1

      Awesome...Sir
      Can you plz help ?why I am not able get the response on browser ?
      my application is running fine

    • @Javatechie
      @Javatechie  2 года назад

      Is there any error

    • @kaushlendrakaushal8729
      @kaushlendrakaushal8729 2 года назад +1

      @@Javatechie no..it all fine

    • @Javatechie
      @Javatechie  2 года назад

      Are you trying in Linux or windows

    • @kaushlendrakaushal8729
      @kaushlendrakaushal8729 2 года назад +1

      @@Javatechie Window..sir
      previous lab was executed fine..no issue
      I think I have do again from scrach