214 Commits

Author SHA1 Message Date
k8s-ci-robot
aabd369760 Merge pull request #151 from Random-Liu/improve-cpm
Improve cpm
v0.5.0
2018-06-22 01:10:05 -07:00
k8s-ci-robot
2dc2f1308b Merge pull request #182 from AdamDang/patch-1
Typo fix: encounts->encounters
2018-06-21 23:51:09 -07:00
AdamDang
e6e42175fa Typo fix: encounts->encounters
encounts->encounters
2018-06-22 14:04:45 +08:00
Lantao Liu
ee103dd4ac Generate event for condition change and support unknown status. 2018-06-21 15:29:53 -07:00
k8s-ci-robot
8f286a4415 Merge pull request #180 from dashpole/logcounter
Add log-counter plugin written in go
2018-06-21 09:43:27 -07:00
David Ashpole
bf730e9c63 add log-counter go plugin 2018-06-20 15:55:19 -07:00
k8s-ci-robot
2f915ecf29 Merge pull request #144 from andyxning/add_setup_readme
add setup readme
2018-06-03 19:14:55 -07:00
k8s-ci-robot
b9857dc49a Merge pull request #177 from rlguarino/patch-1
fix typo in daemonset labelSelector
2018-05-29 20:52:53 -07:00
Ross Guarino
7684e59d15 fix typo in daemonset labelSelector
The label on the pod is `app: node-problem-detector` while the
label in the `labelSelector` was `name: node-problem-detector`.
This CL updates the `labelSelector` to use `app` rather than `name`.
2018-05-29 17:22:17 -07:00
k8s-ci-robot
4d4ed740fa Merge pull request #176 from andyxning/add_security_contacts
add SECURITY_CONTACTS
2018-05-28 19:32:31 -07:00
Andy Xie
12b56f5c05 add SECURITY_CONTACTS 2018-05-28 15:48:31 +08:00
k8s-ci-robot
7abeee92e0 Merge pull request #164 from jsenon/patch-1
Update Readme
2018-05-02 04:17:17 -07:00
k8s-ci-robot
02358e6f24 Merge pull request #155 from r4j4h/patch-1
Changed unknown status echo to exit in network_problem custom plugin
2018-04-19 17:08:59 -07:00
k8s-ci-robot
c64b1ed055 Merge pull request #168 from thockin-tmp/gcr-vanity
Pass 2: k8s GCR vanity URL
2018-04-15 22:49:57 -07:00
Lantao Liu
ad9ccf6ea0 Merge pull request #166 from andyxning/add_OWNERS
add OWNERS
2018-04-15 22:48:56 -07:00
Tim Hockin
d04b466056 Pass 2: k8s GCR vanity URL 2018-04-06 08:19:02 -07:00
Julien SENON
a84a937de5 Change readme, fix <=1.9 to <1.9 2018-03-25 17:34:58 +02:00
Julien SENON
2758d5de48 Change readme with remarks from @andyxning, remove duplicate comment 2018-03-25 17:29:40 +02:00
Julien SENON
f91ff67392 Change readme with remarks from @andyxning 2018-03-25 17:27:24 +02:00
Andy Xie
e7ac3cab50 add OWNERS 2018-03-25 22:00:13 +08:00
Julien Senon
d9c68c1b6b Update Readme
Update yaml file with new daemonset definition introduce by kubernetes 1.9
2018-03-22 16:05:46 +01: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
821b8f41aa Modify unit testing of cmd/options
1. Why is this change necessary ?
   Modify unit testing of options in such a way that we specify
the WantedNodeName

2. How to verify this change ?
   Run, make test

Signed-off-by: gkGaneshR <gkganesh126@gmail.com>
2018-03-09 13:17:52 +05:30
gkGaneshR
ca76dc12ee Add dot(.) at the end of comments
Signed-off-by: gkGaneshR <gkganesh126@gmail.com>
2018-03-09 12:08:05 +05:30
gkGaneshR
c75a35099e Avoided changing hostname and changing var names
1. Why is this change necessary ?
 The program avoids changing hostname and the variable name "Options" is changed to
"options". Also, added more comments and formatted. Removed hostname in options since
it will not be changed in tests.

2. How does this change address the issue ?
 While the program is being run, the hostname is not changed. And options can't be
accessed outside(not exported).

3. How to verify this change ?
 Run, make test

Signed-off-by: gkGaneshR <gkganesh126@gmail.com>
2018-03-05 13:49:10 +05:30
gkGaneshR
a591ce52f9 Added copyright 2018 statement
1. Why is this change necessary ?
 Added copyright 2018 statement on options_test.go and added space
between // and text on the comments.

Signed-off-by: gkGaneshR <gkganesh126@gmail.com>
2018-03-04 21:05:16 +05:30
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
gkGaneshR
25b6c169a2 Unit testing for SetNodeNameOrDie in package cmd/options
1. Why is this change necessary ?
fixes: kubernetes/node-problem-detector#161

2. How does this change address the issue ?
Under package cmd/options, the testing for SetNodeNameOrDie need
to decide Nodename based on environment variable "NODE_NAME" or
hostname or hostnameoverride variable.

3. How to verify this change ?
Run "go test" with admin privilege

Signed-off-by: gkGaneshR <gkganesh126@gmail.com>
2018-03-02 21:03:59 +05:30
Lantao Liu
24ae2d8b6a Merge pull request #160 from filbranden/journald1
Use debian-base image from kubernetes repository as base for NPD.
2018-02-26 14:06:03 -08:00
Lantao Liu
c591f3c0af Merge pull request #159 from Rcluoyi/newDev
Fix doc links for ConfigMap in README
2018-02-22 22:24:41 -08:00
Lantao Liu
9acad906ff Merge pull request #158 from cimomo/small-fix
Use camelCase instead of snake_case per Golang convention
2018-02-22 22:18:17 -08:00
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
c430627afa Merge pull request #156 from thockin-tmp/gcr-vanity
Pushes go to staging-k8s.gcr.io
2018-02-08 14:38:46 -08:00
Tim Hockin
3468934b7d Pushes go to staging-k8s.gcr.io 2018-02-01 20:11:55 -08:00
renchao
c40da455c9 Fix doc links for ConfigMap in README
Signed-off-by: renchao <renchao@chinacloud.com.cn>
2018-01-25 15:16:16 +08:00
Kai Chen
bc08bd0b80 Use camelCase instead of snake_case per Golang convention 2018-01-22 23:42:13 +08:00
Jasmine Hegman
76ce35cddc Possibly enhanced network_problem custom plugin
My comment was eaten by github in !152 and wanted to raise attention incase this was meant to be an exit instead of an echo, otherwise feel free to close!
2018-01-05 11:26:15 -07:00
Lantao Liu
cf3519a3e9 Merge pull request #152 from rramkumar1/network-problem-script
Network problem script
2018-01-02 19:54:10 -08:00
Lantao Liu
eab61e8df9 Merge pull request #154 from thockin-tmp/gcr-vanity
Convert registry to k8s.gcr.io
2018-01-02 17:16:54 -08:00
Lantao Liu
c10c302d31 Merge pull request #153 from spiffxp/add-code-of-conduct
Add code-of-conduct.md
2018-01-02 17:15:35 -08:00
Tim Hockin
547c65ef89 Convert registry to k8s.gcr.io 2017-12-22 09:55:16 -08:00
Aaron Crickenberger
5438c1b5fa Add code-of-conduct.md
Refer to kubernetes/community as authoritative source for code of conduct
2017-12-20 13:39:38 -05:00
Rohit Ramkumar
69b6b58ee3 Addressed comments 2017-12-19 08:32:27 -08:00
Rohit Ramkumar
cd472c7765 Add empty conditions list 2017-11-27 11:35:48 -08:00
Rohit Ramkumar
fb12f3b70e Add network monitor script as plugin 2017-11-27 11:33:38 -08:00
Lantao Liu
ec470b65b0 Merge pull request #145 from andyxning/add_custom_problem_detector_plugin
add custom problem detector plugin
2017-11-22 10:53:06 -08:00
Andy Xie
10dbfef1a8 add custom problem detector plugin 2017-11-22 10:14:09 +08:00
Andy Xie
963a977c40 add setup readme 2017-10-16 19:44:33 +08:00
Lantao Liu
ffc790976b Merge pull request #140 from andyxning/adapt_for_golang_1.8_and_1.9
update golang to 1.8 and 1.9
2017-10-10 23:14:25 -07:00
Andy Xie
7f72f11d60 update golang to 1.8 and 1.9 2017-10-11 13:25:07 +08:00