Commit Graph
89 Commits
Author SHA1 Message Date
Christian Kotzbauer aefd901b4e prepare release 1.9.1
Signed-off-by: Christian Kotzbauer <git@ckotzbauer.de>
2022-01-06 10:06:45 +01:00
Christian Kotzbauer 661af3b042 prepare 1.9.0 2021-12-17 10:32:21 +01:00
Daniel Holbach 997794eaac update to test against k8s 1.2{1,2,3} kind images
Signed-off-by: Daniel Holbach <daniel@weave.works>
2021-12-08 09:59:01 +01:00
Jack 01396db3d1 feat: update chart to 2.10.1 w/ 1.8.1 kured image 2021-11-19 09:08:57 -08:00
Daniel Kvist b108aa4d2d Support json logformatter
This commit introduces a new flag '--log-format' that allows a user
to configure json logging on the pods. If the log-format
is not specified, the formatter will default to the existing
text formatter.
2021-10-25 14:38:53 +02:00
Christian KotzbauerandGitHub fde91041d5 Merge pull request #449 from weaveworks/feature/helm-1.8.0
helm: Prepare release for 1.8.0
2021-10-08 16:01:52 +02:00
Christian KotzbauerandGitHub 7d0499cc0a Merge pull request #430 from amorey/reboot-delay-documentation
Add `reboot-delay` CLI argument to docs, helm charts and manifests
2021-10-08 14:49:05 +02:00
Christian Kotzbauer ac9e669b52 docs: updated version table
Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com>
2021-10-08 14:44:04 +02:00
Christian Kotzbauer 978acba030 feat: updated to k8s@1.21
Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com>
2021-09-28 09:06:35 +02:00
Andres Morey a3f9796305 Add reboot-delay CLI argument to docs, manifests and helm charts 2021-08-26 16:26:21 +03:00
Matt Jeanes 6af3f1abc1 Add --alert-firing-only parameter to only consider firing alerts 2021-07-27 11:23:10 +01:00
nils måsénandGitHub fd6f520b6e link to versioned shoutrrr docs
shoutrrr now have versioned docs to allow directly linking to the version that matches the one you use
changes should always backwards compatible, but not the other way around
2021-07-04 03:19:25 +02:00
Steffen Pingel 42f69c7b1e sort parameters alphabetically 2021-05-20 13:28:12 +02:00
Steffen Pingel e3f4a88a07 Add documentation for lockReleaseDelay parameter 2021-05-20 13:26:53 +02:00
Christian Kotzbauer 0cbc2d58d2 doc: add compat-line for 1.7.0 2021-05-19 15:17:02 +02:00
papanito bb56c731bb docu: update url for ms teams notifications, fixes #362 2021-04-28 09:48:23 +02:00
Jean-Philippe EvrardandGitHub 79f22cee67 Merge branch 'main' into release-lock-delay 2021-04-14 09:48:28 +02:00
Jean-Philippe EvrardandGitHub 8046977d1b Merge pull request #341 from cnmcavoy/cnmcavoy/force-reboot-timeout
Add force-reboot after force-timeout duration has been exceeded
2021-04-13 16:47:41 +02:00
Steffen Pingel f7b3de36a6 Add parameter for delaying release of lock
This support throtteling of reboots across the cluster
and allows rebooted nodes to reschedule pods, e.g.
to synchronize replicated state before rebooting the next node.
2021-04-13 10:14:14 +02:00
Daniel Holbach 59d5266005 update to latest k8s deps of 1.20 branch
Signed-off-by: Daniel Holbach <daniel@weave.works>
2021-04-12 11:05:07 +02:00
Cameron McAvoy 25dcf3cb12 Expose SkipWaitForDeleteTimeoutSeconds and explicitly return when cordonning fails 2021-04-08 09:52:15 -05:00
Cameron McAvoy 8db5650510 Refactor force-drain to be a drain-timeout in general 2021-04-07 12:57:01 -05:00
Cameron McAvoy 65292983f2 Add force-reboot after force-timeout duration has been exceeded 2021-04-07 09:39:01 -05:00
Daniel Holbach 56a26a2f25 Change default branch to 'main'.
- Make markdownlint happier in a couple of places.
	- Rename '*-master-*' files
	- Change default branches of some other projects
	  we rely on. They moved to 'main' as well.
	- Standardise version of actions/checkout.
	- Update last release in README to 1.6.1.
	- Bbump chart version.

	Eventually closes: #252

Signed-off-by: Daniel Holbach <daniel@weave.works>
2021-04-06 12:46:12 +02:00
atighineanu 694957d56e Implement universal notification mechanism
This patch gives the possibility to send notifications
 across different technologies. Also, this patch makes
 slack-hook-url, slack-username and slack-channel
 deprecated (informed by a warning).
 Also, updated the documentation (Readme).
2021-03-29 11:26:18 +02:00
Jean-Philippe EvrardandChristian Kotzbauer fd63e9a74b Add flexible commands parameters
Without this patch, you cannot configure the reboot
command to use, or the use another command to trigger
a reboot.

This is a problem, as multiple users have asked for
it in the past, and we are lacking flexibility.

This fixes it by introducing two new parameters,
- one to provide a custom reboot command.
  This should help people running kured on
  non systemd OS
- one to provide a custom sentinel command.
  This should help people running non Ubuntu OS,
  as they can directly use their command instead of
  generating a file (useful for CentOS/SUSE)

For this, several refactors had to be done, to
remove global state in some functions. Making those
functions closer to "pure functions" helps us
increase our test coverage here and later.

As commandReboot was very close to rebootCommand,
the function to reboot the node has been renamed
to invokeReboot.
2021-03-29 09:50:56 +02:00
Jean-Philippe EvrardandChristian Kotzbauer 20cbf6112d Bouncing go.mod with latest kubernetes packages
Without this patch, go.mod will lag behind for the kubernetes
packages, as it's not automatically tested by dependabot.

We should bump versions with each new minor release of kured.

This should fix it.
2021-03-22 14:28:17 +01:00
Daniel HolbachandGitHub 6eb9050156 Point to CNCF Code of Conduct 2021-02-08 11:35:50 +01:00
Daniel HolbachandGitHub fade706cbf Merge pull request #250 from damoon/19-PreferNoSchedule
implement issue-19 add prefer no schedule taint to avoid double draining of pods
2021-01-12 14:28:23 +01:00
David Sauer 5a4e197d27 change taint config to be disabled by default 2021-01-11 18:24:17 +01:00
Jean-Philippe Evrard 0162288ecf Update README
This will prepare the README for 1.6.0 release, showing the
planned version.
2021-01-11 11:26:23 +01:00
Daniel HolbachandGitHub a3b782f86b Merge pull request #268 from evrardjp/prep-1.20
Update for kubernetes 1.20 support
2021-01-08 15:09:37 +01:00
jack-education 77ca6fda07 Corrected README Setting a schedule configuration example 2021-01-08 00:26:15 +00:00
David Sauer e430b1442a updated README 2021-01-06 21:59:53 +01:00
Jean-Philippe Evrard c68937b5ff Update for kubernetes 1.20 support
This ensures we bump the code for 1.20.
It updates the testing to ensure kured works on a 1.20 cluster,
removes the testing on 1.17 (as it is now deprecated).
Libraries remain on 1.19, to avoid breaking 1.18 clusters.
2020-12-09 14:54:35 +01:00
Jean-Philippe Evrard c7542a5d21 Point docs to current golang version
This is to be on par with the previous documentation.
2020-12-07 13:21:25 +01:00
Jean-Philippe Evrard ea57673373 Publish image on tag
As we are pretty much committed to github actions, we should
probably rely on it to push the images on tag.

This covers the missing bits.
2020-12-07 13:21:25 +01:00
Daniel Holbach 31bb5363b2 update versions 2020-11-30 10:51:43 +01:00
Daniel Jimenez Garcia 51cab0dedc rename message template parameters so they are not related to slack 2020-11-25 16:20:54 +00: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 HolbachandGitHub 685f32881b Merge pull request #235 from dholbach/prep-1.5.1-release
Prepare 1.5.1 release
2020-11-24 15:34:27 +01:00
Daniel Holbach 32aa77f75b rename annotation-ttl to lock-ttl in all places, follow-up to #213 2020-11-24 09:28:57 +01:00
Daniel Holbach 038a3412b1 Prepare 1.5.1 release 2020-11-23 10:47:16 +01:00
Daniel Holbach 4ed5b823fc update docs following #210 2020-11-04 12:09:20 +01:00
Daniel Holbach 83dccea063 add missing quote - thanks Karan Arora for reporting 2020-09-09 15:13:57 +02:00
Daniel Holbach 19d7dee4aa Prepare 1.5.0 release
- update chart versions
	- update release documentation
	- Christian and David are the chart maintainers
2020-09-01 11:38:17 +02:00
Daniel Holbach 3ebc224958 update alpine to 3.12, k8s 1.18.8 2020-08-28 10:27:39 +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 949aa3acf7 update install instructions to use latest 2020-07-21 10:23:49 +02:00
Daniel Holbach 1d1f22c93b Prep for 1.4.4 release
Drop bit in the docs about updating image tag - not necessary
	if you use the instructions.
2020-07-01 10:43:06 +02:00