OSI Model

It stands for Open System Interconnection. Initially there was no standard protocols but later ISO (International Standards Organization) has setup some common protocols to standardize network communication.OSI has been divided into seven layers. Physical LayerThis is the first layer in OSI model where data arrives in raw format (in bits). It is responsible for communication […]

Docker File

Docker File Docker file is basically used for automating image building. This is done via all details provided to a file which is known as Docker file.It is very useful for building images. You don’t need manual intervention to build images, upgrade it etc.You can write it anywhere in the system where you have access. […]

Extend resource capacity in Kubernetes Quota

How to extend resource capacity in Kubernetes Quota? If we capacity has been exhausted and we need to extend it. We can do in two way.Vertical and Horizontal upgrade.By horizontal upgrade, you can go ahead and add one more replica to running deployment. # kubectl get pods NAME READY STATUS RESTARTS AGE varelite6-6545486c46-mj62w 1/1 Running […]

Kubernetes Resource Quota

Quota in Kubernetes is very helpful in administrating the deployments. We can decided these at Deployment level and namespace level as well. We can also configure at Objective level like Pods, RC or RS. Users can work in different name space with different resource quota and can decide what can be useful for app or […]

Some Commands helpful in Bash Shell Scripts

# cat /etc/crontab (To read/print any file) # cat –n /etc/crontab (To print files with line number) # cat /etc/crontab /etc/passwd (To print multiple files together) # tac /etc/crontab (To print exact opposite output from cat command) # wc /etc/crontab (To print line, word, character count of file) # wc -l /etc/crontab (To print line […]

Basic Operators in Shell Scripting

Logical Operator or Boolean Operator: && -a {Logical AND}: Execute the command when both conditions are true || -o {Logical OR}: Any of one condition will work. ! ! {Not equal to}: Negates the result of the condition. Note: If you will use “-a, -o, !” you need to use [ ] in condition while […]

Pod Scheduling

Pod scheduling is the the process of assigning nodes to pods in kubernetes cluster. Kubernetes scheduler service is responsible for finding nodes to run pods. We have few types of Pod Scheduling. Types of Pod Scheduling 1. Node Name based scheduling2. Node Label and Node Selector based scheduling3. Taint and toleration based scheduling Node Name […]

Quotes in Bash Shell

Quotes are very crucial in Bash Shell Scripting. These are used to define and delimit strings in shell or Shell scripts. It can disable the special treatment of a special character. It is also very helpful to prevent reserved words. You can use them to run commands in shell, Processing variables in shell, etc.There are […]

Deployments in Kubernetes

What is Deployments in Kubernetes? A deployment in kubernetes is basically a resource objects that provides declarative updates to applications. You can set images, life cycle of a pods, how many replicas will be running etc. We work to match application current state to desired state. Deployments are a higher-level resource that manages ReplicaSets and […]

Shells in Linux

What is Shell? Shell is a command-line interpreter in Linux that provides a user interface for interacting with the operating system. It basically interprets the commands entered by the user and executes them by interacting with the system’s kernel to perform the tasks initiated by users. Shells are a very important component of the Linux […]