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

  Рет қаралды 53,941

Java Techie

Java Techie

Күн бұрын

This tutorial will give you complete understanding about installation steps of Minikube in windows OS and Deployment process of containerized application to kubernetes cluster
You will learn :
1. What is Minikube
2.How to install Minikube in windows OS or How do we setup Kubernetes in windows
3.Kubernetes basic commands
4.How to deploy spring boot application to local Kubernetes cluster .
Kubernetes Dashboard and health check .
#javatechie #Kubernetes #SpringBoot #Minikube
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
1:02 - Basic architecture of k8s pod , node & Cluster
1:48 - What & Why minikube
2:32 - Setup minikube in windows
7:10 - Start minikube with docker driver
9:14 - Verify cluster info
9:31 - verify node
10:10 - Deploy spring boot application to Kubernetes cluster
20:38 - Access Service URL
21:39 - Kubernetes Dashboard
24:30 - Clean up kubernetes components (service,deployment,minikube)
install kubectl:
kubernetes.io/...
install Minikube :
v1-18.docs.kub...
install Docker Desktop : docs.docker.co...
Download VirtualBox :
www.virtualbox...
GitHub:
github.com/Jav...
Blogs:
/ kubernetes-tutorial-se...
Facebook:
/ 919464521471923
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community ,
you are free to use source code from above mentioned GitHub account

Пікірлер: 114
@saurabhsuman4960
@saurabhsuman4960 16 күн бұрын
Nice clean detailed architecture explanation
@priyeshprince2318
@priyeshprince2318 Жыл бұрын
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 Жыл бұрын
Thank you so much buddy for your word 🥰
@sanjaykumar-vx2eo
@sanjaykumar-vx2eo Ай бұрын
Great Video. First time I am commenting like this. No words bro. You are exceptional.
@girishrp9339
@girishrp9339 2 жыл бұрын
Please do kafka tutorial as well with pratical partitions, replica, offset and consumer group etc... Your videos easy to understand.
@Javatechie
@Javatechie 2 жыл бұрын
Thanks buddy will definitely do
@oshogarg5215
@oshogarg5215 2 жыл бұрын
@@Javatechie love u java techie . come in person on your channel
@saravanprathi6956
@saravanprathi6956 2 жыл бұрын
You are the best, thank you so much!! Please continue this series and cover as many topics as you can around Kubernetes..
@shashankcool
@shashankcool 5 ай бұрын
simply the best & well structured video to learn k8s & also had hands on experience 👌
@sureshpal5569
@sureshpal5569 Жыл бұрын
great video and thank you for making in a simple way along with hands-on
@bhagwatpawar2741
@bhagwatpawar2741 5 ай бұрын
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 5 ай бұрын
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
@RamKumar-dm6es
@RamKumar-dm6es 2 жыл бұрын
Just Love your all techie videos and Java also when there is a great instructor like you❤
@Javatechie
@Javatechie 2 жыл бұрын
Thanks Ram ☺️
@nasirkhansirajbhai8016
@nasirkhansirajbhai8016 Жыл бұрын
Thank you mate.. your way of teaching/expaling complex stuff is amazing...
@GkSpeaksHere
@GkSpeaksHere 8 ай бұрын
Very good walkthrough. Appreciated
@kvbreddyk
@kvbreddyk 3 ай бұрын
Very good series on k8s thank you
@sagar1689
@sagar1689 2 жыл бұрын
Very clean and easy to understand. Thank you
@hichamloukili3910
@hichamloukili3910 Жыл бұрын
You are the best, thank you so much!! 😊👍👍👍👍
@muralikrishna-y7o
@muralikrishna-y7o Жыл бұрын
Excellent video and detailed explanation, thanks a lot.
@salimatandiaye6227
@salimatandiaye6227 Жыл бұрын
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
@aidataverse
@aidataverse 2 жыл бұрын
Awesome . Dil jeet liya
@sharmarahul17
@sharmarahul17 2 ай бұрын
Excellent!
@kaushikmitra1982
@kaushikmitra1982 Жыл бұрын
Video is very ellaborative and nicely created. Keep it up !
@Vicky-qz4ox
@Vicky-qz4ox 2 жыл бұрын
Great job , thank you for your hard work buddy.
@ravikumarboddiravikumar667
@ravikumarboddiravikumar667 2 жыл бұрын
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 Жыл бұрын
Best explanations.
@AshishYadav-se4db
@AshishYadav-se4db 2 жыл бұрын
Great explained again sir as always thanks sir🙏❤️
@Javatechie
@Javatechie 2 жыл бұрын
Thanks buddy
@prajapati-parmod
@prajapati-parmod Жыл бұрын
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
@munapadhi8723
@munapadhi8723 Жыл бұрын
Hi , can you please make more video for kubernetes service .
@Javatechie
@Javatechie Жыл бұрын
Okay i will
@ThomasMchs
@ThomasMchs 2 жыл бұрын
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
@__nitinkumar__
@__nitinkumar__ 2 жыл бұрын
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 .
@connecteilconnekt5625
@connecteilconnekt5625 Жыл бұрын
Machallah, It's very clear
@SaideepDeepakUllal
@SaideepDeepakUllal Ай бұрын
Thanks a lot!
@unemployedcse3514
@unemployedcse3514 Жыл бұрын
Awesome 😍
@sureshsadanala4639
@sureshsadanala4639 2 жыл бұрын
nice video Basant Ji. Thank you :)
@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 kzbin.info/www/bejne/hnzGeKxvpLWJjsk
@2RAJ21
@2RAJ21 Ай бұрын
Thank you. if i stop the pod then new pod will be come but i cannot access the springboot application why??
@raghuvardhansaripalli9636
@raghuvardhansaripalli9636 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.
@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?
@muralikrishna3935
@muralikrishna3935 2 жыл бұрын
Excellent
@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 2 жыл бұрын
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
@devaamujuri5998
@devaamujuri5998 2 жыл бұрын
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.
@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?
@brijeshkumar3900
@brijeshkumar3900 Жыл бұрын
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 10 ай бұрын
thanks man i did the same mistake.
@vikashsingh-wf5ko
@vikashsingh-wf5ko 4 ай бұрын
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.
@sqb8980
@sqb8980 11 ай бұрын
i am getting image pull back off error when checking for pods
@Javatechie
@Javatechie 11 ай бұрын
Please make sure to sync docker with minikube execute $eval command before executing service and deployment object
@anushrijadhav8389
@anushrijadhav8389 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
@YogeshVerma-iq4xz
@YogeshVerma-iq4xz 2 жыл бұрын
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
@yashrao7236
@yashrao7236 2 жыл бұрын
Thank you
@satyasarma266
@satyasarma266 2 жыл бұрын
Thanks 👍
@malleswarrao3887
@malleswarrao3887 5 ай бұрын
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
@kirtho07
@kirtho07 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 жыл бұрын
Before you run docker build you should run mvn clean install first
@kirtho07
@kirtho07 2 жыл бұрын
@@Javatechie Thank you so much ... it worked like charm 👏
@rexsam3134
@rexsam3134 2 жыл бұрын
6.0 in which sequence you installed both? This is missing...
@Javatechie
@Javatechie 2 жыл бұрын
Shared link in video description please check once
@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 ?
@guruputramahalingappa695
@guruputramahalingappa695 Жыл бұрын
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 Жыл бұрын
@@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
@NaveenKumar-js8bf
@NaveenKumar-js8bf 2 жыл бұрын
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?
@ashiqsahu7838
@ashiqsahu7838 2 жыл бұрын
👍🏻
@Javatechie
@Javatechie 2 жыл бұрын
Thanks Ashik .😊
@oshogarg5215
@oshogarg5215 2 жыл бұрын
When I do kubernetes get pods ,,, inside status it is showing ImagePullBackOff and not showing RUNNING
@Javatechie
@Javatechie 2 жыл бұрын
Check image is there in docker repo or not. Also make sure to execute eval $(minikube docker-env)
@oshogarg5215
@oshogarg5215 2 жыл бұрын
@@Javatechie ok sure
@akashtawade9264
@akashtawade9264 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 жыл бұрын
Check whether image is present in your repo or not
@Javatechie
@Javatechie 2 жыл бұрын
Also make sure to run eval $(minikube docker-env)
@yourfriendlyneighbour224
@yourfriendlyneighbour224 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
@oshogarg5215
@oshogarg5215 2 жыл бұрын
can you tell what is Namespace, Ingress ?
@avinashjethy89
@avinashjethy89 Жыл бұрын
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
@DileepV-on7wk
@DileepV-on7wk 4 ай бұрын
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
@sateeshvennela6026
@sateeshvennela6026 2 жыл бұрын
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
@Javatechie
@Javatechie 2 жыл бұрын
Due you ran mvn clean install
@sateeshvennela6026
@sateeshvennela6026 2 жыл бұрын
@@Javatechie nope
@sateeshvennela6026
@sateeshvennela6026 2 жыл бұрын
help me on that please
@Javatechie
@Javatechie 2 жыл бұрын
Do that then docker cmd
@sateeshvennela6026
@sateeshvennela6026 2 жыл бұрын
@@Javatechie okies
@sateeshvennela6026
@sateeshvennela6026 2 жыл бұрын
can you please help me on error
@jagadeeshbabu5227
@jagadeeshbabu5227 2 жыл бұрын
i am not able access after entering
@Javatechie
@Javatechie 2 жыл бұрын
Error?
@jagadeeshbabu5227
@jagadeeshbabu5227 2 жыл бұрын
@@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 жыл бұрын
@@jagadeeshbabu5227 same problem
@GodaDev
@GodaDev Жыл бұрын
not working
@satyasai837
@satyasai837 2 жыл бұрын
Upload upload splunk vedios
@pratikshpatel5227
@pratikshpatel5227 2 жыл бұрын
INTERNAL_IP_FOR_MINIKUBE:NODE_PORT -> Page took too long to respond Note: Pods,Service,Deployment, Dashboardare all running
@nikhileshyoutube4924
@nikhileshyoutube4924 2 жыл бұрын
Excellent
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 23 МЛН
Flipping Robot vs Heavier And Heavier Objects
00:34
Mark Rober
Рет қаралды 41 МЛН
Setup Kubernetes | Minikube and Kubectl
12:23
Pavan Elthepu
Рет қаралды 16 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 306 М.
SpringBoot to Kubernetes in 15 minutes
19:50
EkitLab
Рет қаралды 22 М.
Kubernetes Crash Course for Absolute Beginners [NEW]
1:12:04
TechWorld with Nana
Рет қаралды 2,8 МЛН
NGINX Tutorial - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 214 М.
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34