Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ingress-nginx controller election #10913

Merged
merged 1 commit into from
Feb 12, 2024

Commits on Feb 9, 2024

  1. Fix ingress-nginx controller election

    Under the original code, leader election failed for ingress controllers
    as a result of mismatch between election-id in the controller config,
    and the resourceName in the relevant rule of role 'ingress-nginx'.
    This appeared in the controller logs.
    
    To fix the issue, a command-line option was added to container
    execution (--election-id=...).
    
    Now, the election-id agrees with the resourceName provided in
    the role-ingress-nginx.yml file. A comment in that file was
    changed to reflect the new logic.
    
    Co-authored-by: Mohamed Omar Zaian <mohamedzaian@gmail.com>
    2 people authored and VannTen committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    e33e1f0 View commit details
    Browse the repository at this point in the history