A Savior – Imperative in K8s

There are two basic ways to deploy to Kubernetes: Imperative acts as a command which is active and immediate, whereas declarative is passive, by writing manifest file and using kubectl apply.

Why Imperative?

The imperative command is the first mode of managing objects, to use CLI for CUD (Create, Update, Delete) objects on Kubernetes cluster without specifying on manifest file ahead of time. They are a blessing for Kubernetes application developers and administrators because they are very easy to remember and handy. According to K8s, it’s like a ‘Swiss Army Knife” of container orchestration and management.

Imperative commands can help in getting tasks done quickly, as well as generating definition file templates easily. It saves a considerable amount of time and prevents human errors.

Continue reading “A Savior – Imperative in K8s”

AWS Elastic Network Interface

Networking plays an important role in connecting the components of infrastructure. AWS networking feature works with various types of workloads and provides security, availability, and manageability. Now as most of the IT companies are working on cloud environments for cost reduction, high availability, data security, we are getting some interesting networking features as services. We can manage these quite easily too. Among those services is Elastic Network Interface (ENI) which we get by default when we create an EC2 instance on AWS and can be seen while the instance is being created. It may surprise many of us that the security group is attached to this elastic network interface.

Continue reading “AWS Elastic Network Interface”

Introduction To Microservices

Introduction

There has been a rapid development in the application development industry in order to keep pace with the technological advancements and to meet customer requirements. However, while working with the traditional developments, people had to use large chunks of code. This made the entire task difficult as people had to go back to square one to resolve a minute problem. Microservices help overcome this by breaking applications into smaller, manageable parts. Continue reading “Introduction To Microservices”

How To Debug a Bash Shell Script?

The fastest way to debug a Bash script is to enable debug mode. This prints each command before execution, helping you find problems. 

In this tutorial, we’ll explore various techniques for debugging Bash shell scripts. Although the Bash shell doesn’t have a built-in debugger, we can effectively use certain commands and constructs to aid in this process. First, we’ll understand how to use the set command for script debugging. Next, we’ll discuss specific uses of the set and trap commands. Finally, we’ll outline some strategies for debugging a script that’s already running.

What is Shell?

The UNIX shell program interprets user commands which are either directly entered by the user, or which can be read from a file called the shell script or shell program. Shell scripts are interpreted, not compiled. The shell reads commands from the script line per line and searches for those commands on the system. Continue reading “How To Debug a Bash Shell Script?”

An Introduction to Kubernetes Architecture! 

Kubernetes is an open-source container orchestration platform used for running distributed applications and services at scale. Merely knowing the basics of Kubernetes won’t be sufficient enough in order to leverage the many advantages that it offers. It’s important to first understand the complete Kubernetes architecture, its components and how they interact with each other to know how Kubernetes actually works. Let’s take a brief look and explore how the different components of Kubernetes work together.

Kubernetes is the ideal solution for complete orchestration, scaling and deployment of containerized applications. You can also read about application containerization, Kubernetes API, Kubernetes API Gateway and much more here!

Continue reading “An Introduction to Kubernetes Architecture! ”