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

Add a knob to allow Kong client creation retries #7119

Open
2 of 4 tasks
mlavacca opened this issue Feb 13, 2025 · 0 comments
Open
2 of 4 tasks

Add a knob to allow Kong client creation retries #7119

mlavacca opened this issue Feb 13, 2025 · 0 comments
Milestone

Comments

@mlavacca
Copy link
Member

mlavacca commented Feb 13, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Does this enhancement require public documentation?

  • I have added an Acceptance Criteria item for adding and/or adjusting public documentation (if applicable)

Problem Statement

In the controller-manager run function, KIC creates the Kong clients. In case Kong is not ready yet, the run function returns an error to the caller, and the process exits, making the pod fail and getting into a CrashLoopBackOff state. This is an expected error that gets automatically solved as soon as the Kong pod gets ready to accept connections. However, the failure of the KIC pod can create alerts in systems having monitoring enabled. We may want to introduce a mechanism to retry the client creation upon failure and introduce a new flag to customize such behavior.

Acceptance Criteria

  • instead of returning an error, a retry mechanism is implemented in the run function
  • a flag(s) to customize the above retry parameters are introduced
@mlavacca mlavacca added this to the KIC v3.5.x milestone Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant