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

[receiver/k8scluster] Move k8s clients creation to the starting phase #13772

Merged

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Sep 1, 2022

This is mostly a refactoring PRs with no actual changes except for moving initialization of k8s client from receiver init to receiver start phase. This allows us to move all the k8s client creation logic and its mocks to the struct where they are actually being used them instead of keeping them in Config struct.

@dmitryax dmitryax requested a review from a team as a code owner September 1, 2022 08:39
@dmitryax dmitryax force-pushed the refactor-k8s-cluster-receiver branch 2 times, most recently from c773c76 to a27e5a6 Compare September 1, 2022 19:28
This is mostly a refactoring PRs with no actual changes except for moving initialization of k8s client from receiver init to receiver start phase. This allows to move all the client creation logic and its mocks to the struct that is actually utilize them instead of keeping them in Config struct.
@dmitryax dmitryax force-pushed the refactor-k8s-cluster-receiver branch from a27e5a6 to 2b205b6 Compare September 1, 2022 20:13
@jpkrohling jpkrohling merged commit 715999b into open-telemetry:main Sep 2, 2022
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

3 participants