Deploy Spring Boot Application on Kubernetes
Deployment on Kubernetes The blog assumes that minikube and kubectl are setup on your machine. In addition the OS supports virtualization. The setup can be done using the following link: https://kubernetes.io/docs/setup/learning-environment/minikube/ The blog focusses on deploying your spring boot application on a kubernetes. As a pre-requisite, the docker images for the applications that need to be deployed should already be present in a public docker hub repository. For more instructions , kindly refer to the previous blog post : Dockerization of Spring Boot applications. Configuration Files Creation of Deployment.yaml The first step is to create a deployment.yaml for each application. The deployment yaml contains instructions like the name of the application, the number of replicas, name of the image etc. The yaml files can be executed using kubectl which will enable kubernetes(minikube) to create a service, pod as...