Daniel Holbach and GitHub
8a5f69480b
Merge pull request #319 from weaveworks/dependabot/go_modules/github.com/sirupsen/logrus-1.8.1
...
Bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1
2021-03-10 08:07:11 +01:00
Daniel Holbach and GitHub
1e0fc11b01
Merge pull request #316 from weaveworks/dependabot/github_actions/actions/stale-v3.0.18
...
Bump actions/stale from v3.0.17 to v3.0.18
2021-03-10 07:55:11 +01:00
dependabot[bot] and GitHub
2218e29504
Bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.8.0...v1.8.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-10 05:55:36 +00:00
Daniel Holbach and GitHub
250b9bad05
Merge pull request #296 from jackfrancis/node-annotations
...
add node annotations to identify kured reboot operations
2021-03-09 10:14:46 +01:00
Daniel Holbach and GitHub
32e01a8417
Merge pull request #294 from jackfrancis/always-drain
...
always drain before reboot
2021-03-09 10:13:36 +01:00
Jack Francis
baf83408b8
add node annotations
...
adds a new --annotate-nodes daemonset runtime argument, which does the following when enabled:
- adds a new node annotation "weave.works/kured-most-recent-reboot-needed" with a value of the current RFC3339 timestamp as soon as kured identifies that a node needs to be rebooted
- adds a new node annotation "weave.works/kured-reboot-in-progress" with a value of the current RFC3339 timestamp as soon as kured identifies that a node needs to be rebooted
- removes the annotation "weave.works/kured-reboot-in-progress" when kured has successfully rebooted the node
2021-03-08 17:22:47 -08:00
Jack Francis
93c8242b89
always drain before reboot
...
This changes the pre-reboot drain functionality so that it always runs, regardless of the value of the Unschedulable node property.
Because kubectl drain is idempotent, we shouldn't have to worry about whether the node has already been set to Unschedulable (perhaps due to a prior, unsuccessful loop of the kured reboot cycle): we can run it over and over again. And because this drain func actually does a cordon + drain (and it only performs the drain if a cordon is successful), we can be sure that we aren't going to be thrashing this node w/ respect to scheduled pods.
This also fixes an edge case: if the node has been marked Unschedulable out-of-band, but workloads remain Running on this node, kured will no longer reboot the node's underlying VM/machine while it is actively running pods.
2021-03-08 17:20:31 -08:00
dependabot[bot] and GitHub
c3d4c36493
Bump actions/stale from v3.0.17 to v3.0.18
...
Bumps [actions/stale](https://github.com/actions/stale ) from v3.0.17 to v3.0.18.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3.0.17...3b3c3f03cd4d8e2b61e179ef744a0d20efbe90b4 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-08 06:35:26 +00:00
Daniel Holbach and GitHub
1fd09dd572
Merge pull request #310 from weaveworks/dependabot/go_modules/github.com/sirupsen/logrus-1.8.0
...
Bump github.com/sirupsen/logrus from 1.7.0 to 1.8.0
2021-03-02 10:48:41 +01:00
Daniel Holbach and GitHub
d21a438197
Merge pull request #311 from weaveworks/dependabot/github_actions/actions/stale-v3.0.17
...
Bump actions/stale from v3.0.16 to v3.0.17
2021-03-02 10:48:15 +01:00
dependabot[bot] and GitHub
3fdd1cf6f7
Bump actions/stale from v3.0.16 to v3.0.17
...
Bumps [actions/stale](https://github.com/actions/stale ) from v3.0.16 to v3.0.17.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3.0.16...996798eb71ef485dc4c7b4d3285842d714040c4a )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-19 05:49:06 +00:00
dependabot[bot] and GitHub
48688044d5
Bump github.com/sirupsen/logrus from 1.7.0 to 1.8.0
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.7.0...v1.8.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-18 05:49:25 +00:00
Daniel Holbach and GitHub
640613565d
Merge pull request #305 from weaveworks/dependabot/go_modules/github.com/spf13/cobra-1.1.3
...
Bump github.com/spf13/cobra from 1.1.2 to 1.1.3
2021-02-16 12:18:40 +01:00
dependabot[bot] and GitHub
763695de5c
Bump github.com/spf13/cobra from 1.1.2 to 1.1.3
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.1.2...v1.1.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-11 05:52:43 +00:00
Daniel Holbach and GitHub
6ff5722728
Merge pull request #304 from weaveworks/dependabot/go_modules/github.com/spf13/cobra-1.1.2
...
Bump github.com/spf13/cobra from 1.1.1 to 1.1.2
2021-02-10 12:40:27 +01:00
dependabot[bot] and GitHub
472934e958
Bump github.com/spf13/cobra from 1.1.1 to 1.1.2
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-10 05:53:05 +00:00
Daniel Holbach and GitHub
b7f29c76ce
Merge pull request #302 from weaveworks/coc
...
Point to CNCF Code of Conduct
2021-02-08 17:40:40 +01:00
Daniel Holbach and GitHub
fa4e458f1f
Merge pull request #300 from t3mi/master
...
add podLabels parameter
2021-02-08 16:05:24 +01:00
Daniel Holbach and GitHub
4fc93d550d
Merge pull request #301 from weaveworks/dependabot/github_actions/actions/stale-v3.0.16
...
Bump actions/stale from v3.0.15 to v3.0.16
2021-02-08 16:04:16 +01:00
Daniel Holbach and GitHub
6eb9050156
Point to CNCF Code of Conduct
2021-02-08 11:35:50 +01:00
dependabot[bot] and GitHub
d8b7669ab4
Bump actions/stale from v3.0.15 to v3.0.16
...
Bumps [actions/stale](https://github.com/actions/stale ) from v3.0.15 to v3.0.16.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3.0.15...9d6f46564a515a9ea11e7762ab3957ee58ca50da )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-08 06:26:07 +00:00
t3mi
d52d78a303
add podLabels parameter
2021-02-07 23:58:55 +02:00
Daniel Holbach and GitHub
6a8e3f1e98
Merge pull request #298 from weaveworks/dependabot/github_actions/actions/stale-v3.0.15
...
Bump actions/stale from v3.0.14 to v3.0.15
2021-01-25 10:05:12 +01:00
dependabot[bot] and GitHub
b39c9011ea
Bump actions/stale from v3.0.14 to v3.0.15
...
Bumps [actions/stale](https://github.com/actions/stale ) from v3.0.14 to v3.0.15.
- [Release notes](https://github.com/actions/stale/releases )
- [Commits](https://github.com/actions/stale/compare/v3.0.14...86561461b92875de77a8b2d2e75f004c826e8f45 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-25 06:54:10 +00:00
Daniel Holbach and GitHub
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
Daniel Holbach and GitHub
1320c5d318
Merge pull request #293 from evrardjp/fix-make-helm-chart
...
Update helm chart README using Make
2021-01-11 16:39:23 +01:00
Jean-Philippe Evrard
0640683fbb
Update helm chart README using Make
...
Without this, it's possible that the helm chart documentation
contains the `image tag` version which might not be equal to
the version in the helm chart, as it's only an example.
This is a confusing, so instead we should use make to edit the
application version everywhere.
This fixes it by updating the Makefile to modify text of the
chart's README using a regex looking for something similar to
a version; then I used the updated makefile to edit the README,
which in turns requires a bump of the version of the chart
itself.
2021-01-11 16:14:18 +01:00
Daniel Holbach and GitHub
ec1a931a39
Merge pull request #292 from evrardjp/update-helm-chart
...
Update helm chart
2021-01-11 15:18:50 +01:00
Jean-Philippe Evrard
36308cee91
Update helm chart
...
Bumping the helm chart with minor version bump, due to minor
version bump of the kured appVersion.
2021-01-11 14:57:42 +01:00
Daniel Holbach and GitHub
b733d00550
Merge pull request #280 from cnmcavoy/cnmcavoy/helm-updates
...
Expose the service name and maxUnavailable for rolling updates in helm chart
2021-01-11 14:53:53 +01:00
Daniel Holbach and GitHub
56e2c12d38
Merge pull request #291 from evrardjp/fix-tagging
...
Fix automated tagging
1.6.1
2021-01-11 14:29:28 +01:00
Jean-Philippe Evrard
48e7ff28bf
Fix automated tagging
...
Without this patch, the name of the image is not templated, which
cause the action to fail.
This should fix it, by ensuring the image scan action uses a
templated value, instead of incorrectly relying on shell templating,
which doesn't run in the action.
2021-01-11 14:23:14 +01:00
Daniel Holbach and GitHub
14fcc7bf37
Merge pull request #289 from evrardjp/update-README-for-1.6.0
...
Update README
1.6.0
2021-01-11 11:51:20 +01:00
Daniel Holbach and GitHub
5b4e5b8533
Merge pull request #288 from evrardjp/update-versions-testing
...
Refresh kind cluster versions
2021-01-11 11:39:54 +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
Jean-Philippe Evrard
2e09425a45
Refresh kind cluster versions
...
Without this patch, we are using outdated images in kind cluster
setup.
This should fix it, by removing 1.17 cluster (which is not tested
anymore), and updating 1.19 images.
2021-01-11 11:16:09 +01:00
Daniel Holbach and GitHub
5cbca18377
Merge pull request #269 from evrardjp/publish-chart-on-change-not-on-release
...
Auto-publish helm chart on master change
2021-01-11 10:49:37 +01:00
Daniel Holbach and GitHub
86fe6ff03e
Merge pull request #285 from weaveworks/dependabot/github_actions/nick-invision/retry-v2.4.0
...
Bump nick-invision/retry from v2.2.0 to v2.4.0
2021-01-08 15:10:30 +01:00
Daniel Holbach and GitHub
a3b782f86b
Merge pull request #268 from evrardjp/prep-1.20
...
Update for kubernetes 1.20 support
2021-01-08 15:09:37 +01:00
Daniel Holbach and GitHub
14269023e8
Merge pull request #275 from evrardjp/dont-bump-k8s
...
Do not bump any k8s module
2021-01-08 15:02:29 +01:00
Daniel Holbach and GitHub
a1e443a9f3
Merge pull request #276 from evrardjp/vuln-image-fix
...
Temporarily workaround alpine issue
2021-01-08 15:01:38 +01:00
Daniel Holbach and GitHub
a2cc24e656
Merge pull request #287 from jack-education/correct-README-schedule-example
...
Corrected README Setting a schedule configuration example
2021-01-08 11:40:54 +01:00
jack-education
77ca6fda07
Corrected README Setting a schedule configuration example
2021-01-08 00:26:15 +00:00
David Sauer
3a35d6a46c
remove taint in case the reboot is not needed anymore
2021-01-06 22:21:41 +01:00
David Sauer
e430b1442a
updated README
2021-01-06 21:59:53 +01: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