This project is mirrored from https://github.com/weaveworks/kured.git.
Pull mirroring updated .
- 29 Mar, 2021 8 commits
-
-
Jean-Philippe Evrard authored
Merge pull request #330 from weaveworks/dependabot/github_actions/guyarb/golang-test-annoations-v0.4.0 Bump guyarb/golang-test-annoations from v0.3.0 to v0.4.0
-
Daniel Holbach authored
Implement universal notification mechanism (NEW)
-
atighineanu authored
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).
-
dependabot[bot] authored
Bumps [guyarb/golang-test-annoations](https://github.com/guyarb/golang-test-annoations) from v0.3.0 to v0.4.0. - [Release notes](https://github.com/guyarb/golang-test-annoations/releases) - [Commits](https://github.com/guyarb/golang-test-annoations/compare/v0.3.0...48645c385003e0c362bf954d4018895be76f1d3d ) Signed-off-by:
dependabot[bot] <support@github.com>
-
Jean-Philippe Evrard authored
Without this patch, go test bugs can appear without getting caught, neither in periodics, nor in PRs. This should fix it.
-
Jean-Philippe Evrard authored
Without this, go test will rightfully fail. This is a problem, as we don't have go test enabled, but we want to have this in the future. This should fix it.
-
Jean-Philippe Evrard authored
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.
-
Jean-Philippe Evrard authored
Without this patch, we rely on global state in many functions for which we check the reboot blockers. This is a problem, as it's harder to test. This patch fixes it by refactoring the reboot blockers. This also includes a first series of unit tests for our main.
-
- 24 Mar, 2021 1 commit
-
-
Jean-Philippe Evrard authored
Without this patch, the version of 1.20 is taken in jobs as 1.2. This is a problem, as it breaks all jobs, because there is no file to provision a cluster with kubernetes 1.2 (and we shouldn't do this!) This fixes it by ensuring there is no mangling of the version strings, and therefore the right file is used.
-
- 22 Mar, 2021 2 commits
-
-
Jean-Philippe Evrard authored
DeleteLocalData was deprecated for users of kubectl in 0.20 [1]. At the same time of the deprecation, the relevant code was also removed [2] without warning: The DeleteLocalData from the helper structure was simply renamed DeleteEmptyDirData, without shims on the exposed pkg. This is a problem, as it completely breaks kured. This should fix it, by using the new field name. [1]: https://github.com/kubernetes/kubectl/commit/56ea9621b7fc333d2d2dde8ae39c15cacf28dbf7 [2]: https://github.com/kubernetes/kubectl/commit/56ea9621b7fc333d2d2dde8ae39c15cacf28dbf7#diff-041bdcdedca650a38a8d82cf15ab6f3665b7b84a0fb44a8bb5dcdc5cd944c63d
-
Jean-Philippe Evrard authored
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.
-
- 19 Mar, 2021 3 commits
-
-
Christian Kotzbauer authored
Extend close-duration for stale issues and prs
-
Christian Kotzbauer authored
Signed-off-by:
Christian Kotzbauer <christian.kotzbauer@gmail.com>
-
Christian Kotzbauer authored
Signed-off-by:
Christian Kotzbauer <christian.kotzbauer@gmail.com>
-
- 11 Mar, 2021 3 commits
-
-
Jean-Philippe Evrard authored
Adding a MAINTAINERS file
-
Daniel Holbach authored
update chart definition to include --annotate-nodes
-
Jack Francis authored
-
- 10 Mar, 2021 6 commits
-
-
Daniel Holbach authored
Signed-off-by:
Daniel Holbach <daniel@weave.works>
-
Daniel Holbach authored
update to alpine 3.13
-
Daniel Holbach authored
Signed-off-by:
Daniel Holbach <daniel@weave.works>
-
Daniel Holbach authored
Bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1
-
Daniel Holbach authored
Bump actions/stale from v3.0.17 to v3.0.18
-
dependabot[bot] authored
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>
-
- 09 Mar, 2021 4 commits
-
-
Daniel Holbach authored
add node annotations to identify kured reboot operations
-
Daniel Holbach authored
always drain before reboot
-
Jack Francis authored
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
-
Jack Francis authored
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.
-
- 08 Mar, 2021 1 commit
-
-
dependabot[bot] authored
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>
-
- 02 Mar, 2021 2 commits
-
-
Daniel Holbach authored
Bump github.com/sirupsen/logrus from 1.7.0 to 1.8.0
-
Daniel Holbach authored
Bump actions/stale from v3.0.16 to v3.0.17
-
- 19 Feb, 2021 1 commit
-
-
dependabot[bot] authored
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>
-
- 18 Feb, 2021 1 commit
-
-
dependabot[bot] authored
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>
-
- 16 Feb, 2021 1 commit
-
-
Daniel Holbach authored
Bump github.com/spf13/cobra from 1.1.2 to 1.1.3
-
- 11 Feb, 2021 1 commit
-
-
dependabot[bot] authored
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>
-
- 10 Feb, 2021 2 commits
-
-
Daniel Holbach authored
Bump github.com/spf13/cobra from 1.1.1 to 1.1.2
-
dependabot[bot] authored
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>
-
- 08 Feb, 2021 4 commits
-
-
Daniel Holbach authored
Point to CNCF Code of Conduct
-
Daniel Holbach authored
add podLabels parameter
-
Daniel Holbach authored
Bump actions/stale from v3.0.15 to v3.0.16
-
Daniel Holbach authored
-