Kube By Example - Spring Boot on Kubernetes

Learn How to Deploy Spring Boot on Kubernetes

4.65 (108 reviews)
Udemy
platform
English
language
Development Tools
category
Kube By Example - Spring Boot on Kubernetes
6,244
students
1 hour
content
May 2022
last update
FREE
regular price

What you will learn

Learn How to Deploy a Spring Boot Application on Kubernetes

Create a Kubernetes Service for Your Spring Boot Application

Start and Stop Your Spring Boot Application on Kubernetes

Configure Spring Boot Actuator for Kubernetes

Description

Kubernetes is a container orchestration system used to automate software deployment, scaling and management.

Effectively, Kubernetes is a management tool direct the running of Docker images.

Kubernetes is actually much more than just a tool to run a Docker image.

However in this course, we will be running a single Docker image under Kubernetes. You will learn how to deploy a simple Spring Boot application (in a Docker image) under Kubernetes.

The course uses a publically available Docker Image. The image contains a Spring Boot Application, which exposes a simple RESTful API.

After learning how to set up a local Kubernetes environment for development, you will learn how to create a Kubernetes Deployment. A Deployment is how Kubernetes defines a Docker container to run.

Next you will learn how to configure a Kubernetes Service. A Service is how you direct Kubernetes to expose deployments to network resources.

Spring Boot has added features to support running in a containerized environment. Two of these are Readiness and Liveness probes.

The Readiness probe accounts for startup period of an application. Once the application has started and is ready for work, the Readiness probe will return a positive result.

The Liveness probe returns a positive result while the application is in a healthy state. Kubernetes can monitor the Liveness probe for application health.

Finally in the course, you will learn to configure a graceful shutdown. This allows the Spring Boot application to complete any inprocess transactions before the container is terminated.

If you're looking to get started running your Spring Boot applications under Kubernetes enroll today!

Content

Introduction

Course Introduction
Setting up Your Development Environment
Enable Kubernetes Docker Desktop

Deploy Spring Boot on Kubernetes

Introduction
Create Deployment
Create Service
Port Forwarding
Terminating Services and Deployments
Exposing Services
Accessing Logs
Setting Environment Variables
Readiness Probe With Spring Boot Actuator
Liveness Probe with Spring Boot Actuator
Configure Spring Boot for Graceful Shutdown

Reviews

Roy
April 25, 2023
The content is great, but it lacks of some tooling to spot the line where the author is referring to. The explanation is awesome though.
Marko
August 5, 2022
Not working. Jim is enabling actuator endpoints readiness and liveliness and then calling them from postman, however K8 is calling internal IP and failing to achieve it.
Andrea
July 16, 2022
I really wanted to thank you for the good job that you've done with this course. It's pretty hard to find free k8s projects, even tho this was a simple one, around the web. One last thing, in the first Kube by Example, the docker one, the code doesn't build anymore (I've tried different IDEs), but still very enjoyable. Can't wait to take your next course, Kube by Example with microservices!

Charts

Price

Kube By Example - Spring Boot on Kubernetes - Price chart

Rating

Kube By Example - Spring Boot on Kubernetes - Ratings chart

Enrollment distribution

Kube By Example - Spring Boot on Kubernetes - Distribution chart
4656350
udemy ID
4/23/2022
course created date
4/25/2022
course indexed date
Bot
course submited by