mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-14 03:45:39 +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.