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

Why is POD the smallest deployable unit in Kubernetes and not containers??

Kubernetes does not work directly with containers, it uses POD as the smallest deployable unit.A container contains all our application code and its dependencies packaged as a single unit, but in order for Kubernetes to run and manage these containers, it needs additional features, for example restart policy which defines what to do with a … Continue reading Why is POD the smallest deployable unit in Kubernetes and not containers??

Pods & Containers in Kubernetes

A pod is a group of one or more containersA container is a package with software and all its dependencies required to run the application bundled together.Containers are grouped as pods and they are the smallest execution unit in KubernetesKubernetes work with pods.All the containers in a pod run in a shared context and are … Continue reading Pods & Containers in Kubernetes

Kubernetes Namespaces & Kubens

As you start deploying Pods, Deployments, Services etc. on the kubernetes cluster, these objects will grow exponentially and maintaining them becomes a challenge.For example, different teams cannot create services or deployments with the same name or listing of all the pods will take time as the number of pods grow.Namespace is a kubernetes object that … Continue reading Kubernetes Namespaces & Kubens

Kubernetes Cluster & Process Flow of a POD creation

Kubernetes in a production environment will have a collection of clusters.In this kind of setup, generally one of the server will be a master node and rest of the nodes will be worker nodesMaster node does not run any workload and is in-charge of distributing tasks to the worker nodes. You can run workloads on … Continue reading Kubernetes Cluster & Process Flow of a POD creation

Containers and Developer Experience – 2

In the previous blog i shared how Jib, an open source tool maintained by Google accelerates the development of docker images for java based application.But if you are doing deployment in a Kubernetes environment then you should try Skaffold, another open source container tool from google which simplifies common operational tasks that you perform when … Continue reading Containers and Developer Experience – 2

Containers and Developer Experience

Packaging and shipping software as containers has numerous benefits, but doing it without the right tools and techniques leads to poor developer experience.Some of the challenges that i faced are: Local Installation of Docker : Getting Docker installed with root account or account with root privileges has been a challenge due to organizations security policies and this had … Continue reading Containers and Developer Experience

Minikube, kubectl and local development & deployment of apps in Kubernetes

A Kubernetes cluster is a set of physical or virtual machines and other infrastructure resources that are needed to run your containerized applications.Each machine in a Kubernetes cluster is called a node and there are 2 types of node in the clusterMaster node(s): this node hosts the Kubernetes control plane and manages the worker nodes … Continue reading Minikube, kubectl and local development & deployment of apps in Kubernetes

What is Kubernetes and why do you need it ?

Containers help to package an application, it's required libraries and dependencies to run it in any environment. It simplifies the packaging and distribution of application and have become increasingly popular as organizations shift to cloud-native development and hybrid multi-cloud environments.If i have a web application which needs a java runtime, web server, database and message … Continue reading What is Kubernetes and why do you need it ?