![]() * kubelet: silence flag output on errors Currently, the `--help` text is output on kubelet errors. Currently on my machine this is 280 lines. Typically kubelet is run by systemd or similar, starting it a loop. This means when an issue is encountered, we are spammed by 100s of logs per second, masking the real error. With this PR, the list of all flags is silenced. Users can still access them by `kubelet --help` as normal. This same `SilenceUsage` is already set in the api-server command. * Update cmd/kubelet/app/server.go Co-authored-by: Paco Xu <paco.xu@daocloud.io> Co-authored-by: Paco Xu <paco.xu@daocloud.io> |
||
---|---|---|
.. | ||
options | ||
auth.go | ||
init_others.go | ||
init_windows_test.go | ||
init_windows.go | ||
OWNERS | ||
plugins_providerless.go | ||
plugins_providers.go | ||
plugins.go | ||
server_bootstrap_test.go | ||
server_linux.go | ||
server_others.go | ||
server_test.go | ||
server_unsupported.go | ||
server_windows.go | ||
server.go |