mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-03 14:53:52 +00:00
Automatic merge from submit-queue pkg/client/leaderelection: log err when retrieving endpoint The leader election code currently suppresses errors when trying to retrieve an endpoint. This can lead to difficult to debug situations. In the case of a mis-configured controller-manager or scheduler - where they fail to contact an apiserver - this currently leads to no log output in the default case, or `failed to renew lease foo/bar` in `--v=4`, which isn't very actionable.