Thispage provides a quick reference on the steps needed to run a Spring Bootapplication as a Docker container inside Kubernetes on Windows. This would beready reference for anyone wanting to experiment with micro servicesarchitecture.
How to run a SpringBoot application as a Docker container inside Kubernetes on Windows -Introduction
This section provides a quick introduction to Spring Boot,Dockers and Kubernetes.
SpringBoot makes it easy to create stand-alone, production-grade Spring basedApplications that you can “just run”. Spring Boot is a rapidapplication development platform. It uses various components of Spring, but hasadditional elements like the ability to package your application as a runnablejar, which includes an embedded tomcat (or jetty) server.
Docker is an open platform for developing, shipping, andrunning applications. Docker provides the ability to package and run anapplication in a loosely isolated environment called a container. Containerbased virtualization uses the kernel on host’s operating system to run multipleguest instances. Each container has its own root file system, processes,memory, devices and network ports.
Kubernetesis an open-source system for automating deployment, scaling and management ofcontainerized applications across a cluster of nodes. Kubernetes is a powerful system, developedby Google, for managing containerized applications in a clustered environment.It aims to provide better ways of managing related, distributed componentsacross varied infrastructure.