Xuewei Zhang
be2647a686
Allow compilation time disabling for each type of Problem Daemon.
2019-06-17 16:02:45 -07:00
Lantao Liu
d520ca89bd
Build node-problem-detector from a directory.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-06-13 18:54:23 -07:00
Zhen Wang
6a1beac0eb
Update Makefile and remove godep
2019-06-04 11:49:25 -07:00
Zhen Wang
c9c7864087
Register gcloud as a Docker credential in Makefile
2019-03-22 11:56:45 -07:00
Lantao Liu
4fcad4a236
Update base image for CVE fix.
2018-11-28 15:40:46 -08:00
Zhen Wang
1f636381b8
Detect kubelet and container runtime frequent crashes
2018-11-26 22:41:06 -08:00
Steve Scaffidi
2d77ebde36
Added new targets from previous commits to .PHONY in Makefile
2018-09-12 10:59:07 -04:00
Steve Scaffidi
1ad85f1d01
Enable building the NPD in a docker container
...
This has several benefits. For example, now I can develop and build linux binaries of the NPD on my mac. Also other devs don't need to make sure they have the systemd headers installed.
2018-09-11 16:22:47 -04:00
Andy Xie
53013dcb05
make VERSION value more flexible
2018-08-21 13:32:25 +08:00
David Ashpole
bf730e9c63
add log-counter go plugin
2018-06-20 15:55:19 -07:00
Tim Hockin
d04b466056
Pass 2: k8s GCR vanity URL
2018-04-06 08:19:02 -07:00
Lantao Liu
eda20e8045
Merge pull request #162 from gkGaneshR/unit-test-options
...
Unit testing for SetNodeNameOrDie in package cmd/options
2018-03-09 02:15:49 -08:00
gkGaneshR
3868f48586
Include cmd/options in Makefile's test
...
1. Why is this change necessary ?
Solves kubernetes/node-problem-detector#163
2. How does this change address the issue ?
Unit testing for node-problem-detector/cmd/options is yet to be
done and the corresponding package path needs to be included in makefile
test
3. How to verify this change ?
make test command should run the test TestSetNodeNameOrDie with admin
privileges.
Signed-off-by: gkGaneshR <gkganesh126@gmail.com >
2018-03-02 21:49:07 +05:30
Filipe Brandenburger
ca2fc22678
Use debian-base image from kubernetes repository as base for NPD.
...
This image is based on Debian Stretch (9) which has a recent version of
systemd libraries that includes all necessary compression algorithms.
I propose using that image unconditionally (instead of Alpine when
journald is disabled) since the image size with debian-base is not that
much of a concern anymore.
2018-02-14 11:54:19 -08:00
Tim Hockin
3468934b7d
Pushes go to staging-k8s.gcr.io
2018-02-01 20:11:55 -08:00
Tim Hockin
547c65ef89
Convert registry to k8s.gcr.io
2017-12-22 09:55:16 -08:00
Random-Liu
b4714a4b79
Now gcloud enforce -- before docker args.
...
Signed-off-by: Random-Liu <lantaol@google.com >
2017-06-21 16:14:41 -07:00
Random-Liu
20ffe37cea
Add NPD endpoints: /debug/pprof, /healthz, /conditions.
2017-02-03 11:07:06 -08:00
Random-Liu
e39476300a
Update Makefile to support compile journald support
2017-01-19 01:59:09 -08:00
Random-Liu
6637139441
Add release tar ball support.
2017-01-13 11:13:59 -08:00
Random-Liu
aedb371d06
Add --version flag.
2017-01-12 02:07:25 -08:00
andy xie
bb48848931
add fmt and vet make target
2016-12-21 19:20:34 +08:00
andy xie
acfbaa68e0
change travis config script
2016-12-21 16:52:31 +08:00
Euan Kemp
8cdf7b1790
makefile: Make misc improvements
...
* Add test target and re-use in travis
* Add timeout test target
* Build binary into ./bin folder
* Phony everything
2016-11-21 16:39:01 -08:00
Lantao Liu
9054dab4c8
Get node name from the downward api.
2016-08-22 17:51:15 -07:00
Lantao Liu
5a19ac1868
Get node name from pod, this makes sure that the node
...
name should always be consistent with kubelet.
2016-08-11 14:22:29 -07:00
Lantao Liu
8759e4d610
Use Patch instead of UpdateStatus.
2016-05-30 19:22:32 -07:00
Lantao Liu
c405bb8bbe
Change gcr project to official google_containers
2016-05-19 14:25:57 -07:00
Lantao Liu
f0312655bd
Add first version of node-problem-detector
2016-05-17 15:55:33 -07:00