19 Commits

Author SHA1 Message Date
Daniel Holbach
8e73cf224d Revert parts of #127, move to client-go/kubectl 1.17
After the release of kured 1.4.0 we should be able to go back.

	This was decided in our meeting
(https://docs.google.com/document/d/1bsHTjHhqaaZ7yJnXF6W8c89UB_yn-OoSZEmDnIP34n8/edit#heading=h.8cgszb6vuhza)

	Let's go with supporting 1.1[678] in this release.
2020-04-22 18:32:25 +02:00
Daniel Holbach
0a419d0d34 update to 1.18.0 API
confirmed by running https://github.com/kubernetes-sigs/clientgofix

	closes: #123
2020-03-30 10:11:30 +02:00
Nighthawk22
5c21206bdb Merge branch 'master' into master 2019-10-28 10:56:13 +01:00
leigh capili
4beddb5338 Reboot only within time window specified on commandline (#66)
Reboot only within time window specified on commandline
2019-10-23 22:23:51 -06:00
Maximilian Zollneritsch
d1315c691e Added slack channel name configuration 2019-09-11 13:59:09 +02:00
Adam Harrison
b4fc6bac27 Update daemonsetlock to use AppsV1 2019-05-17 10:15:23 +01:00
JJ Jordan
7249f1c573 Reduce silliness 2019-04-18 18:02:13 -07:00
JJ Jordan
357687b053 Fix seconds format in parser, address (an unimportant) corner case 2019-04-18 18:00:29 -07:00
JJ Jordan
7d85e85db0 weekdays to use a bitmap, add (minimal) tests 2019-04-04 01:02:27 -07:00
JJ Jordan
3f6713fa65 More forgiving inputs 2019-04-02 01:28:59 -07:00
JJ Jordan
170a3a4bac Use time window 2019-04-02 01:23:33 -07:00
Adam Harrison
02d9b54125 Update client-go and transitive dependencies 2018-10-25 18:06:22 +01:00
Marcus Cobden
ebf0fb5119 Notify slack before draining a node
Fixes #12
2018-09-04 14:37:34 +01:00
Elena Morozova
d3fa3ffd40 Close body after error check
Otherwise it panics for nil body
2017-10-03 23:10:42 -07:00
Adam Harrison
0f75550a68 Dedupe and sort names of blocking alerts 2017-09-22 14:26:35 +01:00
Adam Harrison
156e9a1cd8 Upgrade client-go and kubectl to 1.7.x 2017-09-21 17:19:54 +01:00
Adam Harrison
80a254ec1d Improved active alert detection and logging
Zero-valued alerts are now ignored, and the names of the first ten
blocking alerts are logged for diagnostic purposes.
2017-09-20 14:27:22 +01:00
Adam Harrison
1a6e814a21 Basic slack notification support 2017-08-16 09:55:34 +01:00
Adam Harrison
8aafc8905e Initial implementation 2017-06-13 17:57:19 +01:00