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

Non leader instances enable readiness probe to align with other operators #1090

Closed
1 task
randmonkey opened this issue Jan 24, 2025 · 5 comments
Closed
1 task
Assignees
Labels
area/feature New feature or request release/required
Milestone

Comments

@randmonkey
Copy link
Contributor

Problem Statement

Non-leader instances returns false on readiness probes. If a deployment has multiple instances, it can never be seen as "ready" in some CI/CD systems (like ArgoCD) . Since the validation webhook is migrated to CELs in KGO 1.5, there are no exposed services that requires the traffic to be only sent to the leader, we can enable the readiness probed of non-leader instances.

Proposed Solution

Start the readiness probe service on both leader and non-leader instances.
...

Additional Information

...

Acceptance Criteria

  • Leader and non-leader instances are all in ready state after started
@randmonkey randmonkey added the area/feature New feature or request label Jan 24, 2025
@randmonkey randmonkey added this to the KGO v1.5.x milestone Jan 24, 2025
@jaskeerat789
Copy link

Could I help you with this issue? I didn't see any contributing section in readme so was not sure if kong accepts contributions from outside

@pmalek
Copy link
Member

pmalek commented Jan 27, 2025

Hi @jaskeerat789 👋

This is a consequence of the operator setting up the webhook resources and blocking the readiness based on the webhook server being ready (we don't want to mark ourselves ready before the webhook can serve requests as that would cause validation requests to fail).

It's a broader topic that we're discussing now with the team.

I didn't see any contributing section in readme so was not sure if kong accepts contributions from outside

We do accept contributions but not all repos are ready to accept them (given the way our CI is set up). KGO currently relies on some secrets in its CI that prevents the outside contributions from passing the pipeline. We're working on making that work but no ETA yet.

@jaskeerat789
Copy link

Hey @pmalek, thanks for the clarity.

@pmalek
Copy link
Member

pmalek commented Jan 28, 2025

Will be solved by #1100

@pmalek
Copy link
Member

pmalek commented Jan 31, 2025

Resolved by removing webhook in #1100

@pmalek pmalek closed this as completed Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/feature New feature or request release/required
Projects
None yet
Development

No branches or pull requests

4 participants