kubernetes / website

Kubernetes website and documentation repo:
https://kubernetes.io
Creative Commons Attribution 4.0 International
4.5k stars 14.43k forks source link

kube-{apiserver,scheduler,controller-manager} auto-generated list of options don't mention "json" for "--logging-format" #48011

Open VannTen opened 1 month ago

VannTen commented 1 month ago

The auto-generated reference for the option list of the the apiserver, controller-manager and scheduler don't mention the possibility of --logging-format=json

https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/ https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/ https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/

--logging-format string     Default: "text"

Sets the log format. Permitted formats: "text".

I think this should have the same as the kubelet page (minus the specific deprecation notice) ? https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/

--logging-format string     Default: text
    Sets the log format. Permitted formats: "json" (gated by LoggingBetaOptions, "text"). (DEPRECATED: This parameter should be set via the config file specified by the kubelet's --config flag. See [kubelet-config-file](https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/) for more information.)
k8s-ci-robot commented 1 month ago

This issue is currently awaiting triage.

SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
VannTen commented 1 month ago

This looks similar (or the same) to #42850

steve-hardman commented 1 month ago

/language en