|
| 1 | +# WG Structured Logging Charter |
| 2 | + |
| 3 | +This charter adheres to the conventions described in the [Kubernetes Charter README] |
| 4 | +and uses the Roles and Organization Management outlined in [wg-governance]. |
| 5 | + |
| 6 | +[Kubernetes Charter README]: https://github.com/kubernetes/community/blob/master/committee-steering/governance/README.md |
| 7 | + |
| 8 | +## Scope |
| 9 | + |
| 10 | +Modernize logging in Kubernetes core components, allowing users to efficiently consume, process, store and analyse |
| 11 | +information stored in logs. |
| 12 | + |
| 13 | +### In Scope |
| 14 | + |
| 15 | +- Define the standard for logging - propose libraries, interfaces, metadata schema |
| 16 | +- Reduce friction for using logging - reduce dependencies and performance overhead |
| 17 | +- Give more choice over logging - allow pluggable logging implementation |
| 18 | +- Ensure quality consistent logging - overview migration, create documentation, tooling and educate reviewers |
| 19 | +- Prevent regressions caused by logging - measure performance overhead and log volume changes |
| 20 | + |
| 21 | +For all of the above, we will focus on core Kubernetes components and addons. |
| 22 | +Other SIG subprojects/components (e.g. SIG Scheduling descheduler) are out of |
| 23 | +scope. |
| 24 | + |
| 25 | +### Out of scope |
| 26 | + |
| 27 | +- Logging outside the kubernetes/kubernetes repository |
| 28 | +- Non core Kubernetes component binaries like kubectl and kubeadm |
| 29 | +- Application logs read by kubectl |
| 30 | + |
| 31 | +## Stakeholders |
| 32 | + |
| 33 | +Stakeholders in this working group span multiple SIGs that own parts of |
| 34 | +the code in core Kubernetes components and addons. |
| 35 | + |
| 36 | + - API Machinery |
| 37 | + - Architecture |
| 38 | + - Cloud Provider |
| 39 | + - Instrumentation |
| 40 | + - Network |
| 41 | + - Node |
| 42 | + - Scheduling |
| 43 | + - Storage |
| 44 | + |
| 45 | +## Deliverables |
| 46 | + |
| 47 | +The artifacts the group is supposed to deliver include: |
| 48 | +- Completion of [Structured Logging migration] |
| 49 | +- Graduation of JSON logging format to GA |
| 50 | +- Documented guidelines on using Structured Logging |
| 51 | +- Replacement for non-structured logging library (klog) |
| 52 | +- Automated tooling to prevent regressions caused by logging |
| 53 | + |
| 54 | +[Structured Logging migration]: https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/1602-structured-logging |
| 55 | + |
| 56 | +## Roles and Organization Management |
| 57 | + |
| 58 | +This wg follows adheres to the Roles and Organization Management outlined in |
| 59 | +[wg-governance] and opts-in to updates and modifications to [wg-governance]. |
| 60 | + |
| 61 | +[wg-governance]: https://github.com/kubernetes/community/blob/master/committee-steering/governance/wg-governance.md |
| 62 | + |
| 63 | +## Timelines and Disbanding |
| 64 | + |
| 65 | +The exact timeline for existing of this working group is hard to predict at |
| 66 | +this time. |
| 67 | + |
| 68 | +The group will start working on the deliverables mentioned above. Once the |
| 69 | +group we will be satisfied with the current shape of them and no additional |
| 70 | +coordination on their execution will be needed, we will retire Working Group |
| 71 | +and pass oversight of logging to SIG Instrumentation. |
0 commit comments