-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Improve logs according to new guidelines #6994
Comments
/help-wanted |
@fabriziopandini hi, I am happy to take up a few items from the list. For the start, I can go with MD creating/deleting MS, if no one is working on it. |
@furkatgofurov7 Sounds great! Just go ahead, first come first serve. I'll reserve the sub-task for you above |
@fabriziopandini Can we add another sub-task for the structuredmerge package? I think it would be good if we had more logs there to make it easier to debug. xref: https://kubernetes.slack.com/archives/C8TSNPY4T/p1662462731560389 |
I'd like to pick up Cluster deletion! @sbueringer, can you please reserve that for me? |
Sure, done! |
this is long tail of activity, not blocking for the milestone |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
/unassign |
/close |
@fabriziopandini: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
We recently merged our logging guidelines and a first PR ensuring all the logs from a reconcile have consistent keys.
Now it is possible make a pass on our controller and improve existing log messages to take benefit of key-value pairs, and a good way to do so is to focus on a simple workflow supported by CAPI, and make sure logs are representing what happens and all the dependencies across objects.
e.g I created a management cluster with logging enabled using Tilt, I created a cluster, and take a look at the logs documenting a machine being provisioned by using the following query:
{app="capi-controller-manager",controller="machine"} | json | machine_name="classy1-23696-sxcsn-2jkvs"
They are ok, but we can do better, by making more explicit what we are waiting for and adding some more details when provisioning completes. So I created a small PR that gives us the following output:
And the idea behind this issue is to rally the community for creating similar PRs, each one doing small, incremental improvements for one of the Cluster API workflows:
Also worth to notice this is a great opportunity for people willing to dig in into CAPI and learn how things work
/help wanted
/kind cleanup
The text was updated successfully, but these errors were encountered: