Posts

Kubernates configMaps and Volumes

Image
Store data is an everyday necessity in many applications; in this post, we want to cover some relevant aspects of persisting data using volumes and their application to save environment variables in Spring Boot. Prerequisites   Spring Boot : this is the framework used to develop the app.   Clean Architecture : The project follows Martin Fowler's advice in the book "Clean Architecture.".   Docker: This technology packages the essential components to deploy apps (you need to install it).   Minikube: This tool enables a local environment to work with Kubernetes (you need to install it).    Kubectl : is a client that works with the Kubernetes cluster (you need to install it).     The Project Volumes are the type of objects that persist data in Kubernetes. However, it manages different kinds of them; in this case, we use the “emptyDir” class to store the environment variables because it allows storing data in the pod level so every contain...