Implement json log format #91490
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
sig/instrumentation
Categorizes an issue or PR as relevant to SIG Instrumentation.
wg/component-standard
Categorizes an issue or PR as relevant to WG Component Standard.
Milestone
Part of kubernetes/enhancements#1602 effort
Allow users to change log out of k8s components by passing flag
--log-format=json
.Details:
Logger
interface from https://github.com/go-logr/logr (suggested code locationstaging/src/k8s.io/component-base/logs/json
)Logger
interface in logRegistry under keyjson
Suggested library to use is zap, as there is an existing implementation of logr interface https://github.com/go-logr/zapr. I expect that
zapr
will need some changes to comply./sig instrumentation
/wg component-standard
/priority important-soon
/milestone v1.19
/help
The text was updated successfully, but these errors were encountered: