Setup of spring boot application & initialization of PostgreSQL database on Kubernetes – PART 2

In the PART 1 of this blog series, we deployed a PostgreSQL database on minikube. In this part, we will deploy spring boot application . I have mentioned in PART 1 , how to dockerize and upload the order service to docker registry. The application.properties of the service , will get the details of database … Continue reading Setup of spring boot application & initialization of PostgreSQL database on Kubernetes – PART 2

Setup of spring boot application & initialization of PostgreSQL database on Kubernetes – PART 1

How to deploy a containerized spring boot application , with PostgreSQL as database on minikube. This post will also share details on how to initialize the database with tables and data during the initialization process. Will use a spring boot application order service with a REST endpoint to fetch customer details GET /customers It uses … Continue reading Setup of spring boot application & initialization of PostgreSQL database on Kubernetes – PART 1

How do you give arguments to a docker container? What is CMD & ENTRYPOINT in a docker file ?

If you want to build a docker container which takes argument or needs an argument at the startup , how do you do that ? Example: We have a java program , which adds two number and we want users to pass arguments when they do docker run.. so how do we accomplish that when … Continue reading How do you give arguments to a docker container? What is CMD & ENTRYPOINT in a docker file ?