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

Reconcile mode and metrics #44

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Conversation

alperencelik
Copy link
Owner

This PR aims to add initial support for reconcile modes. Users could choose how the operator should behave their resources. The current implementation is inspired by Kubernetes Addon manager, Crossplane and other operators in the open source field.

The other thing in the PR is about metrics. The operator was going with event based metrics which is quite OK but that requires state & event management for the metrics otherwise if the operator restarts the metrics will be flushed and inappropriate. The metrics has been updated to metrics worker that evaluates the metrics based on the Custom Resources. Event based metrics could be added on future but for now I'll use the interval.

@alperencelik alperencelik merged commit 723c86f into main Dec 9, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant