Kubernetes provides several powerful mechanisms for managing application configuration, sensitive information, containers, and access to the Kubernetes API. In this hands-on practice, I worked through: This article documents the complete workflow step by step. 1. Checking Existing ConfigMaps I started by checking the ConfigMaps already available in the namespace. Flow A ConfigMap is used to store non-sensitive configuration data separately from application code. 2. Creating a ConfigMap with Literal Values
Tag: Kubectl
Below is the clean and correct command sequence for practicing Kubernetes Deployment, Scaling, Rolling Update, Rollout History, and Rollback. 1. Create a Deployment YAML file Use this YAML: Save and exit: 2. Create the Deployment Check the Deployment: Watch the Deployment: Press: to stop watching. 3. Check all resources Check Pods: Check ReplicaSets: 4. Learn kubectl create deployment Display help: Create another Deployment: Check all Deployments: Check only app1: 5.
In this blog, I will demonstrate: What is ReplicationController? A ReplicationController (RC) ensures that a specified number of Pod replicas are always running. If a Pod crashes or is deleted accidentally, Kubernetes automatically creates another Pod. Responsibilities Lab-1: Create a Single Pod Create an nginx Pod. Output Check the Pod. Output Delete the Pod Output Check again. Output Notice that Kubernetes does not recreate the Pod because it is an
A Kubernetes cluster consists of two main components: The recommended upgrade order is: In this tutorial, we will upgrade a Kubernetes cluster from v1.35.1 to v1.35.2 using kubeadm. Kubernetes Cluster Architecture Prerequisites Before starting the upgrade, ensure that: Current Cluster Version Example Output Part 1 — Upgrading the Control Plane The Control Plane manages the Kubernetes cluster. It is responsible for scheduling Pods, maintaining cluster state, handling API requests, and
🌐 Introduction Kubernetes is the most popular container orchestration platform used by companies worldwide. As a CKA (Certified Kubernetes Administrator) candidate, one of the most important skills is building a Kubernetes cluster from scratch. In this lab, we will: ✅ Create a Kubernetes Cluster using Kubeadm✅ Install Containerd Runtime✅ Configure Kernel Modules✅ Install Kubernetes Components✅ Deploy Calico Network Plugin✅ Join Worker Nodes✅ Verify Cluster Health ☁️ Step 1: Create a