Build you Spring Boot Microservice with Kubernetes in 10 minutes | Microservices #1
In this video I will build my first Spring Boot microservice with Kubernetes in less than 10 minutes. For that, I will build a microservice using Spring Initializr and create my Kubernetes cluster in Minikube.
This is the first video of the playlist where I will build a microservicies architecture for a webpage, how to create microservices with Spring Boot and Spring Cloud, and how to handle the microservices with Docker and Kubernetes: • Microservices
In this video, I will handle:
* how to create a project with Spring Initializr;
* how to package my Spring Boot project with Docker;
* the creation of a cluster with Minikube. Minikube will prepare an environment like a cloud, where I will be able to publish my microservices architecture with Kubernetes;
* build my Docker image in the Minikube local. As I don't have my Docker image in the public registry, I must get it from local, but from the local of the Minikube cluster. I will show how to link my local to the Minikube cluster to build the Docker image;
* create a Kubernetes Deployment with my Spring Boot application;
* publish my Deployment with a Kubernetes Service. This way, it will be available to receive requests from the outside;
* tell Minikube to expose a service to my localhost to allow me perform requests.
Repository: github.com/ser...
My NEW eBook: sergiolema.dev...
Blog: bit.ly/47ornJL
LinkedIn: bit.ly/41Nn61q
Facebook: bit.ly/47rc9nh
Boost your APIs with API Monitor: bit.ly/4d7C0ny
Sound from Zapsplat.com
Пікірлер: 27
Straight to the point, thank you! Eagerly waiting for more videos about this :).
@TheDevWorldbySergioLema
3 жыл бұрын
Thanks for watching. I will try to upload a video about the Microservices each 2 weeks
Your Pretty Stright Forward and awesome. a lot of information thanks.
@TheDevWorldbySergioLema
3 жыл бұрын
Thanks for watching
@abinthomas12914
3 жыл бұрын
@@TheDevWorldbySergioLema I Have ONE suggestion to create a WebSite Or Blog for The DEV World and share talk or community like fireship. fireship.io/courses/ and You are the best in the KZread tutorial I ever come accros
Thank for the video, i'm waiting for more =). Thanks from Chile
@TheDevWorldbySergioLema
3 жыл бұрын
Gracias Antonio!
informative video, keep up the good work!
@TheDevWorldbySergioLema
2 жыл бұрын
thank you. I try to publish once a week
Good introductory video. You could save a couple of minutes if you build your image with mvn spring-boot:build-image 👍
@TheDevWorldbySergioLema
3 жыл бұрын
Yes, you're right, but i wanted to show what i do in the docker image
Buenisimo, gracias
@TheDevWorldbySergioLema
2 жыл бұрын
Gracias a ti por el comentario
Nice
@TheDevWorldbySergioLema
3 жыл бұрын
Thank you
Corto y al grano. ¡Gracias guapo! What are the apiVersions used for? (Like app/v1 is in deployment and v1 only in services)
@TheDevWorldbySergioLema
Жыл бұрын
Gracias! The apiVersions stands for the version of the deployment or services used by Kubernetes API. You can check here a quick guide: matthewpalmer.net/kubernetes-app-developer/articles/kubernetes-apiversion-definition-guide.html
If you invested in a camera that you could attach to your monitor you wouldn’t have to keep looking between camera and monitor all the time.
@TheDevWorldbySergioLema
Жыл бұрын
I had two screens, that was the reason 😅. But in my new videos I don't do it anymore 😉.
@rydmerlin
Жыл бұрын
Are you actually able to bang out k8s deployment files in vim from memory or do you have cheat notes?
@TheDevWorldbySergioLema
Жыл бұрын
😅 As said, I have a second screen, with all the code I must write down. But with time and practice, you can easily remember the k8s deployment file structure.
nice video but you need to chill a little :D
@TheDevWorldbySergioLema
2 жыл бұрын
😂 Thank you