Skip to content

PRO TIP Block youtube.com at the DNS level โ€” Pi-hole, NextDNS or your hosts file โ€” but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

DevOps Tutorial #119: Kubernetes ConfigMap & Secrets Explained | Store Env Vars in Pods | 2025

1.7K views on YouTube

Confused between ConfigMap & Secrets in Kubernetes (K8s)? ๐Ÿ” You’re not alone!
In this beginner-friendly DevOps Tutorial, I explain how to securely manage environment variables in your Kubernetes apps using ConfigMap and Secrets.

This complete hands-on guide (in Hindi/Urdu) will show you how to inject environment variables and sensitive credentials into Pods in the right and secure way โ€“ using YAML files and real-time Minikube setup on Windows.

๐Ÿš€ What You’ll Learn Step-by-Step:
โœ… What is a ConfigMap?
โœ… What is a Secret in Kubernetes?
โœ… Difference between ConfigMap vs Secret
โœ… How to create ConfigMap & Secret YAML files
โœ… Inject them into Pods using envFrom
โœ… Base64 encoding for secret values
โœ… kubectl commands for real-time testing
โœ… Secure handling of DB passwords inside Pods
โœ… Use-case explanation with real-world example

๐ŸŽฏ Perfect for DevOps engineers, students, and working professionals who want to master environment management in Kubernetes with confidence!

๐Ÿ“บ Subscribe to The Techzeen for more practical Kubernetes tutorials
๐Ÿ”ฅ Become a Champion in DevOps with Kubernetes (K8s) Expertise in 2025

Source Code:
https://github.com/farzeen-ali/Kubernetes-ConfigMap-Secrets

DevOps Lecture Notes:
https://github.com/farzeen-ali/DevOps-2025-Important-Concepts

DevOps Tutorial 2025:

React Native Full Course 2024 :

Angular 19 Tutorial:

React Native Expo CLI Tutorial:

#DevOpsTutorial #KubernetesSecrets #ConfigMap #K8sEnvVars #Kubernetes2025 #Pods #K8sBeginner #Minikube #Base64Encoding #KubernetesHindi #KubernetesUrdu #TheTechzeen #Kubernetes #K8s #DevOps #DevOpsFullCourse