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?
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
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 ?
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??
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
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 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
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