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

Introduce kubernetes event logging #900

Closed
f41gh7 opened this issue Mar 12, 2024 · 1 comment
Closed

Introduce kubernetes event logging #900

f41gh7 opened this issue Mar 12, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@f41gh7
Copy link
Collaborator

f41gh7 commented Mar 12, 2024

It'd be create to have a kubernetes event logging for important to the user events.

Such as:

  1. new objects creation for Create client method.
  2. objects deletion with Delete client method.
  3. reconciliation loop errors ( object already modified error must be skipped).
@f41gh7 f41gh7 added the enhancement New feature or request label Mar 12, 2024
@f41gh7 f41gh7 self-assigned this Apr 10, 2024
f41gh7 added a commit that referenced this issue Apr 12, 2024
* supress conflict errors and retry it in 5 seconds by default
* supress context.Cancelled errors, it either timeout or operator gracefull shutdown
* supress notFound object errors. Most probably it's race condition at kubernetes state and operator cache
* create kubernetes API event with object link in case of reconcile error. It must help investigate operator issue faster
* adds retry.OnConflict for statefulset and deployment updates

#900
#901
f41gh7 added a commit that referenced this issue Apr 12, 2024
* adds kubernetes event logging for start and finish of reconcile loop. It must improve observability for operator
* change object status to failed if parsing error occured
#900
@f41gh7
Copy link
Collaborator Author

f41gh7 commented Apr 18, 2024

Operator writes kubernetes events since v0.43.0 release

@f41gh7 f41gh7 closed this as completed Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant