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

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

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

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

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

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

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

      Thanks buddy will definitely do

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

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

  • @shashankcool
    @shashankcool 5 หลายเดือนก่อน +1

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

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

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

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

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

  • @sanjaykumar-vx2eo
    @sanjaykumar-vx2eo 2 หลายเดือนก่อน

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

  • @RamKumar-dm6es
    @RamKumar-dm6es 2 ปีที่แล้ว +1

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

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

      Thanks Ram ☺️

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

    Very good series on k8s
    thank you

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

    Nice clean detailed architecture explanation

  • @GkSpeaksHere
    @GkSpeaksHere 9 หลายเดือนก่อน +1

    Very good walkthrough. Appreciated

  • @muralikrishna-y7o
    @muralikrishna-y7o ปีที่แล้ว +1

    Excellent video and detailed explanation, thanks a lot.

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

    Very clean and easy to understand. Thank you

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

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

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

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

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

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

  • @Vicky-qz4ox
    @Vicky-qz4ox 2 ปีที่แล้ว +2

    Great job , thank you for your hard work buddy.

  • @AshishYadav-se4db
    @AshishYadav-se4db 2 ปีที่แล้ว +2

    Great explained again sir as always thanks sir🙏❤️

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

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

    Awesome . Dil jeet liya

  • @ravikumarboddiravikumar667
    @ravikumarboddiravikumar667 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      Hi ravi , thanks could you please check my microservice playlist

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

    Best explanations.

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

    nice video Basant Ji. Thank you :)

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

    Machallah, It's very clear

  • @vikashsingh-wf5ko
    @vikashsingh-wf5ko 5 หลายเดือนก่อน

    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.

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

  • @bhagwatpawar2741
    @bhagwatpawar2741 6 หลายเดือนก่อน +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  6 หลายเดือนก่อน

      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

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

    Excellent!

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

    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  ปีที่แล้ว

      Please check this out th-cam.com/video/PKcGy9oPVXg/w-d-xo.html

  • @ThomasMchs
    @ThomasMchs 2 ปีที่แล้ว +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  2 ปีที่แล้ว

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

  • @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 17 วันที่ผ่านมา

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

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

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

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

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

    Awesome 😍

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

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

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

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

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

      Yes I will cover in coming spring boot crud example

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

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

      thanks man i did the same mistake.

    • @HirakBhattacharjee
      @HirakBhattacharjee 17 วันที่ผ่านมา

      how did you fix this?

  • @raghuvardhansaripalli9636
    @raghuvardhansaripalli9636 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      Hi Raghu definitely I will try this.

  • @AdarshRK-yk9xx
    @AdarshRK-yk9xx ปีที่แล้ว

    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 ?

  • @__nitinkumar__
    @__nitinkumar__ 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      Cluster ip is a service type in k8s .

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

    Thanks a lot!

  • @NaveenKumar-js8bf
    @NaveenKumar-js8bf 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      Did you start your docker desktop?

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

    Excellent

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

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

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

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

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

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

      @@Javatechie ok sure

  • @DileepV-on7wk
    @DileepV-on7wk 4 หลายเดือนก่อน +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  4 หลายเดือนก่อน

      What's the error please copy paste stack trace

    • @DileepV-on7wk
      @DileepV-on7wk 4 หลายเดือนก่อน

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

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

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

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

      Shared link in video description please check once

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

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

    • @nikhilagrawal29
      @nikhilagrawal29 15 วันที่ผ่านมา +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 15 วันที่ผ่านมา

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

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

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

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

    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

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

  • @YogeshVerma-iq4xz
    @YogeshVerma-iq4xz 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      Please delete docker image and retry it once

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

    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?

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

  • @akashtawade9264
    @akashtawade9264 2 ปีที่แล้ว +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  2 ปีที่แล้ว +1

      Check whether image is present in your repo or not

    • @Javatechie
      @Javatechie  2 ปีที่แล้ว +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

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

    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?

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

    can you tell what is Namespace, Ingress ?

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

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

    Thank you

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

    Thanks 👍

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

    can you please help me on error

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

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

    👍🏻

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

      Thanks Ashik .😊

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

    not working

  • @satyasai837
    @satyasai837 2 ปีที่แล้ว +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 2 ปีที่แล้ว +1

    Excellent