Aller au contenu

NginxAlertreceiverConfigFailed#

This alert is triggered when the configuration of NGINX ingress failed to reload.

NGINX Ingress Controller documentation here.

Troubleshooting hints#

  • Check that two NGINX ingress pods are present and running (replica=2):

    kubectl get  pod -n nginx-alertreceiver
    kubectl describe pod <nginx_pod_name> -n nginx-alertreceiver
    
  • Check that the NGINX ingress is present and all the ressource events:

    kubectl get ingress -n nginx-alertreceiver
    kubectl describe ingress <nginx-ingress-name> -n nginx-alertreceiver
    
  • Check the logs of the NGINX ingress pods.

  • Check the NGINX configuration:

    kubectl exec -it -n  nginx-alertreceiver <nginx-ingress-pod-name> -- cat /etc/nginx/nginx.conf
    

    Solution#

The solution will consist in identifying the NGINX ingress changes that are causing the issues and fix them in order to allow config reload to resume.