Commit Graph
205 Commits
Author SHA1 Message Date
Ross GuarinoandGitHub 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-robotandGitHub 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-robotandGitHub 7abeee92e0 Merge pull request #164 from jsenon/patch-1
Update Readme
2018-05-02 04:17:17 -07:00
k8s-ci-robotandGitHub 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-robotandGitHub 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 LiuandGitHub 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 SenonandGitHub d9c68c1b6b Update Readme
Update yaml file with new daemonset definition introduce by kubernetes 1.9
2018-03-22 16:05:46 +01:00
Lantao LiuandGitHub 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 LiuandGitHub 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 LiuandGitHub c591f3c0af Merge pull request #159 from Rcluoyi/newDev
Fix doc links for ConfigMap in README
2018-02-22 22:24:41 -08:00
Lantao LiuandGitHub 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 HockinandGitHub 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 HegmanandGitHub 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 LiuandGitHub cf3519a3e9 Merge pull request #152 from rramkumar1/network-problem-script
Network problem script
2018-01-02 19:54:10 -08:00
Lantao LiuandGitHub 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 LiuandGitHub 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 LiuandGitHub 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
Lantao LiuandGitHub 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
Lantao LiuandGitHub 92a3294018 Merge pull request #139 from CaoShuFeng/README
update README
2017-09-22 10:38:55 -07:00
Cao Shufeng b18ddc86d2 update README
update description about `Build Image`. When running `make`, it will
not push image to registry.
2017-09-19 15:04:03 +08:00
Lantao LiuandGitHub c0bd1df745 Merge pull request #134 from CaoShuFeng/trival
return an error when error happens in SetConditions()
2017-08-23 11:01:25 -07:00
Cao Shufeng b939fb575a return an error when error happens in SetConditions() 2017-08-23 17:56:15 +08:00
Lantao LiuandGitHub 93d38ce067 Merge pull request #132 from asifdxtreme/patch-1
Split Test and Build in Different Stages
2017-08-07 10:06:57 -07:00
Lantao LiuandGitHub 7e282b520c Merge pull request #131 from mbssaiakhil/patch-1
Fixed Typo in README of node-problem-detecter
2017-08-07 10:05:52 -07:00
Mohammad Asif SiddiquiandGitHub ac09ce8d32 Split Test and Build in Different Stages 2017-08-07 16:43:50 +08:00
Malepati Bala Siva Sai AkhilandGitHub 6753f10933 Fixed Typo in README of node-problem-detecter 2017-08-06 09:02:35 +05:30
Lantao LiuandGitHub 4f19101a65 Merge pull request #130 from fisherxu/master
fix typo
2017-08-04 10:18:27 -07:00