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
Create example component for integrating with component-base #96374
Conversation
/wg component-standard |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: serathius The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cc @44past4 |
/remove-sig api-machinery |
Adding more component base owners to take a look |
/uncc |
where the background about the PR or proposal? |
This is just a POC of idea that I wanted to get feedback from component-standard working group. Unfortunately didn't get any response. Proposal would be created after we confirm there is interest in this. Will try to reach out to @mtaufen directly when I have time. |
bacb7be
to
8926777
Compare
/cc @kubernetes/wg-structured-logging-reviews |
/kind feature |
/lgtm |
/triage accepted |
/cc @mtaufen
For logging sanitization we would like to introduce tests that would verity that enabling new flag will impact logs written by component. Idea was to create very simple binary based on k8s.io/component-base, run it and check if results match.
This PR shows example of creating example component and configuring logging options on it. As next step we would automate testing logs written possibly by running it from bazel.
Before moving forward with this example component for logging I would like to discuss this idea with component-base owners if we can expand this idea.
/cc @mtaufen