mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Add a log when we drop a minion because of health checks.
This commit is contained in:
parent
b01d0c2874
commit
3012c10ae3
@ -79,6 +79,8 @@ func (r *HealthyRegistry) List() (currentMinions []string, err error) {
|
||||
}
|
||||
if status == health.Healthy {
|
||||
result = append(result, minion)
|
||||
} else {
|
||||
glog.Errorf("%s failed a health check, ignoring.", minion)
|
||||
}
|
||||
}
|
||||
return result, nil
|
||||
|
Loading…
Reference in New Issue
Block a user