Commit Graph

51 Commits

Author SHA1 Message Date
Adam Harrison
0cd450b7bc Enter host mount namespace
Use the tools installed in the host to effect reboots, and allow
the execution of commands such as `needs-restart` to determine if
reboots are required.
2018-10-30 11:58:22 +00:00
Adam Harrison
3caedb0ab8 Merge pull request #38 from weaveworks/automate-release-process
Enable CI builds on tags
2018-10-30 11:55:10 +00:00
Adam Harrison
8ed1b575d9 Enable CI builds on tags
So that creating a GitHub release triggers an appropriately versioned
build.
2018-10-30 11:31:14 +00:00
Adam Harrison
56cd1f0a49 Merge pull request #37 from weaveworks/tolerate-master-node-role
Tolerate master node-role NoSchedule taint
2018-10-26 16:12:16 +01:00
Adam Harrison
028109d203 Tolerate master node-role NoSchedule taint 2018-10-26 16:09:24 +01:00
Adam Harrison
97c58c775e Merge pull request #36 from weaveworks/support-k8s-1.12
Support k8s 1.12
2018-10-26 15:41:56 +01:00
Adam Harrison
12cd5cda87 CI build with go 1.11 2018-10-26 15:39:58 +01:00
Adam Harrison
4322c3212a Update embedded kubectl to v1.12.1 2018-10-26 12:50:08 +01:00
Adam Harrison
02d9b54125 Update client-go and transitive dependencies 2018-10-25 18:06:22 +01:00
Marcus Cobden
549be7711f Merge pull request #29 from weaveworks/drain-notify
Notify slack before draining a node
2018-09-24 10:43:10 +01:00
Marcus Cobden
ebf0fb5119 Notify slack before draining a node
Fixes #12
2018-09-04 14:37:34 +01:00
Adam Harrison
5731b98a8a Add warning to Dockerfile re: upgrading kubectl 2018-06-05 18:00:02 +01:00
Adam Harrison
efbb0c3e0d Document version compatibility in release notes 2018-06-05 17:27:26 +01:00
Adam Harrison
908998a70b Update RBAC permissions for kubectl v1.10.3 2018-06-05 17:20:57 +01:00
Adam Harrison
bc3f28d112 Move deployment manifest to apps/v1 2018-06-05 17:06:17 +01:00
Adam Harrison
826fcd2998 Bundle latest v1.10.x kubectl 2018-06-05 17:06:17 +01:00
Adam Harrison
b3f9ddf402 Bump client-go for optimum k8s 1.10 compatibility 2018-06-05 17:06:17 +01:00
Adam Harrison
c42fff3005 Create a :latest tag on build to push to minikube 2018-06-05 17:05:43 +01:00
Adam Harrison
aefc4ea498 Merge pull request #8 from weaveworks/build-on-osx
Don't call `sudo docker` when building on macOS
2018-06-05 16:28:54 +01:00
Adam Harrison
fd752b834a Merge pull request #6 from 3dinfluence/rbac_support
Update provided manifests to support a service account and RBAC
2018-06-05 16:20:28 +01:00
Adam Harrison
b2aa608294 Update permissions for kubectl 1.9.6
The permissions required by `kubectl drain` vary from version
to version; this change brings them into line with the one currently
bundled.
2018-06-05 16:16:46 +01:00
Adam Harrison
170f2ed2fb Restrict update permissions on daemonsets
Kured only needs update permissions on its own daeemonset.
2018-06-05 16:16:28 +01:00
Adam Harrison
152534fcc8 Convert to compact representation 2018-06-05 15:16:45 +01:00
Adam Harrison
741b27cd35 Revert documentation change
The manifest on master is for development, normal users should use a
released version. I'll do a release with RBAC shortly.
2018-06-05 15:14:10 +01:00
Adam Harrison
b27aaa1b0c Add help section to TOC 2018-04-13 09:44:50 +01:00
Adam Harrison
1a5da68369 Merge pull request #13 from dholbach/get-in-touch-information
add information on how to get in touch at the bottom of the page
2018-04-13 09:43:11 +01:00
Daniel Holbach
f388fcadc3 add information on how to get in touch at the bottom of the page 2018-04-13 10:39:48 +02:00
Adam Harrison
d7b9c9fbec Embed kubectl v1.9.6 for draining 2018-04-10 14:09:47 +01:00
Adam Harrison
a788809162 Log stdout/stderr from kubectl/systemctl invocations 2018-04-10 14:04:25 +01:00
Sam Broughton
0e75f74ca8 Don't call sudo docker when building on macOS 2017-12-05 17:12:18 +00:00
David Miller
11780f008a Update provided manifests to support a service account and RBAC
- Added kured service account
- Added kured clusterrole
- Added kured clusterrolebinding
- Updated README.md documentation to include deploying with RBAC support
2017-11-23 11:48:14 -05:00
Adam Harrison
f0f3314f68 Merge pull request #5 from SaaldjorMike/name-vs-namespace
Set variables based on correct arguments w.r.t. name of daemonset and…
2017-11-20 10:14:29 +00:00
Mike Rostermund
8f816562a4 Set variables based on correct arguments w.r.t. name of daemonset and namespace. 2017-11-17 13:35:25 +01:00
Adam Harrison
ae12f55aaf Merge pull request #3 from Bregor/patch-2
Looks like typo in daemonset
2017-11-06 11:28:13 +00:00
Maxim Filatov
8c5639e791 Looks like typo in daemonset
Due to 

    metadata:
      name: kured            # Must match `--ds-name`
      namespace: kube-system # Must match `--ds-namespace`

There should be 

    - --ds-name=kured
    - --ds-namespace=kube-system

As args.
2017-11-03 23:02:03 +03:00
Adam Harrison
b86c60f851 Update README 1.0.0 2017-10-24 14:55:19 +01:00
Adam Harrison
4eb3146077 Deployment YAML improvements 2017-10-24 13:52:04 +01:00
Adam Harrison
e2d777aedf Merge pull request #2 from weaveworks/panicclose
Close body after error check
2017-10-04 10:03:13 +01:00
Adam Harrison
b9f583ae8c Only push images built from master 2017-10-04 09:55:07 +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
adf8147ab6 Pin base image to 16.04 2017-09-22 14:52:20 +01:00
Adam Harrison
0f75550a68 Dedupe and sort names of blocking alerts 2017-09-22 14:26:35 +01:00
Adam Harrison
b0259b6c17 Remove obsolete waitForDrain implementation
`kubectl drain` now ignores undrainable things and waits for
termination, so we no longer have to do that ourselves.
2017-09-22 14:22:19 +01:00
Adam Harrison
156e9a1cd8 Upgrade client-go and kubectl to 1.7.x 2017-09-21 17:19:54 +01:00
Adam Harrison
6e44cb1342 Implement kured_reboot_required metric 2017-09-21 11:46:06 +01:00
Adam Harrison
91bf84a90d Convert period arg to time.Duration 2017-09-21 09:59:55 +01:00
Adam Harrison
4e4b6f0645 CircleCI configuration 2017-09-20 15:54:06 +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
55ba779702 Move test for node schedulability
Test for schedulability immediately prior to each reboot check instead
of once at startup, thereby accomodating external changes to this value
during the lifetime of the daemon.
2017-08-03 08:53:24 +01:00