In the world of modern IT infrastructure, the choice between containers and virtualization can be a daunting one. Each technology offers unique advantages and trade-offs, making it crucial to have a clear decision framework to guide your choice. This blog aims to help you make an informed decision that aligns with your specific needs and … Continue reading VMs or Containers ?? How do i choose between these 2 options ?
How do you pass arguments to a POD in Kubernetes ?
In Kubernetes Pod YAML files, the "command" field tells the container what to do when the pod starts, and the "args" field gives it any parameter or augments needed. This sample java project, takes 2 number as an argument and shows the output. In case of a docker image, the way to pass command and … Continue reading How do you pass arguments to a POD in Kubernetes ?
What is SLI, SLO, SLA & Error budgets in Site Reliability Engineering?
SRE is a discipline which is used to automate IT operations tasks - e.g. production system management, change management, incident response, even emergency response - that would otherwise be performed manually by systems administrators (sysadmins). It can help organizations to improve the reliability of their software systems. SRE uses SLIs, SLOs, error budgets, and SLAs … Continue reading What is SLI, SLO, SLA & Error budgets in Site Reliability Engineering?
What is Epoch time and how do you get it in Java?
Epoch time, also known as Unix time or POSIX time, is a system for representing timestamps as the number of seconds that have elapsed since a specific reference point called the "epoch." The epoch is a fixed point in time from which all other timestamps are measured. In the context of Unix-based operating systems and … Continue reading What is Epoch time and how do you get it in Java?
How do you list all the PODs and containers in your Kubernetes cluster
To list all pods and containers use the below command kubectl get pods -o=custom-columns=POD:.metadata.name,CONTAINERS:.spec.containers[*].name To list all pods and containers in a given namespace use the below command kubectl get pods -o=custom-columns=POD:.metadata.name,CONTAINERS:.spec.containers[*].name -n <<namespace>> Output of the above command will show PODs and the containers against it in a tabular format. Details on what are … Continue reading How do you list all the PODs and containers in your Kubernetes cluster
What is a spring bean and is it different from Java class?
Spring beans and Java classes are both objects in Java, but they have different characteristics and are used for different purposes. A Spring bean is an object that is managed by the Spring Framework. This means that the Spring Framework is responsible for creating, configuring, and destroying the bean. Spring beans are typically used to … Continue reading What is a spring bean and is it different from Java class?
What is data lineage and why is it relevant?
Data lineage refers to the process of tracing the movement of data from its origin and the different stages of transformation it has to go through over a period of time before reaching its final destination. It provides a comprehensive view of the data source, its transformations, and its final destination within the data pipeline. … Continue reading What is data lineage and why is it relevant?
Inheritance & Java Sealed Classes
In Java, inheritance allows you to inherit the fields, methods, and nested classes of the parent class, and also add new features through polymorphism and method overriding. Declaring a class as final , prevents the class from getting inherited or extended. So at one end of the spectrum we have inheritance, which allows any subclass … Continue reading Inheritance & Java Sealed Classes
Mac keyboard shortcuts
A short blog to share Mac keyboard shortcuts that i use on a day to day basis for better productivity The shortcuts that i have compiled in this list are primarily for Taking Screenshot To Lock . Logout , Close Open windows Navigating between open applications Some short cuts for Safari or other web browsers … Continue reading Mac keyboard shortcuts
How to read variable set as File type in gitlab-ci.yml ?
If you have created variables in gitlab CI/CD setting, here is how you can access it in your gitlab-ci pipeline. In the above example, the variable has following settings Type: File Key: DB_ACCESS_URL Value: jdbc:oracle:thin:@myoracle.db.server:1521:my_sid To access this in your pipeline , gitlab provides 2 ways echo $Key will give the file path cat $Key … Continue reading How to read variable set as File type in gitlab-ci.yml ?