Abstract:Load balancing is an important part of any resilient web application. Kubernetes supports a few options for external load balancing, but they are limited in features. After a brief discussion of those options and the features they lack, we’ll show how to build an advanced load balancing solution for Kubernetes on top of NGINX, utilizing Kubernetes features including Ingress, Annotations, and ConfigMap. We’ll conclude with a demo of how to use NGINX and NGINX Plus to expose services to the Internet.
Outline:
- What is load balancing: basic and advanced features
- The state of load balancing in Kubernetes now
- Features that are missing in the current options
- NGINX – an advanced Layer 4/Layer 7 load balancer, web server and cache
- Ingress Resource
- Integrating cleanly with Kubernetes and extending the features supported by Ingress
- Implementing an Ingress controller for NGINX
- Deploying NGINX to Kubernetes
- Load balancing demo using NGINX and NGINX Plus to expose services to the Internet