inconsistent label cardinality on nginx_ingress_controller_requests prometheus metrics #8224
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
Kubernetes version (use
kubectl version
):Environment:
uname -a
):kubectl version
kubectl get nodes -o wide
: 14 node cluster, with multiple nodepoolsHow was the ingress-nginx-controller installed:
helm ls -A | grep -i ingress
helm -n <ingresscontrollernamepspace> get values <helmreleasename>
Current State of the controller:
kubectl describe ingressclasses
kubectl -n <ingresscontrollernamespace> get all -A -o wide
kubectl -n <ingresscontrollernamespace> describe po <ingresscontrollerpodname>
kubectl -n <ingresscontrollernamespace> describe svc <ingresscontrollerservicename>
Current state of ingress object, if applicable:
kubectl -n <appnnamespace> get all,ing -o wide
kubectl -n <appnamespace> describe ing <ingressname>
Others:
kubectl describe ...
of any custom configmap(s) created and in useWhat happened:
When trying out the latest unreleased version (#8201 or beyond) of the ingress-controller, i encountered an issue:
which prevented the collection of incoming
nginx_ingress_controller_requests
metrics.What you expected to happen:
i expected to still collect metrics of
nginx_ingress_controller_requests
and i expected no error message like the one above.How to reproduce it:
Build a docker image from #8201 and deploy it to the cluster.
Deploy prometheus according to the guide at: https://kubernetes.github.io/ingress-nginx/user-guide/monitoring/#prometheus-and-grafana-installation
Anything else we need to know:
The text was updated successfully, but these errors were encountered: