Summary
Keywords
Full Transcript
Enable HTTPS on Kubernetes Gateway API using NGINX Gateway Fabric step by step! In the previous video, we deployed the Gateway API and routed traffic to Blue/Green applications over HTTP. In this video, we upgrade the entire setup to HTTPS using a self-signed TLS certificate, Kubernetes secrets, and TLS termination on the Gateway. This is the best beginner-friendly guide before moving to automated certificate management using cert-manager in the next video. What you'll learn in this video - Why Gateway API shows ClusterIP but still works externally - How NGINX Gateway Fabric automatically creates a NodePort service - Creating a self-signed TLS certificate using OpenSSL - Adding certificate + key into Kubernetes as a TLS Secret - Updating Gateway API to enable HTTPS on port 443 - Adding hostname in HTTPRoute for proper TLS routing - Testing Blue/Green applications over HTTPS nodeport - Understanding TLS termination at Gateway level ▬▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬▬ 00:00 - Intro & What We Achieved in the Previous Video 00:38 - Why Gateway Shows ClusterIP but Still Works Externally (NodePort Explained Simply) 03:37 - Generate a Self-Signed TLS Certificate Using OpenSSL 05:26 - Create Kubernetes TLS Secret for the Certificate 06:15 - Configure Gateway API to Enable HTTPS (Port 443 + TLS Termination) 08:43 - Add Hostname in HTTPRoute to Support HTTPS Routing 10:49 - Testing Blue/Green Apps Over HTTPS (NodePort + curl) 12:17 - Quick Recap of the Full TLS Setup 13:21 - Conclusion + Next Video: Fully Automated TLS with cert-manager Why is this video important? Once you learn how to manually set up TLS, you will easily understand how tools like cert-manager automate everything — which is exactly what we will cover in the next video. 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 #kubernetes #devops #gatewayapi #nginx #ingress #k8s #cncf
