How to monitor ingress-nginx in RKE2 with rancher-monitoring
This document (000021377) is provided subject to the disclaimer at the end of this document.
Environment
- Rancher v2.6+
- A Rancher-managed RKE2 cluster with rancher-monitoring installed
Situation
In this article you will learn how to monitor ingress-nginx in an RKE2 cluster using Rancher Monitoring
Resolution
Rancher Monitoring for RKE2 does not monitor ingress-nginx by default. To enable it, the following parameters must be set in the values of the rancher-monitoring chart:
[...]
ingressNginx:
enabled: true
namespace: kube-system
[...]
Note that the namespace is kube-system and not ingress-nginx.
An easy way to make this change is by exploring the cluster in the Rancher UI and navigating to Apps -> Installed Apps -> rancher-monitoring -> Edit/Upgrade -> Next -> Edit as YAML and searching for the "ingressNginx" parameter there.
After setting this option and upgrading/installing the rancher-monitoring chart, the ingress-nginx will be monitored, and the following dashboards will be automatically deployed in Grafana:
- NGINX - Ingress Controller
- NGINX - Request Handling Performance
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.