The main goal of this document is to provide developer the tools to understand better their Web services running on Kubernetes. Because of the popularity of Web Services, the first attempt of this document concentrates on services running on HTTP/HTTPS. Mainly because (in my opinion) I have observed that our partners and customers, want to always improve the quality of service they offer to their customers. Because Web Services or API's tend to be the last mile to the customer, this is a great place to start.
The reason why I concentrate on NGINX instead of other ingress controllers, its because of its popularity. Also, because some other ingress controllers offer out of the box dashboards and analytics and they can become easier to monitor. Later on, I would like to continue this work by including other popular ingress controllers like traefik and HAproxy.
These are the steps to be followed in order to start monitoring your Nginx Ingress controllers:
- Create an HTTPS ingress controller on AKS.
- Understand and verify the log format that NGINX uses.
- Create a FluentBit DaemonSet that scrapes your current logs and pushes them to Azure Log Analytics
- Create custom queries and dashboards to fully understand your business.
- Create alerts and actionables to ensure your Site Reliability