Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/controller/daemon: Log misscheduled node
So administrators have some idea at how to debug, when they notice that status.numberMisscheduled > 0, e.g. because KubeDaemonSetMisScheduled is firing. Ideally we'd have status.conditions on DaemonSet [1], so we could declare things like this in a more discoverable location. But while logs aren't all that discoverable, they are easier to add than a new DaemonSet property. And we can mitigate discoverability by filling out [2] and linking [3] a runbook to recommend grepping the controller logs for this message. [1]: kubernetes/enhancements#120 (comment) [2]: https://github.com/kubernetes-monitoring/kubernetes-mixin/blob/5c2dd2c63c8d655bdb7717f695d02bd22bd180e8/runbook.md#alert-name-kubedaemonsetmisscheduled [3]: https://github.com/kubernetes-monitoring/kubernetes-mixin/blob/5c2dd2c63c8d655bdb7717f695d02bd22bd180e8/alerts/apps_alerts.libsonnet#L224-L237
- Loading branch information