In this video, learn how you can run a Spring Boot Application on Kubernetes.
Find this course and more at Kubernetes by Example: https://www.kubernetesbyexample.com/e...
Run Spring Boot on Kubernetes
00:00 - Course Introduction
00:17 - Setting Up Your Development Environment
04:32 - Enable Kubernetes on Docker Desktop
08:03 - Introduction to Working with Kubernetes and Spring Boot
08:54 - Create a Deployment for your Spring Boot Application
13:43 - Create a Service for your Spring Boot Application
16:35 - Configure Port Fowarding with Kubernetes
20:52 - How to terminate Services and Deployments
23:03 - Use NodePort to Expose Services
26:45 - Accessing Spring Boot Application Logs
29:35 - Set Environment Variables to Configure Spring Boot
34:25 - Configure Spring Boot Actuator Readiness Probe
39:31 - Configure Spring Boot Actuator Liveness Probe
43:57 - Configure Kubernetes for Graceful Shutdown
In this online course, you will see how to take a Spring Boot Application and deploy it in a Docker container under Kubernetes. Docker Desktop is used to create a local single node Kubernetes Cluster. You will learn how to create a deployment for a Spring Boot Application in a Docker Image. A Kubernetes Service is also created for the application. You will also learn how to configure Spring Boot Actuator to expose endpoints for Readiness and Liveness probes. The Kubernetes deployment descriptor is updated to use the Readiness and Liveness probes. Finally, you will see how to configure Spring Boot and Kubernetes to support a graceful shut down.
-----------------------------------
Important Links
Kubernetes By Example - https://www.kubernetesbyexample.com/
SFG Brewery API References - https://sfg-beer-works.github.io/brew...
Source Code on GitHub - https://github.com/springframeworkgur...
Spring Boot Application on Docker Hub - https://hub.docker.com/r/springframew...
Creating Layered Docker Images with Spring Boot - https://springframework.guru/why-you-...
----------------------------------
Learn More!
Spring Framework 5: Beginner to Guru - https://www.udemy.com/course/spring-f...
Reactive Programming with Spring Framework 5 - https://www.udemy.com/course/reactive...
Apache Maven: Beginner to Guru - https://www.udemy.com/course/apache-m...
Spring Boot Microservices with Spring Cloud - https://www.udemy.com/course/spring-b...