Jack Francis
|
390f6e9f99
|
chore: retry daemonset get operations
|
2021-04-07 09:27:05 -07:00 |
|
David Sauer
|
b3e39418ba
|
cache taint state to avoid unnecessary API calls
|
2021-01-06 21:51:43 +01:00 |
|
David Sauer
|
34446f949e
|
Allow to disable tainting during pending node reboot by setting the taint name to an empty string.
|
2021-01-06 21:39:32 +01:00 |
|
David Sauer
|
10d95c426f
|
fixed type & renamed variable
|
2021-01-06 21:29:35 +01:00 |
|
David Sauer
|
e4c684c3af
|
taint node with PreferNoSchedule to prevent receiving (and double draining) additional pods from other rebooting nodes
|
2021-01-06 21:23:40 +01:00 |
|
Daniel Jimenez Garcia
|
f059cec794
|
GH-125, add additional parameters to override the drain/reboot slack messages
|
2020-11-25 16:19:31 +00:00 |
|
Daniel Holbach
|
2fef8b1b12
|
Merge pull request #206 from chentex/time-wrap
Added support for time wrap in timewindow.Contains
|
2020-11-25 10:28:57 +01:00 |
|
Daniel Holbach
|
7461ab8d95
|
Merge pull request #222 from evrardjp/make-lint-happier-for-pkg-folder
Make go lint on pkg folder happier
|
2020-11-09 11:50:58 +01:00 |
|
Daniel Holbach
|
aa49cfd8c4
|
Merge pull request #215 from evrardjp/make-lint-happier
Make go lint on cmd folder happier
|
2020-11-09 11:49:51 +01:00 |
|
Bryan Boreham
|
4c31184422
|
Merge pull request #213 from mvisonneau/lock_ttl
Replaced --annotationTTL with --lockTTL and fixed bug
|
2020-11-06 11:31:19 +00:00 |
|
Jean-Philippe Evrard
|
5d88e6c6db
|
Make lint happier in pkg folder
Without this patch, lint will complain about a few cosmetic details.
|
2020-11-05 11:01:49 +01:00 |
|
Jean-Philippe Evrard
|
7091debe23
|
Make lint happier
Without this, golint is complaining about a few cosmetic changes.
This solves it, and is necessary if we want to add a lint test
in CI.
|
2020-11-05 10:14:39 +01:00 |
|
Maxime VISONNEAU
|
9648d1d759
|
Replaced --annotationTTL with --lockTTL and made it work correctly
|
2020-10-30 10:39:18 +00:00 |
|
Jean-Philippe Evrard
|
19bf5bf224
|
Bump prometheus
This is required by the vendoring of kubectl.
|
2020-10-15 13:02:39 +02:00 |
|
Vicente Zepeda Mas
|
2f740b7f9a
|
Added support for time wrap in timewindow.Contains
Add test scenarios to test new cases
Organize test scenarios chronologically
Signed-off-by: Vicente Zepeda Mas <vzepedamas@suse.com>
|
2020-09-28 13:58:43 +02:00 |
|
Daniel Holbach
|
16109017ce
|
Prepare for k8s release 1.19 (Aug 25)
This is #152, #139, #127 in disguise.
Maybe this time let it simmer a bit longer until the k8s
release is there?
|
2020-08-19 17:30:00 +02:00 |
|
Daniel Holbach
|
8fafad18bb
|
Revert #139
This is a follow-up to #150, so we can get a 1.4.x release
out that will be geared towards k8s 1.1[6-8].
Update to latest 1.17 kubectl: 1.17.7.
|
2020-06-26 17:30:01 +02:00 |
|
Bryan Boreham
|
ec75533394
|
Merge pull request #119 from michalschott/annotationTTL
Adding --annotation-ttl for automatic unlock
|
2020-05-20 11:30:44 +01:00 |
|
Michal Schott
|
cf03bc587c
|
Adding unit tests for ttlExpired.
|
2020-05-05 22:37:18 +02:00 |
|
Michal Schott
|
615e3d4840
|
Calculate time difference easier.
|
2020-05-05 14:10:23 +02:00 |
|
Michal Schott
|
7fb16fed9b
|
Adding annotationTTL.
|
2020-05-05 14:10:22 +02:00 |
|
Daniel Holbach
|
72a31030db
|
replay changes from #127
|
2020-05-01 09:07:16 +02:00 |
|
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 |
|