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

feat: deprecate the KubeletScraping field (backwards-compatible) #986

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheSpiritXIII
Copy link
Member

@TheSpiritXIII TheSpiritXIII commented May 24, 2024

This helps avoid needing to add an OperatorConfig status field, since OperatorConfig no longer generates any configurations.

Now when KubeletScraping is set, a ClusterNodeMonitoring object is created automatically, reducing duplicated code. Users also have more control over the configuration, since they could change default values.

Later when we remove KubeletScraping, users would already have a ClusterNodeMonitoring so they will not lose their configurations.

@TheSpiritXIII TheSpiritXIII force-pushed the TheSpiritXIII/deprecate-kubelet branch from 3f6ae21 to 8b63511 Compare May 28, 2024 13:23
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.

None yet

1 participant