mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-11 11:00:57 -04:00
Automatic merge from submit-queue (batch tested with PRs 47961, 46276) Remove duplicate error message output in hyperkube. **What this PR does / why we need it**: Currently hyperkube binary will always print duplicate messages if fatal error occurs: ``` $ ./kubelet # run without permission I0523 08:38:02.642638 25701 feature_gate.go:144] feature gates: map[] W0523 08:38:02.642827 25701 server.go:472] No API client: no api servers specified Error: failed to run Kubelet: error reading /var/run/kubernetes/kubelet.key, certificate and key must be supplied as a pair Error: failed to run Kubelet: error reading /var/run/kubernetes/kubelet.key, certificate and key must be supplied as a pair ``` This is due to RunToExit will print out the error which Run has just printed. https://github.com/kubernetes/kubernetes/blob/8bee44b/cmd/hyperkube/hyperkube.go#L178-L189 This was introduced in following commit for adding GOMAXPROCS calls. |
||
|---|---|---|
| .. | ||
| BUILD | ||
| federation-apiserver.go | ||
| federation-controller-manager.go | ||
| hyperkube.go | ||
| hyperkube_test.go | ||
| kube-aggregator.go | ||
| kube-apiserver.go | ||
| kube-controller-manager.go | ||
| kube-proxy.go | ||
| kube-scheduler.go | ||
| kubectl.go | ||
| kubelet.go | ||
| main.go | ||
| server.go | ||