This post will delve into the essential steps and best practices for building and exploring a Docker file with a variety of real-time use cases. By examining different scenarios, it will become easier to grasp the practical applications of Docker in various real-world contexts. Whether it's deploying a web application, setting up a database, or… Continue reading How to build a docker file in real-time environment – Part 1
Author: manikandankulandaivelu
Java custom exception for your application
To create custom Exception we need to understand basic Java exception .I will go over some basic concepts and then will go for custom exception. Exception Hierarchy Checked – This exception for recoverable condition, try-catch the exception explicitly. Checked exceptions occur at compile time. It extends java.lang.Exception, Unchecked – Unchecked exceptions occur at runtime. It Extends java.lang.RuntimeException. Errors -… Continue reading Java custom exception for your application
Installing and Managing JAVA on MAC OS
To install different version of JAVA on mac is tedious work .Today post ,I will explain how to install Java on Mac using HomeBrew. Install HomeBrew Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple's macOS operating system and Linux. We will use this homebrew to install a different version of… Continue reading Installing and Managing JAVA on MAC OS
InitContainers in Kubernetes
Init containers Sometimes in kubernetes ,one container in Pod wait for another container due to several reasons . For instance , Pod is waiting for1 Another pod service to come up 2 Initialising the database 3 Loading heavy application .During this time, if you connect the pod ,it will fail with error. Even If you… Continue reading InitContainers in Kubernetes
Adding environment variable from file in kubernetes
Environment variables plays an important role in micro service pod deployment .In kubernetes pod, we declared all the environment variable in deployment file in the "env:" section .Sometimes it is tedious to cover all of them because each micro service have their own Env key and values . To solve this ,we have to pass… Continue reading Adding environment variable from file in kubernetes
Mounting volumes to kubernetes Pod container using helm chart
Helm chart for volume mount In this article ,I will explain how to mount a folder/file in a kubernetes pod container using helm chart . There are some useful functions in Helm which makes our Job easy ,let's go and create the volume mount .Create a config map as mentioned below . Mounting a Folder… Continue reading Mounting volumes to kubernetes Pod container using helm chart
Copy Jobs between Jenkin servers
There is a command line to tool for copying Jobs between servers .To do that ,download the jenkincli.jar from Jenkins ->Manage Jenkin -Jenkin Cli. Now lets go the command line where your jenkin cli downloaded and run the below command , java -jar jenkins-cli.jar -s https://server1.com/ copy-job SRC DST Copies a job. SRC : Name… Continue reading Copy Jobs between Jenkin servers
Helm Chart for Kubernetes
Helm chart for Kubernetes deployment Helm charts are bit complicated when it comes to implementation.In this article I will discuss how to use them efficiently and simple way. I don't want to explain the helm architecture because you can find enormous document in online .I explain some important concepts which every helm developers should know… Continue reading Helm Chart for Kubernetes
Handbook for Docker commands
In this article, I've listed important Docker commands, aiming to provide developers with a convenient single-source reference for basic commands. Installing Docker on Mac To install the Docker community version, run the command: brew install docker --cask Once it's installed successfully, launch the Docker application and verify it with the command: docker ps To build… Continue reading Handbook for Docker commands
A Simple guide to start Git Project for Developers
I have gone through lot of search on How to start a Git project for newbies but couldn't find proper document so thought of writing this article . First step is to clone the project to your local repository . Here is the sample project link , https://github.com/test/sample-project .Since my machine is Windows, I am… Continue reading A Simple guide to start Git Project for Developers