Helm is a tool which helps to manage Kubernetes applications. Deploying applications to Kubernetes is not a simple task and some of the concepts and techniques for deploying and managing applications and services has a steep learning curve. To deploy a simple spring boot application with PostgreSQL backend, explained in blog we had to write … Continue reading What is HELM, why do you need it & what problem does it solve for Kubernetes?
gitignore file is used to specify files which should be untracked by Git. Each line of the file represents a filename, directory, or pattern. When git looks for changes in your working directory, it will automatically ignore any file that matches an entry in your .gitignore file. For example, when working for a java spring … Continue reading What is .gitignore and how do i generate or write one?
Embedding code snippets in power point for any presentation is a painful task , as there is no support to format the code or present it with proper indentations or the way code is shown in an editor One trick is to grab the screen shot and then paste it on powerpoint but the end … Continue reading Embedding source code into powerpoint.
Yes, you can copy files from host to container and from container to host. The docker cp utility copies the contents of source to the destination. You can copy from the container’s file system to the local machine or the reverse, from the local filesystem to the container. Localhost --> Container docker cp <path of … Continue reading Can i copy files from host to container and from container to host ? If so, how can i do it ?
A Secret object in kubernetes contains sensitive data such as client secret, password, token or a key. Secrets provide a way to store these sensitive informations separately from Pod definitions or container images. Since these secret objects can be created independently from Pod, there is a less risk of these information being exposed during the … Continue reading What are secrets in Kubernetes & how do you use it ?
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
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
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 ?
As part of development or learning activities seldom, we will need APIs which can provide some meaningful data.This could be for development or learning of web applications or to build a Kafka based application using connect or streams.Below is a list of some free publicly accessible APIs, which can be used in such scenarios API … Continue reading Free public APIs
One of the annoying task while making postman calls , is to generate the access token and then copying it and pasting it in every request call.One of the easy way to handle this is , by using the postman variables.Basically, you can generate a token or any other value and can store it in … Continue reading How to automatically inject tokens in postman calls without copy pasting it in every request call ??