Kubernetes storageclass using OpenEBS Local PV HostPath — Complete Step-by-Step Kubernetes Tutorial

Dynamic storage provisioner: openebs.io/localLab platform: Self-managed Kubernetes v1.35.10 on Ubuntu Linux (kubeadm or other manual installation)OpenEBS release referenced: OpenEBS 4.6.2 (HostPath engine v4.6.0), current as checked on November 12, 2026Lab…

Read More

Kubernetes Deployment Explained: API Resource, YAML Example, and Use Cases

Fearture of Kubernetes Deployment Note:ReplicaSets = Replication+Controller in the Deployment Kubernetes Deployement Strategy Type of deployment .spec.strategy specifies the strategy used to replace old Pods by new…

Read More

Understanding Authentication & Authorization in kubernetes

Authentication – How User’s access should be allowed? The process or action of verifying the identity of a user or process.Authorization – What Access and till what…

Read More

Kubernetes 1.23.6 Cluster Setup Master and Worker in Ubuntu 20.04

Latest doc – https://github.com/certifications-tutorials/kubernetes-cluster-setup Following commands would help you to create 1 Master and 1 Node in same VM. Run Following commands in Master Node Run following…

Read More

Kubernetes PersistentVolume, PersistentVolumeClaim, volume using hostPath

pv.yaml $ kubectl create -f pv.yaml $ kubectl get pv pvc.yaml $ kubectl create -f pvc.yaml $ kubectl get pvc pod.yaml Rajesh KumarI’m Rajesh Kumar, a DevOps,…

Read More

Kubernetes: How to Run a Pod and Get the EGRESS IP Address KubernetesEKS

1. Deploy a Pod to Your Cluster You can launch a simple Pod using the kubectl run command. For example, to run an NGINX Pod: bashkubectl run…

Read More

Openshift: Lab 1 – Use the terminal window within the Red Hat OpenShift web console

In this lesson, you will learn how to access the terminal window within the Red Hat OpenShift web console and use it to work with various OpenShift…

Read More

Troubleshooting Guide to Resolving 500 Errors in Kubernetes Production Environments

Source – https://github.com/rajeshkumarin/k8s-500-prod-issues 📘 Scenario #1: Zombie Pods Causing NodeDrain to HangCategory: Cluster ManagementEnvironment: K8s v1.23, On-prem bare metal, Systemd cgroupsScenario Summary: Node drain stuck indefinitely due…

Read More

Openshift: Comprehensive Guide: oc vs kubectl CLI

Here’s a comprehensive guide comparing the oc (OpenShift CLI) and kubectl (Kubernetes CLI) commands, focusing on their differences, similarities, and real-world usage. This is especially useful for…

Read More

List of Commands troubleshoot networking in Kubernetes

2024 Notes Troubleshooting networking in Kubernetes can sometimes be complex due to the distributed nature of containerized applications. Below is a list of commands with explanations to…

Read More

What is Kubernetes Pod disruption budget and Explained with example

A Kubernetes Pod disruption budget (PDB) is a policy that defines the minimum number of pods that must be available at any given time for a particular…

Read More

Kubernetes Tutorials: How to modify CHANGE-CAUSE in Deployment revision

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Helm Lab – 4: Creating and Packaging a Helm Chart

Windows Commands Linux Commands Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best…

Read More

Helm Lab – 1: Configure Kubernetes – Install Helm – Deploy Chart

Step 1 – create one ubuntu 20.x in aws Step 2 – Setting up a K8 Cluster Step 3 – Install Helm Step 4 – Deploy one…

Read More

How to get port of a pod in Kubernetes?

To get the port of a pod in Kubernetes, you can use the kubectl command along with the get and describe options. Here are the steps: 1….

Read More

Node port forwarding Concept in Kubernetes

In Kubernetes, the concept of “node port forwarding” allows you to access a service running on a specific node in your cluster. It enables you to access…

Read More

Debug if pod fails to create in Kubernetes

When a pod fails to create in Kubernetes, you can follow these steps to debug the issue 1. Check the pod status: Example output: In this example,…

Read More

Kubrnetes: Example of StorageClass

Choose a storage class and set it as your default by setting the storageclass.kubernetes.io/is-default-class=true annotation. Scheduling based on Node label selector The ‘Allowed Topologies’ feature allows you select the…

Read More

How to install & Upgrade ArgoCd?

Requirements for installing ArgoCd Type of installations Argo CD Multi-Tenant The multi-tenant installation is the most common way to install Argo CD. This type of installation is…

Read More

Kubernetes Tutorials: List of Components of Kubernetes

Kubernetes Cluster A Kubernetes cluster consists of control plane, worker nodes, and pods. Control plane components are: Scheduler, ETCD, API server, and control manager. Node components are…

Read More

Minikube Tutorials: Minikube Basic Workflow

Step 1 – Start your cluster From a terminal with administrator access (but not logged in as root), run: $ minikube start –driver=virtualbox If minikube fails to…

Read More

Getting Started with Cloud Foundry for Kubernetes using cf-for-k8s in Linux(Ubuntu)

Step 1- Install the cf CLI Using a Package Manager Step 2- You will need kubectl to interact with your cluster kubectl install instructions Step 3 –…

Read More

How kubectl communicate with API server?

Workstation– kubectlread a file from 2 Location~/.kube/config && KUBECONFIG (env var) What is content of this “config” file?– ITS YAMLContains Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE,…

Read More

What is kubectl and How to configure it for accessing kubernetes?

Use of kubeconfig file In order for kubectl to find and access a Kubernetes cluster, it needs a kubeconfig file, which is created automatically When you create…

Read More

How to install and Configure kubectl?

To install kubectl on macOS Download the latest release: To install kubectl on Linux Download the latest release with the command: To install kubectl on Windows Rajesh…

Read More

What is metrics-server and How to Install metrics-server in kubernetes?

Metrics Server is a scalable, efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines. Metrics Server collects resource metrics from Kubelets and exposes them in…

Read More

List of Popular Tools and Applications in Kubernetes ecosystem

K8s Cluster Management kubespray – Deploy a Production Ready Kubernetes Cluster kops – kops helps you create, destroy, upgrade and maintain production-grade, highly available, Kubernetes clusters from the command…

Read More

Kubernetes Commands: kubectl config – Tutorials and Examples

The kubectl command-line tool uses kubeconfig files(file named with – config) to find the information it needs to choose a cluster and communicate with the API server…

Read More

Kubeadm Errors: network plugin is not ready: cni config uninitialized

Error Message Solution Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices….

Read More

Kubernetes Interview Questions and Answer Part – 6

Which of the following is correct about Kubernetes Pods? Pods can only contain a single VM Pods can only contain a single container Pods can contain one…

Read More