Learn How to Deploy Spring Boot on Kubernetes

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.


Get Instant Notification of New Courses on our Telegram channel.


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!

English
language

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