kubernetes/minikube

Feature: enable the structured logging for kubernetes components by default

Open

#9,268 opened on Sep 17, 2020

View on GitHub
 (16 comments) (0 reactions) (1 assignee)Go (5,222 forks)batch import
good first issuehelp wantedkind/featurelifecycle/frozenpriority/backlog

Repository metrics

Stars
 (31,799 stars)
PR merge metrics
 (Avg merge 12d 19h) (43 merged PRs in 30d)

Description

Kubernetes 1.19 seen a big push for ensuring the Kubernetes components produce structured logs. Each components can be passed the --logging-format flag to tweak the output format of these structured logs. Available formats at the time of this issue are text and json, with the former being the default.

I'd like to see minkube support a single flag for enabling the format to be switched to JSON

minikube --logging-format=json, which should result in --logging-format=json being sent to the Kubelet, Scheduler, APIServer, and others.

Contributor guide