Build and Deploy a Spring Boot App on Kubernetes | spring Boot Docker Kubernetes

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

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

  • @DhakaToDC
    @DhakaToDC 4 ปีที่แล้ว +7

    My two weeks of learning in a single video. Great work. Keep doing good work.

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

    great video !!! it makes my day , thanks for the content ,looking forward to see more content like this

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

    My week effort you shown in single video bro, really great work and very easy way. Please keep up posting multiple video same like this

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

    Excellent Sir, thanks for sharing your knowledge

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

    Hi. Thanks for the video. Why in the last access from the browser you use 172.17.0.2 and in the CLUSTER:IP in 24:29 is shown 10.96.102.130?

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

      You can call your service by using the below command.
      Minikube service springboot-k8s
      The above command will start our application on our default browser with :
      172.17.02:30163
      ClusterIP:
      A clusterIP service is the default Kubernetes service.
      We have one Service called springboot-k8s, of type NodePort, which is available at the cluster-internal IP 10.96.102.130 and there is no external access for cluster-ip.

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

    It helped me alot. Thank you!

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

    Great video. Thanks!

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

    don't we need to install Matrix server for HPA to work? you missed that detail in video, i guess

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

    I'm cloning from your git repo and deployed your springboot-kubernetes application.
    When I'm trying to build docker image, I have get one error like
    Step 2/3 : add target/springboot-example.jar app.jar
    Add failed: file not found in build context or excluded by .dockerignore: stat target/spring boot-example.jar: file does not exist

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

    Hi, thanks for this wonderful video. My application is not working in the browser though my pod is in running state. I gave node up with pod port number. I’m working in azure Ubuntu. Any firewalls I need to enable?

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

    its awesome bro

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

    Bro we installed minikube using VirtualBox so how we can deploy image without push dockerhub? Our local image coud't access minikube?Is it possible in make it as same network?

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

      You can run the below command before creating an image
      eval $(minikube docker-env)

    • @sujithg5873
      @sujithg5873 4 ปีที่แล้ว

      @@technotowntechie9732 oooo Thanks broi. I saw in video that command but i am not tried.Thanks Broi.Your videos lots of help me to improve my docker and kubernates knowldge.

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

    Hi! Do you have a video about MySQL in k8s? I want to use it but I don't know who.

    • @technotowntechie9732
      @technotowntechie9732  4 ปีที่แล้ว

      I will try to post next video on MySQL in k8s and let you know

    • @leventefarkas8256
      @leventefarkas8256 4 ปีที่แล้ว

      @@technotowntechie9732 Thank you!

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

      Please find the below video URL link for building and deploying spring boot application with MYSQL on a Kubernetes cluster
      th-cam.com/video/6OJgD_RygiM/w-d-xo.html

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

    Could you please give in depth training by arranging group for the learners , can pay and join the course.

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

    Bro i tried the same my docker image name is springboot-docker
    kubectl run springboot-docker_1 --image=springboot-docker:0.0.1 --port=8080 --image-pull-policy=Never
    I run this script, Response showing pod/springboot-docker-1 created
    But i checked kubectl get deployments but its not showing. Any idea?
    Could you please he to fix this?

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

      You can debug the deployments, pods and events by using the below commands
      kubectl describe deployments
      kubectl get pods
      kubectl describe pod ‘pod-name’
      kubectl get events

    • @sadhanapriyadarshini9826
      @sadhanapriyadarshini9826 4 ปีที่แล้ว

      i am also facing the same . any solution did you get for this

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

      hi, did anyone resolve this please share?
      facing same issue

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

    Thank you for sharing ..

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

    Not working:
    Step 2/3 : ADD target/springboot-example.jar app.jar
    ADD failed: stat /var/lib/docker/tmp/docker-builder932526819/target/springboot-example.jar: no such file or directory

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

      for all who want the answer: you're missing running: mvn package for building the .jar file 😆

    • @shashib933
      @shashib933 4 ปีที่แล้ว

      @@rebarius thanks brother, I wasted 2-3 hours on step 2/3 : ADD target , and you save me.

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

    Hi master, one question.
    It seems the kubectl run command is no longer creating deployments.
    What is the new way to do it? I tried with kubectl create but yml file is missing.
    Do i need to create the file with some parameters? I am a little stuck here

    • @technotowntechie9732
      @technotowntechie9732  4 ปีที่แล้ว

      Are you trying to create the deployment with the help of the yml file?

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

      you can checkout my code from the below my Github link and go to the directory where deployment.yml and service.yml file exists and try to run kubectl apply -f deploymet.yml and kubectl apply -f service.yml commands.
      github.com/shameed1910/springboot-kubernetes.git

    • @kaywagner4792
      @kaywagner4792 4 ปีที่แล้ว

      @@technotowntechie9732 Yes, that worked fine, now i am able to see all deployed. Thanks master :)

  • @techlearnings4732
    @techlearnings4732 4 ปีที่แล้ว

    If I have a mysql db in spring boot application then how it works

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

      Please go through the my below video for Building and deploying Spring Boot application with MySQL on Kubernetes cluster
      th-cam.com/video/6OJgD_RygiM/w-d-xo.html

    • @techlearnings4732
      @techlearnings4732 4 ปีที่แล้ว

      @@technotowntechie9732 but this video shows you are creating new mysql db. But for my senario I already have mysql db when we deploy the spring boot app to the kubernetes it should just connect to existing mysql db

    • @techlearnings4732
      @techlearnings4732 4 ปีที่แล้ว

      We have the app earlier running on jboss now we want to move to kubernetes and connect to existing mysql db

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

    Great video! It would be awesome if you could do a Kubernetes, Spring and Prometheus/Grafana stack tutorial, there does not seem to be a good video on the market regarding this!

    • @technotowntechie9732
      @technotowntechie9732  4 ปีที่แล้ว

      Thank you, Sure will do another video on Spring and Prometheus/Grafana stack

    • @StyleTrick
      @StyleTrick 4 ปีที่แล้ว

      @@technotowntechie9732 Could you do it with Kubernetes? I have tried to attempt this myself but there seems to be no working functionality, even with the use of Helm.

  • @mahendharkhedhar7887
    @mahendharkhedhar7887 4 ปีที่แล้ว

    Great 👍👍

  • @Jack-ub5ti
    @Jack-ub5ti 4 ปีที่แล้ว +1

    Great. hi Master, please help me Install K8s on ubuntu. Thanks.

    • @technotowntechie9732
      @technotowntechie9732  4 ปีที่แล้ว

      Are you facing any issue while installing K8s on your machine?

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

      Please go through the below link that might help you to install k8s on Ubuntu.
      kubernetes.io/docs/tasks/tools/install-minikube/

    • @Jack-ub5ti
      @Jack-ub5ti 4 ปีที่แล้ว +1

      @@technotowntechie9732 thanks master.

    • @RahulWagh
      @RahulWagh 4 ปีที่แล้ว

      Hi jack you can refer to this tutorial for installation of k8s on ubuntu -th-cam.com/video/briu_Ev89sw/w-d-xo.html

  • @AmilaJayasooriya
    @AmilaJayasooriya 4 ปีที่แล้ว

    eval $(minikube docker-env) is not working for me. In which prompt need to run this? I'm using windows

    • @technotowntechie9732
      @technotowntechie9732  4 ปีที่แล้ว

      You can try the below command
      @FOR /f "tokens=*" %i IN ('minikube docker-env') DO @%i