Developing Spring Boot apps for Kubernetes
Nov 29, 2020 2020-11-29 22:59Developing Spring Boot apps for Kubernetes
Core Spring

Course Description
Kubernetes is the industry approved platform for growing a Cloud Native strategy. Spring (Boot) has always encouraged developers to leverage the tools/technologies that best solves their business use cases. In this training we will bring both worlds together so that you as a Spring (boot) developer can take ownership of your code from development to production. We will look at some best practices/patterns on how to containerize your Spring Boot application & run it on a Kubernetes cluster. We will also look at how you can integrate your Spring Boot app with Kubernetes. By the time the training is over, you will have a good understanding on how Spring Boot & Kubernetes work hand in hand and you will have bridged some of the gap between Dev & Ops.What you’ll learn
By the end of the training, you will learn:- Why is Kubernetes the industry approved platform & how does Spring Boot fit in?
- Containerize Spring Boot applications
- Spring Boot configuration in Kubernetes
- Deploy Spring Boot applications on Kubernetes
- Spring Boot application lifecycle in Kubernetes
- Visibility & observability
- GraalVM and native images
- Spring Cloud Kubernetes
-
1.- Introduction
-
Cloud Native Architectures
-
Spring Boot & Kubernetes
-
-
2.- Building Containers
-
Container introduction (why)
-
Docker intoduction
-
Containerize your Spring Boot application
-
Best practices / optimizing containers
-
Jib
-
Pack / Buildpacks
-
-
3.- Kubernetes Introduction
-
Kubernetes Architecture
-
Main building blocks:
- Pod
- Deployment
- ReplicaSet
- Service
- Ingress
-
-
4.- Deploying Spring Boot applications on Kubernetes
-
Using kubectl imperative commands to generate definitions
-
Manually deploy your spring boot application on Kubernetes
-
Accessing your application
-
-
5.- Spring Boot configuration on Kubernetes
-
External configuration (Kubernetes ConfigMaps / Secrets)
-
Application versioning practices
-
-
6.- Spring Boot application lifecycle in Kubernetes
-
Kubernetes awareness
-
Liveness and Readiness probes with Spring Boot Actuator
-
Leverage Spring Boots event-driven model (as opposed to state polling)
-
Health indicators, Spring Boots Health Groups support
-
Graceful Shutdown support
-
Secure Spring Boot Actuator in Kubernetes
-
-
7.- Visibility & observability
-
Enable and extend metrics/monitoring capabilities using Spring Boot actuator
-
Distributed Logging
-
Debugging applications on Kubernetes
-
-
8.- Native Images
-
Intro to GraalVM
-
Spring GraalVM Native
-
-
9.- Jobs in Kubernetes
-
CronJobs
-
Spring Batch in
-
-
10.- Spring Cloud Kubernetes
-
Kubernetes Awareness
-
DiscoveryClient implementation
-
PropertySource Objects configured via ConfigMaps
-