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

Easy steps to add node to existing cluster in Kubernetes

Install all the Kubernetes components i.e. kubeadm, kubectl, kubelet. Use kubeadm join command to add node to existing cluster in Kubernetes.

Deepak Prasad8 min read
devops

Steps to install Kubernetes Cluster with minikube

Deploy single node Kubernetes Cluster using minikube using Oracle VirtualBox on Windows environment. The cluster node will be on Ubuntu Linux.

Deepak Prasad6 min read
devops

Configure High Availability Cluster in CentOS 7 (Step by Step Guide)

Step by Step guide to configure high availability cluster in CentOS or Red Hat 7 using pacemaker and corosync, 3 node HA Cluster on Virtual Box or KVMs..

Deepak Prasad8 min read
devops

Helm hooks examples in Kubernetes for beginners

Helm hooks provides a means to hook into events in the release process and take action. Hooks like pre-install can be used to pass configmaps and secrets to the pods and Jobs

Deepak Prasad14 min read
devops

How to perform Kubernetes RollingUpdate with examples

Kubernetes RollingUpdate is used with deployments to perform updates time zero downtime by incrementally updating Pods instances with new ones.

Deepak Prasad14 min read
devops

#2-ELK Stack: Enable https with ssl/tls & secure elasticsearch cluster

Steps to enable HTTPS and SSL to secure elasticsearch cluster and ELK Stack using encrypted key and certificates in Linux with examples RHEL/CentOS 7/8

Deepak Prasad9 min read
devops

Setup KVM DRBD Cluster File System Pacemaker CentOS 8

Step-by-Step tutorial to configure DRBD CLuster File System with clone using Pacemaker 2.0 on KVM Virtual Machines with RHEL/CentOS 8 Linux. Verify DRBD Failover

Deepak Prasad11 min read
devops

How to install multi node openstack on virtualbox with packstack on CentOS

Install multi node OpenStack on VirtualBox using Packstack using CentOS 7 VM on Windows 10 laptop. Generate and configure packstack answer file for Openstack

Deepak Prasad22 min read
devops

SOLVED: Update ConfigMap & Secrets without Pod restart in K8s

In this tutorial, we'll explain how you can update the values of configmaps and secrets in Kubernetes without restarting the pods.

Deepak Prasad6 min read
devops

Examples to secure Kubernetes cluster nodes (security context)

The security context can be used to enhance Kubernetes security for the cluster node by applying different policies for the pods and containers.

Deepak Prasad13 min read
devops

How to perform kubernetes health check using probes

Kubernetes performs three layer of health checks using probes. You can use readiness, liveness or startup probes with tcpget, exec and httpget methods.

Deepak Prasad15 min read
devops

Binary Options Trading Bots: The Intersection of Finance and Programming

In the dynamic world of financial markets, binary options have carved a niche for themselves due to their simplicity and high potential returns. However, like

Deepak Prasad6 min read
devops

Perform Kubernetes Autoscaling | Horizontal Pod Autoscaler (HPA)

Kubernetes autoscaling requires a metrics-server to monitor the CPU and Memory usage. Horizontal Pod Autoscaler can be used to automatically scale up and down the number of pods based on provided CPU and Memory thresold …

Deepak Prasad10 min read
devops

Terraform: EKS Cluster Provision on AWS [10 Steps]

This article shall cover how to deploy an EKS cluster on AWS using Terraform. There are many ways to deploy an EKS cluster on AWS such as using the web

Deepak Prasad15 min read
devops

Kubernetes SecurityContext Capabilities Explained [Examples]

Create a privileged and non-privileged container inside a Kubernetes Pod. How to add or drop all the capabilities from a Pod. How to add single or pre-defined set of capabilities to a container. Understanding more about …

Deepak Prasad10 min read
devops

12 steps to setup Kubernetes Cluster on AWS EC2

We will setup Kubernetes Cluster on AWS EC2 instances with controller and worker nodes. Kubernetes Architecture on AWS Cloud.

Deepak Prasad27 min read
devops

kubectl port-forward examples in Kubernetes

Use kubectl port-forward to Pods if you need to directly communicate from your local machine to a given port on the Pod. This is achieved without manually exposing Service Objects

Deepak Prasad7 min read
devops

Kubernetes Networking Tutorial [Beginner to PRO]

Delve into the essentials of Kubernetes networking. Understand pod and container connectivity, learn about service types and their access modes, explore the architecture and customization of CoreDNS, and gather insights …

Deepak Prasad34 min read
devops

Helm Named Templates in Kubernetes [In-Depth Tutorial]

Dive deep into the creation and usage of Named Templates in Helm3. Understand how to define and call Named Templates, pass values to them, use control structures, and more. Also explore advanced topics, like creating …

Deepak Prasad15 min read
devops

What is fencing | Setup KVM cluster fencing RHEL CentOS 8

Step-by-Step Tutorial to configure cluster fencing, stonith device in RHEL and CentOS 8 Linux. Use fence_xvm to fence KVM HA Cluster nodes. Setup pacemaker fencing.

Deepak Prasad10 min read
devops

Beginners guide to Kubernetes Service Account with examples

Applications inside pods can be associated with a custom Service Account or default SA will be used. By default, pods run under the default ServiceAccount, which is created for each namespace automatically

Deepak Prasad10 min read
devops

Weather Data Made Easy: Mastering API Integration for Developers

Weather information is vital in our daily lives, from planning outdoor activities to making informed decisions in sectors like agriculture, transportation,

Deepak Prasad7 min read
devops

Install ELK stack on Rocky Linux 8

Step by step instructions to install ELK Stack on Rocky Linux. Install Elasticsearch, Logstash and Kibana

Deepak Prasad7 min read
devops

Create Pod Security Policy Kubernetes [Step-by-Step]

Step by step instructions to create pod security policy in Kubernetes. Verify securitycontext and linux capabilities with pod security policy

Deepak Prasad11 min read
devops

Writing Ansible playbook with Visual Studio Code

We can also use virtual studio code editor to write ansible playbooks by using the ansible extension and configuring settings.json. You can use Windows or Linux with VSC

Deepak Prasad3 min read
devops

Ansible Installation Guide on RHEL/CentOS 8

There are different methods using which you can install ansible using default package manager such as yum, dnf, apt, Using pip and using source compile file

Deepak Prasad3 min read
devops

Mount ConfigMap as file in existing directory - K8s

Mount ConfigMap as file into an existing directory in Kubernetes with and without helm charts. Mount files into an existing volume inside Pod container.

Deepak Prasad5 min read
devops

Kubernetes Secrets | Declare confidential data with examples

In this article we will explore the usage of Kubernetes Secrets using some real time scenarios and examples. Ideally we use Secrets to declare confidential

Deepak Prasad11 min read
devops

Ansible Vault Tutorial and Best Practices [Zero to Hero]

Unlock the potential of Ansible Vault for enhanced security and automation. Explore best practices, avoid pitfalls, and safeguard your sensitive data positively with Ansible Vault.

Deepak Prasad11 min read
devops

Mount multiple K8 secrets to same directory

Step by step instructions to mount multiple secrets to same directory in Kubernetes. 4 different ways to mount multiple secrets to same path.

Deepak Prasad6 min read