NGINX on Kubernetes, All The Details

DevOps and Docker Talk

Episode | Podcast

Date: Fri, 17 Feb 2023 09:30:00 -0500

<p>Bret is joined by two pros from the NGINX team, Robert Haynes and Brian Ehlert to break down the various use cases of NGINX on Kubernetes, and help you decide when and where you'll be using it.</p><p>There's a lot going on around NGINX and I wanted to focus this conversation around NGINX on Kubernetes, and specifically the two ways you can run it for cluster ingress. We also get into some of the advanced scenarios of using NGINX, like caching and web application firewalls (WAF).</p><p>Many of us are using NGINX somewhere in our clusters. I found it very interesting how Robert, Brian, and the team at F5 spend a lot of time showing customers how they can use it in many ways to avoid deploying additional products on their clusters. I'm a big fan of reducing complexity.</p><p>Streamed live on YouTube on December 15, 2022.</p><p><br /><strong>Unedited </strong><a href="https://www.youtube.com/watch?v=iFQ8uKjWulU"><strong>live recording</strong></a><strong> of this show on YouTube (Ep. #195).</strong></p><p>★<strong>Topics★</strong><br /><a href="https://www.nginx.com/blog/kubernetes-networking-101/">Intro to K8s networking</a><br /><a href="https://www.nginx.com/resources/library/managing-kubernetes-traffic-with-f5-nginx-practical-guide/">K8s + NGINX</a><br /><a href="https://github.com/kubernetes/ingress-nginx">The basic Kubernetes Ingress provider of NGINX</a><br /><a href="https://github.com/nginxinc/kubernetes-ingress">The official NGINX team Ingress CRD</a> (more features)<br /><a href="https://gateway-api.sigs.k8s.io/">Gateway API for K8s</a><br /><a href="https://www.nginx.com/blog/monitoring-nginx/">Monitoring NGINX</a><br /><a href="https://docs.nginx.com/nginx-ingress-controller/logging-and-monitoring/prometheus/">Monitoring NGINX with Prometheus</a></p><p><strong>★Brian Ehlert★</strong><br /><a href="https://twitter.com/BrianEh">Brian Ehlert on Twitter</a></p><p><strong>★Robert Haynes★</strong><br /><a href="https://twitter.com/TekBob">Robert Haynes on Twitter</a></p><p>★<strong>Join my Community</strong>★<br />New live <a href="http://bret.courses/autodeploy"><strong>course on CI automation and gitops deployments</strong></a><br />Best coupons for my <a href="https://www.bretfisher.com/courses"><strong>Docker and Kubernetes courses</strong></a><br />Chat with us and fellow students on our Discord Server <a href="https://devops.fan/"><strong>DevOps Fans</strong></a><strong><br /></strong>Grab some merch at <a href="https://bretfisher.myspreadshop.com/"><strong>Bret's Loot Box</strong></a></p><p>Homepage <a href="https://bretfisher.com/"><strong>bretfisher.com</strong></a></p> <ul> <li>(00:00) - DDT MAIN</li> <li>(00:04) - Intro</li> <li>(00:53) - Custom intro</li> <li>(02:41) - Main show</li> <li>(02:46) - Introductions</li> <li>(03:05) - Today's topic</li> <li>(03:40) - Question: Common NGINX use cases</li> <li>(05:21) - NGINX's web server capabilities</li> <li>(06:11) - Common NGINX on Kubernetes considerations</li> <li>(09:28) - API gateway vs ingress</li> <li>(14:12) - Ingress configurations and policies</li> <li>(16:35) - CRD with ingress project</li> <li>(19:52) - When people adopt Kubernetes</li> <li>(22:33) - Free vs Paid version</li> <li>(27:17) - Question</li> <li>(27:27) - Last-minute risky annotations</li> <li>(31:52) - Validating NGINX configs</li> <li>(34:44) - Avoiding NGINX config manipulation</li> <li>(39:46) - Questions</li> <li>(41:00) - Monitoring in NGINX</li> <li>(42:32) - Prometheus exporter</li> <li>(43:59) - Question about caching</li> <li>(49:39) - Question</li> <li>(51:21) - Wrapping up</li> <li>(54:05) - Outro</li> </ul> <br /><p><strong>Support this show and get exclusive benefits on </strong><a href="https://patreon.com/BretFisher"><strong>Patreon</strong></a><strong>, </strong><a href="https://www.youtube.com/@BretFisher"><strong>YouTube</strong></a><strong>, or </strong><a href="https://www.bretfisher.com/"><strong>bretfisher.com</strong></a><strong>!</strong></p>