Kube By Example - Spring Boot on Kubernetes

Learn How to Deploy Spring Boot on Kubernetes
Free tutorial
Rating: 4.5 out of 5 (91 ratings)
5,759 students
51min of on-demand video
English [Auto]

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


  • Basic Spring Boot and Java Experience
  • Basic Knowledge of Docker
  • Basic Linux Command Line Knowledge


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!

Who this course is for:

  • Java and Spring Developers who wish to deploy their Spring Boot Application under Kubernetes


Spring Framework Guru - Best Selling Instructor
John Thompson • 500,000+ Enrollments Worldwide
  • 4.5 Instructor Rating
  • 47,505 Reviews
  • 317,624 Students
  • 21 Courses

Hi. I'm John.

I've been in the IT industry for over 25 years. Today, I specialize mainly in Java, the most successful and widely known programming language in use today. I also specialize with the Spring Framework, which the most popular open source application framework for building enterprise class applications on the Java platform. Just some of the organizations I've worked with include Visa, Kohls, Federal Home Loan Bank, and Belk Department Stores.

Through the courses I'm providing, I hope to leverage my years of experience to accelerate your learning of the Spring Framework. I'm not going to lie to you. The Spring Framework is a big framework. The environment for enterprise Java is even bigger. If you're new to Java, you have a lot to learn. I hope through the content on this web site I can accelerate your education of the Java and Spring landscape.

Spring Ahead with Your Career
Spring Ahead Code Academy
  • 4.4 Instructor Rating
  • 46,289 Reviews
  • 311,833 Students
  • 18 Courses

Spring Ahead Code Academy was established by John Thompson, founder of Spring Framework Guru. John has over 25 years of programming experience and has taught over 250,000 students in 180 different countries.

Spring Ahead Code Academy is collation of experienced professional developers helping others learn to code.

Our goal is to bring together real world professionals, to share real world experience with you. We hope to help you with your journey in learning new skills and growing your career. 

Top companies trust Udemy

Get your team access to Udemy's top 25,000+ courses