Loading video player...
Deploying apps on Kubernetes manually with kubectl apply, generating TLS certificates, creating secrets, and building ingress rules can be painful, especially in production, where you deploy dozens of apps, not one. In this video, I’ll show you how to automate everything with a single Ansible playbook using: ✅ kubernetes.core (K8s automation) ✅ community.crypto (TLS, key, certificate generation) ✅ Dynamic Jinja2 templating ✅ Fully idempotent Kubernetes deployments ✅ Automatic TLS, Secrets & Ingress creation By the end, you’ll see how Ansible integrates directly with Kubernetes to deliver production-grade automation without writing a single kubectl command. This is the same approach used by Platform Engineering & DevOps teams to eliminate human error and standardise application delivery. Code Repository: https://github.com/NikKumar811/ansible_basics_to_advance/tree/main/ansible_kubernetes_automation ▬▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬▬ 00:00 - Introduction - What This Video Solves 00:37 - The Real Reason We Automate Kubernetes Deployments 01:15 - Preparing Ansible to Work with Kubernetes (Requirements + Setup) 02:44 - Deep Dive: Ansible Playbook for Full Kubernetes Automation 06:55 - Demo: Deploy App + Auto TLS Certificates with One Playbook 10:11 - Final Thoughts & Next Steps What You Will Learn - How Ansible talks to Kubernetes without extra configuration - How to generate TLS keys, CSR and certificates automatically - How to build reusable, parameterised Ansible playbooks - How to automate Deployment, Service, Secret and Ingress in one run - How to pass variables dynamically for multi-app deployments For 1:1 mentorship, consultations, or career guidance, you can book a session with me here: https://topmate.io/nikhil_kumar811/ 🔗 Watch Related Playlists: - Kubernetes: https://www.youtube.com/playlist?list=PL-K2rw28HIwZVMo9CtbV0wDu548SN0h9Y - Github Actions: https://www.youtube.com/playlist?list=PL-K2rw28HIwYfq7SqYnBzAxlUhcYP7ldM - Ansible: https://www.youtube.com/playlist?list=PL-K2rw28HIwaavCXTYEWF4mP431KmKtEY - AWX: https://www.youtube.com/playlist?list=PL-K2rw28HIwbTtijpBMrOaHdnWGXdOkYa - AI: https://www.youtube.com/playlist?list=PL-K2rw28HIwaSvmI8oFeSQDl4cVTdxaGQ ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬ LinkedIn: https://www.linkedin.com/in/kumar-nikhil811/ Website: https://techinik.com Medium: https://medium.com/@kumarnikhil811