Category

DevOps Tools, CI/CD and Automation Guides

Master DevOps with tutorials on CI/CD pipelines, Kubernetes, Docker, Git, and automation tools used in modern infrastructure.

The DevOps section focuses on automation, CI/CD pipelines, and modern infrastructure management tools.

DevOps combines development and operations to improve software delivery and system reliability. This category includes tutorials on tools like Docker, Kubernetes, Git, and CI/CD workflows.

To strengthen your foundation, also explore Linux and Programming.

283 articles

DevOps category illustration with CI/CD, Docker, and Kubernetes graphics
devops

#1-ELK Stack: Configure elasticsearch cluster setup CentOS/RHEL 7/8

Elasticsearch Tutorial on ELk Stack to configure elasticsearch cluster in RHEL/CentOS 7/8 Linux with examples. Get cluster helath status, node types, stats

Deepak Prasad20 min read
devops

Install & configure glusterfs distributed volume RHEL/CentOS 8

Steps to install and configure glusterfs distributed volume on two cluster nodes with RHEL/CentOS 8. GlusterFS Tutorial with shared storage Red Hat/CentOS 8

Deepak Prasad9 min read
devops

Configure Pod storage with Kubernetes Persistent Volume (PV)

A Kubernetes Persistent Volume (PV) is a piece of storage in the cluster that has been provisioned by an administrator or dynamically provisioned using Storage Classes

Deepak Prasad16 min read
devops

Beginners guide on Kubernetes StatefulSets with examples

A Kubernetes StatefulSet makes sure pods are rescheduled in such a way that they retain their identity and state. It also allows you to easily scale the number of pods up and down.

Deepak Prasad10 min read
devops

Beginners guide on Kubernetes RBAC with examples

The Kubernetes API server can be configured to use Role Based Access Control (RBAC) to check whether an action is allowed to be performed by the user requesting the action

Deepak Prasad13 min read
devops

Steps to perform Kubernetes upgrade version (without downtime)

Steps to perform kubernetes upgrade version requires updating controller followed by worker node. Update kubeadm and drain the node.

Deepak Prasad12 min read
devops

Deploy multi-node K8s cluster on Rocky Linux 8

Step by step instructions to setup and deploy multi-node kubernetes cluster on Rocky Linux 8 using containerd and calico CNI

Deepak Prasad10 min read
devops

How to debug Kubernetes OOMKilled Error (Exit Code 137)

OOM is an abbreviation for Out Of Memory and if you are working in IT Field then you may not be new to this term. This can be a nightmare for developers and

Deepak Prasad10 min read
devops

How to set up GFS2 with clustering on Linux ( RHEL / CentOS 7 )

configure and setup gfs2 file system with pacemaker cluster on rhel or centos 7 linux. configure gfs2 fs resource constraint using clvmd and dlm

Deepak Prasad11 min read
devops

Set up GitLab with Visual Studio Code from Scratch

Step by Step instructions to setup gitlab with visual studio code with screenshots. Connect GitLab with VSC and create your first project, commit changes, push to gitlab using VSC.

Steve Alila7 min read
devops

How to assign Pods to Nodes | Kubernetes Node Affinity

In this tutorial we'll show how we can use node affinity to schedule application pods as per our needs.

Deepak Prasad7 min read
devops

Kubernetes subPath Examples | MountPath vs subPath Explained

The Kubernetes subPath property prevents overwriting of existing data by mounting a single file from the volume instead of mounting the whole volume. We'll

Deepak Prasad6 min read
devops

Steps to expose services using Kubernetes Ingress

Kubernetes Ingress provides a granular mechanism for routing requests into a cluster. Ingress does not replace Services but augments them with capabilities such as path-based routing.

Deepak Prasad9 min read
devops

How to set up Visual Studio Code Remote SSH with GitHub

Step by step instructions to setup visual studio code remote SSH with GitHub

Steve Alila7 min read
devops

Set up GitHub with Visual Studio code

Step by step instructions to setup GitHub with Visual Studio Code. Write your first commit, create branch, pull and push your changes to remote repo using visual studio code

Steve Alila7 min read
devops

How to use Jinja2 templates in Ansible with examples

Jinja2 is a very popular and powerful Python-based template engine. Jinja2 templates is widely used in Ansible playbook to access variables, configuration etc

Deepak Prasad10 min read
devops

Pre-requisites to setup Ansible

To configure ansible we need certain pre-requisites. For example control node cannot be a windows node, We need SSH access on the managed node and python3 must be installed

Deepak Prasad3 min read
devops

Check Kubernetes Cluster Version

In this tutorial I will share multiple methods and commands to check Kubernetes Cluster Version in a Kubernetes Cluster.

Deepak Prasad7 min read
devops

How to add label to running pod in Kubernetes

There are two methods to add label to running pod in Kubernetes. Using kubectl label pods or kubectl edit command to edit a resource object.

Deepak Prasad6 min read
devops

Git rebase explained in detail with examples

git rebase is used to integrate changes from one branch into another. rebase takes a series of commits (normally a branch) and replays them on top of another commit (normally the last commit in another branch). The …

Deepak Prasad12 min read
devops

How to add or remove label from node in Kubernetes

Add a label to node. Remove a label from node. Use kubectl label node to add or remove a label from worker or controller nodes in Kubernetes Cluster

Deepak Prasad5 min read
devops

How to configure Ansible on controller and managed node

Step by step instructions to configure ansible on RHEL/CentOS 8. Since ansible is agentless we don't need any configuration on managed nodes.

Deepak Prasad3 min read
devops

How to use Ansible managed nodes without Python

How to use ansible without installing python3 on managed nodes. Can we use ansible without python? How to use raw module in Ansible?

Deepak Prasad2 min read
devops

Working with managed nodes with password (not passphrase)

We can also use password instead of passphrase to connect with controller to managed nodes using --ask-pass. By default ansible will not prompt for any password.

Deepak Prasad2 min read
devops

Working with Ansible facts | Create custom facts with examples

Ansible facts is a term used for system information of the managed nodes. By default ansible playbook will gather facts from the managed nodes using setup module

Deepak Prasad3 min read
devops

Beginners guide to YAML Syntax in Ansible Playbooks

YAML uses indentation (like Python), which builds the relationship of items with one another and In Ansible, nearly every YAML file starts with a list.

Deepak Prasad4 min read
devops

How to repeat tasks using ansible loop with examples

Ansible loop is used to iterate over multiple tasks in playbook. It supersedes with_items in Ansible with later version as with_* are deprecated

Deepak Prasad7 min read
devops

Working with include and import module in Ansible

We can use Ansible import module to add playbook, tasks from another file into a different playbook. This can help use the same set of tasks across multiple playbook and save space

Deepak Prasad6 min read
devops

Steps to properly remove node from cluster in Kubernetes

Related Searches: drain kubernetes node, kubectl drain command, remove node from cluster kubernetes, kubernetes evict pods from node, kubernetes drain and

Deepak Prasad6 min read
devops

Helm hook-weight examples to order Jobs in Kubernetes

You can use the helm.sh/hook-weight annotation to hook resources that need to be created in a specific order. This weight can be any positive or negative integer number.

Deepak Prasad7 min read