Kubernetes Tutorial | Setup Kubernetes in Windows & Run Spring boot application on k8s cluster

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 121

  • @priyeshprince2318
    @priyeshprince2318 Рік тому +1

    when watched your videos it give all along the understanding Thanks for being such good instructor
    its does not matter in which state viewer is like frustrated loanly sad or happy you make people understand

    • @Javatechie
      @Javatechie  Рік тому +1

      Thank you so much buddy for your word 🥰

  • @saravanprathi6956
    @saravanprathi6956 3 роки тому +2

    You are the best, thank you so much!! Please continue this series and cover as many topics as you can around Kubernetes..

  • @sanjaykumar-vx2eo
    @sanjaykumar-vx2eo 4 місяці тому

    Great Video. First time I am commenting like this. No words bro. You are exceptional.

  • @shashankcool
    @shashankcool 8 місяців тому +1

    simply the best & well structured video to learn k8s & also had hands on experience 👌

  • @sureshpal5569
    @sureshpal5569 Рік тому +2

    great video and thank you for making in a simple way along with hands-on

  • @girishrp9339
    @girishrp9339 3 роки тому +11

    Please do kafka tutorial as well with pratical partitions, replica, offset and consumer group etc... Your videos easy to understand.

    • @Javatechie
      @Javatechie  3 роки тому +2

      Thanks buddy will definitely do

    • @oshogarg5215
      @oshogarg5215 3 роки тому +1

      @@Javatechie love u java techie . come in person on your channel

  • @RamKumar-dm6es
    @RamKumar-dm6es 2 роки тому +1

    Just Love your all techie videos and Java also when there is a great instructor like you❤

  • @sagar1689
    @sagar1689 3 роки тому +3

    Very clean and easy to understand. Thank you

  • @kaushikmitra1982
    @kaushikmitra1982 Рік тому +1

    Video is very ellaborative and nicely created. Keep it up !

  • @kvbreddyk
    @kvbreddyk 7 місяців тому +1

    Very good series on k8s
    thank you

  • @muralikrishna-y7o
    @muralikrishna-y7o Рік тому +1

    Excellent video and detailed explanation, thanks a lot.

  • @nasirkhansirajbhai8016
    @nasirkhansirajbhai8016 Рік тому +1

    Thank you mate.. your way of teaching/expaling complex stuff is amazing...

  • @saurabhsuman4960
    @saurabhsuman4960 4 місяці тому

    Nice clean detailed architecture explanation

  • @Vicky-qz4ox
    @Vicky-qz4ox 3 роки тому +2

    Great job , thank you for your hard work buddy.

  • @GkSpeaksHere
    @GkSpeaksHere Рік тому +1

    Very good walkthrough. Appreciated

  • @hichamloukili3910
    @hichamloukili3910 Рік тому +1

    You are the best, thank you so much!! 😊👍👍👍👍

  • @aidataverse
    @aidataverse 3 роки тому +1

    Awesome . Dil jeet liya

  • @AshishYadav-se4db
    @AshishYadav-se4db 3 роки тому +2

    Great explained again sir as always thanks sir🙏❤️

  • @ravikumarboddiravikumar667
    @ravikumarboddiravikumar667 3 роки тому +1

    Hi Bro,you are doing great job.Thanks for sharing such a valuable knowledge.please address all micro services concepts including metrics,logs,high availability.

    • @Javatechie
      @Javatechie  3 роки тому

      Hi ravi , thanks could you please check my microservice playlist

  • @InfiniteCuriosity612
    @InfiniteCuriosity612 Місяць тому

    Hello, Java Techie.
    Thank you so much for this detailed video. Can you please change resolution of this video? I see very low resolution.

  • @sureshsadanala4639
    @sureshsadanala4639 3 роки тому +1

    nice video Basant Ji. Thank you :)

  • @vaibhavsrivastava4645
    @vaibhavsrivastava4645 2 роки тому +1

    Best explanations.

  • @connecteilconnekt5625
    @connecteilconnekt5625 2 роки тому +1

    Machallah, It's very clear

  • @sharmarahul17
    @sharmarahul17 5 місяців тому

    Excellent!

  • @bhagwatpawar2741
    @bhagwatpawar2741 8 місяців тому +1

    Hi Basant , all your tutorials for docker and kubernetes are enough to start work and interview?? . Or do we need to go through others material??.
    Please respond

    • @Javatechie
      @Javatechie  8 місяців тому

      Hello buddy. If you are looking for Docker and kubernetes from developers prospective then i would say yes it's enough to go for interview

  • @unemployedcse3514
    @unemployedcse3514 Рік тому +1

    Awesome 😍

  • @muralikrishna3935
    @muralikrishna3935 3 роки тому +1

    Excellent

  • @salimatandiaye6227
    @salimatandiaye6227 Рік тому +1

    Thank you for this video. i try to do tne same projet bu some filder on your repositories github are missing. "target" is not available on your reposition and it prevent dockerfile being created. can you help me for more informtion please.
    your video remains the best !!

    • @Javatechie
      @Javatechie  Рік тому

      Target shouldn't be part of your commit change

  • @ThomasMchs
    @ThomasMchs 3 роки тому +1

    Thanks a lot for the video. If we add replica set, should we still set a fixed port on the spring app?

    • @Javatechie
      @Javatechie  3 роки тому

      No not required once your app runs on contains service will take care assigning them DNS

  • @blessycheriyan5870
    @blessycheriyan5870 2 роки тому

    Very informative videos, can you please upload the docker installation and their configuration to Jenkins and run with the sprinboot?
    Old video I had watched but it's not supported with the latest docker it's not getting an image when I configured with Jenkins to redeploy

    • @Javatechie
      @Javatechie  2 роки тому

      Please check this out ua-cam.com/video/PKcGy9oPVXg/v-deo.html

  • @SaideepDeepakUllal
    @SaideepDeepakUllal 4 місяці тому

    Thanks a lot!

  • @prajapati-parmod
    @prajapati-parmod Рік тому +1

    Hi
    I followed all the steps but getting ready state 0/1
    how to make 1/1
    After executing the command
    kubectl create deployment spring-boot-dep2 --image=spring-demo:1.0 --port=8080

  • @a1994s
    @a1994s 2 роки тому

    I love it, can you please make a same kind of deployment video for Django having Docker-compose. with kubernetes minikube, kubectl. ??????????????????????????????????????????????????

  • @saravanakumara5602
    @saravanakumara5602 3 роки тому +1

    Very nice bro. Can you please publish video for create config Map and consume from springnboot (inject via application property)

    • @Javatechie
      @Javatechie  3 роки тому

      Yes I will cover in coming spring boot crud example

  • @munapadhi8723
    @munapadhi8723 Рік тому +1

    Hi , can you please make more video for kubernetes service .

  • @__nitinkumar__
    @__nitinkumar__ 3 роки тому +1

    Sir, what is cluster IP? Is the application running of your local system or it has been deployed to some server where people can access ?

    • @Javatechie
      @Javatechie  3 роки тому

      Cluster ip is a service type in k8s .

  • @raghuvardhansaripalli9636
    @raghuvardhansaripalli9636 3 роки тому +2

    Hi Basant, is it possible for you to do a session on creating 2 or 3 node cluster using Ubuntu as well. Because in reality all of us work in Ubuntu or Linux platform instead of windows. God bless you.. !!! Thank you in advance.

    • @Javatechie
      @Javatechie  3 роки тому

      Hi Raghu definitely I will try this.

  • @satyasarma266
    @satyasarma266 3 роки тому +1

    Thanks 👍

  • @ainigma100
    @ainigma100 3 роки тому

    Thank you for the great tutorial! Is it possible to add an nginx as a load balancer which will handle all requests? Maybe we will have 2 applications and based on the URL nginx will redirect to the correct application.
    Can we also secure the requests and use tls certificates?

  • @AdarshRK-yk9xx
    @AdarshRK-yk9xx 2 роки тому

    I got this error "❌ Exiting due to MK_UNIMPLEMENTED: minikube service is not currently implemented with the user network on QEMU" @20:08
    can you help ?

  • @brijeshkumar3900
    @brijeshkumar3900 Рік тому +1

    Hi , does my Docker image has to be in running status before I create deployment in K8s ? i'm getting below issue when Im trying to get pods after creating deployment
    NAME READY STATUS RESTARTS AGE
    spring-boot-k8s-5b9b8df688-l4zfs 0/1 ImagePullBackOff 0 8s .
    EDIT - never mind - my mistake i see image was not in hub , i was just checking docker desktop and was confused why my Kubectl is not able to pull image :(.. Thanks Basant .

  • @anushrijadhav8389
    @anushrijadhav8389 2 роки тому +2

    'minikube' is not recognized as an internal or external command,
    operable program or batch file.
    ..plz help

    • @Javatechie
      @Javatechie  2 роки тому

      Are you trying in windows if yes please make sure you follow proper installation steps as I explained

  • @2RAJ21
    @2RAJ21 4 місяці тому

    Thank you.
    if i stop the pod then new pod will be come but i cannot access the springboot application why??

    • @nikhilagrawal29
      @nikhilagrawal29 3 місяці тому +1

      Because you deleted the pod and the IP address of the new pod is different, you need to run the command `minikube service --url` again.

    • @2RAJ21
      @2RAJ21 3 місяці тому

      @@nikhilagrawal29 it's possible to set same IP to all pods ??

  • @diptarghyachatterjee6018
    @diptarghyachatterjee6018 3 роки тому

    When creating the deployment object we mentioned the port as --port :8080 . Now when we expose that deployment object using NodePort service type and try to get the url it is different port. Can you please explain once why is that?

  • @rexsam3134
    @rexsam3134 3 роки тому +1

    6.0 in which sequence you installed both? This is missing...

    • @Javatechie
      @Javatechie  3 роки тому

      Shared link in video description please check once

  • @yashrao7236
    @yashrao7236 3 роки тому +1

    Thank you

  • @devaamujuri5998
    @devaamujuri5998 2 роки тому +1

    Hi 1 quick question what is the advantage of using minikube then enabling kubernetes on docker desktop; to run minikube also we have to install docker desktop on my machine. so what is the advantage here??

    • @Javatechie
      @Javatechie  2 роки тому

      You can also use virtual box instead of Docker desktop.

  • @guruputramahalingappa695
    @guruputramahalingappa695 Рік тому +1

    Bro I tried to create docker image on another CMD and tried to create deployment in another CMD, I got error ImagePullError. when I check kubectl get pods, and kubectl get deployment.
    can you please help me to understand

    • @Javatechie
      @Javatechie  Рік тому

      Docker images might not be present in the container make sure to run sync CMD which i explained in video before you run deployment and service

    • @shuvampargal4754
      @shuvampargal4754 Рік тому

      have u created the docker image without any tag?

    • @guruputramahalingappa695
      @guruputramahalingappa695 Рік тому

      @@shuvampargal4754 yes

    • @guruputramahalingappa695
      @guruputramahalingappa695 Рік тому +1

      @@Javatechie yes i checked in kuberneties cluster it is not present though I created the image in another cmd promt(terminal) let me try the way you suggest

  • @vikashsingh-wf5ko
    @vikashsingh-wf5ko 7 місяців тому

    hi, I am getting this error at time of creating deployment on kubectl of getting-started git project. I don't know why?
    Error from server (BadRequest): container "getting-started" in pod "getting-started-57589bfd96-n7pm2" is waiting to start: trying and failing to pull image.

  • @akashtawade9264
    @akashtawade9264 3 роки тому +2

    My deployment not in ready state(0/1).... I tried so many solutions.....but nothing work.....what is the reason my deployment not in ready state ?

    • @Javatechie
      @Javatechie  3 роки тому +1

      Check whether image is present in your repo or not

    • @Javatechie
      @Javatechie  3 роки тому +1

      Also make sure to run eval $(minikube docker-env)

    • @yourfriendlyneighbour224
      @yourfriendlyneighbour224 2 роки тому +2

      same error im also getting, tried many things but none helped
      $ kubectl get deployments
      NAME READY UP-TO-DATE AVAILABLE AGE
      spring-boot-k8s-deploy 0/1 1 0 16m

    • @fitranger
      @fitranger 2 роки тому

      @@yourfriendlyneighbour224 same

    • @broadway960
      @broadway960 12 днів тому

      Delete minikube. Clean the cache.

  • @oshogarg5215
    @oshogarg5215 3 роки тому +1

    When I do kubernetes get pods ,,, inside status it is showing ImagePullBackOff and not showing RUNNING

    • @Javatechie
      @Javatechie  3 роки тому +1

      Check image is there in docker repo or not. Also make sure to execute eval $(minikube docker-env)

    • @oshogarg5215
      @oshogarg5215 3 роки тому

      @@Javatechie ok sure

  • @YogeshVerma-iq4xz
    @YogeshVerma-iq4xz 3 роки тому +1

    Thanks for this video, I am trying to run spring app inside kubernetes with docker but getting error i.e ("Error from server (BadRequest): container "spring-kubernetes-sample" in pod "spring-k8s-59d4877bf6-qtf47" is waiting to start: trying and failing to pull image") , can you help me out where I am doing mistake ?

    • @Javatechie
      @Javatechie  3 роки тому

      Please delete docker image and retry it once

  • @malleswarrao3887
    @malleswarrao3887 9 місяців тому

    Please share ppt with us which is used in the demo or session

  • @kirtho07
    @kirtho07 2 роки тому +2

    Hi
    while i am trying to create docker image ... i am getting below error even after build is successful in intelliJ
    Step 3/4 : ADD target/springboot-k8s-demo.jar springboot-k8s-demo.jar
    ADD failed: file not found in build context or excluded by .dockerignore: stat target/springboot-k8s-demo.jar: file does not exist
    could you plz help me in this regards.
    Thank you.

    • @Javatechie
      @Javatechie  2 роки тому +2

      Before you run docker build you should run mvn clean install first

    • @kirtho07
      @kirtho07 2 роки тому +1

      @@Javatechie Thank you so much ... it worked like charm 👏

  • @sqb8980
    @sqb8980 Рік тому +2

    i am getting image pull back off error when checking for pods

    • @Javatechie
      @Javatechie  Рік тому +1

      Please make sure to sync docker with minikube execute $eval command before executing service and deployment object

    • @HirakBhattacharjee
      @HirakBhattacharjee 3 місяці тому

      @@Javatechie C:\Files\tech-studies\8_kubernetes\springboot-k8s-demo>kubectl logs spring-boot-k8s-84f69577c4-j9sbf
      Error from server (BadRequest): container "springboot-k8s-demo" in pod "spring-boot-k8s-84f69577c4-j9sbf" is waiting to start: image can't be pulled
      C:\Files\tech-studies\8_kubernetes\springboot-k8s-demo>kubectl get deployment
      NAME READY UP-TO-DATE AVAILABLE AGE
      spring-boot-k8s 0/1 1 0 60s
      deployment not comin up. please help.

  • @gaurrahul619
    @gaurrahul619 9 днів тому

    when run docker images it show unanle to connect tls failed to verify certificate 509 plz provide solution of it

  • @NaveenKumar-js8bf
    @NaveenKumar-js8bf 3 роки тому +1

    Hi Brother, Can you please help me to fix this issue,
    ADD failed: file not found in build context or excluded by .dockerignore: stat target/zee.jar: file does not exist

    • @Javatechie
      @Javatechie  3 роки тому

      Did you start your docker desktop?

  • @DileepV-on7wk
    @DileepV-on7wk 7 місяців тому +1

    repository does not exist or may require 'docker login': denied: requested access to the resource is denied ::please help me in this !!!

    • @Javatechie
      @Javatechie  7 місяців тому

      What's the error please copy paste stack trace

    • @DileepV-on7wk
      @DileepV-on7wk 7 місяців тому

      @@Javatechie yes Please here it is :: Normal Pulling 24s (x3 over 72s) kubelet Pulling image "demo-k8:latest"
      Warning Failed 19s (x3 over 66s) kubelet Failed to pull image "demo-k8:latest": Error response from daemon: pull access denied for demo-k8, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

  • @curriedagain
    @curriedagain 3 роки тому

    I tried deleting the pod as shown in the video, the new pod does not re-spawn. I only get "Nothing to display here" in the PODS section of the minikube dashboard. Why is that? Do you have a email? I am willing to pay for answers and some education. Thanks

  • @oshogarg5215
    @oshogarg5215 3 роки тому

    can you tell what is Namespace, Ingress ?

  • @avinashjethy89
    @avinashjethy89 Рік тому +1

    kubectl create deployement demo-k8s --image=demo-k8s:1.1
    above command giving error while creating deployement : error: unknown flag: --image

    • @Javatechie
      @Javatechie  Рік тому

      Is your docker desktop up and running

  • @ashiqsahu7838
    @ashiqsahu7838 3 роки тому +1

    👍🏻

  • @sateeshvennela6026
    @sateeshvennela6026 2 роки тому +1

    Step 3/4 : ADD target/springboot-k8s-demo.jar springboot-k8s-demo.jar
    ADD failed: file not found in build context or excluded by .dockerignore: stat target/springboot-k8s-demo.jar: file does not exist

  • @jagadeeshbabu5227
    @jagadeeshbabu5227 2 роки тому +1

    i am not able access after entering

    • @Javatechie
      @Javatechie  2 роки тому

      Error?

    • @jagadeeshbabu5227
      @jagadeeshbabu5227 2 роки тому +1

      @@Javatechie yes...trying to access boot application from browser after deploying it into kub cluster in windows env..after entering internal:port not giving any response

    • @Javatechie
      @Javatechie  2 роки тому

      You need to execute minikube service command the way I did in last

    • @jagadeeshbabu5227
      @jagadeeshbabu5227 2 роки тому

      @@Javatechie yes running .. browser opening but not giving any response

    • @elvin7596
      @elvin7596 2 роки тому +1

      @@jagadeeshbabu5227 same problem

  • @sateeshvennela6026
    @sateeshvennela6026 2 роки тому

    can you please help me on error

  • @GodaDev
    @GodaDev Рік тому

    not working

  • @satyasai837
    @satyasai837 3 роки тому +1

    Upload upload splunk vedios

  • @pratikshpatel5227
    @pratikshpatel5227 2 роки тому +1

    INTERNAL_IP_FOR_MINIKUBE:NODE_PORT -> Page took too long to respond
    Note: Pods,Service,Deployment, Dashboardare all running

  • @nikhileshyoutube4924
    @nikhileshyoutube4924 3 роки тому +1

    Excellent