Mike Lang
c149e5792a
k8s probe: Fix a panic (nil pointer deref) when a cronjob has never been scheduled
...
in which case cj.Status.LastScheduled is nil.
New behaviour is to omit it from the map (and therefore the display) if it has never been scheduled.
2017-08-01 14:14:44 -07:00
Mike Lang
486bdcc796
k8s: Use 'DaemonSet', 'StatefulSet' etc instead of 'Daemon Set', 'Stateful Set'
...
We can't search for terms with spaces.
2017-07-26 13:49:54 -07:00
Mike Lang
fe3bdbfcdc
probe/kubernetes: Speed up lookups of large lists of cronjobs and jobs
...
Currently joining the two lists is O(mn), by putting into a hashmap first it's O(m+n)
2017-07-19 11:31:43 -07:00
Mike Lang
481258d8fc
kubernetes probe: Collect info on cronjobs and statefulsets
...
Most of the time you only care about cronjobs, not the jobs that make them up,
so we only collect full cronjob data. We associate pods of jobs with the parent cronjob
2017-07-18 11:35:50 -07:00