Commit Graph

720 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
7bd6e85b29 Merge pull request #703 from pratikmallya/patch-1
Update comment to be consistent with reality
2022-09-18 21:20:29 -07:00
Pratik
0127a75e05 Update comment to be consistent with reality 2022-09-18 20:21:05 -07:00
Kubernetes Prow Robot
9b2d0be950 Merge pull request #695 from vteratipally/master
[release-blocker-fix] fix building multi-arch image
v0.8.12
2022-09-02 11:34:06 -07:00
Kubernetes Prow Robot
5c85ab20f5 Merge pull request #697 from YuikoTakada/doc_fix
fix helm command in README
2022-09-01 11:47:20 -07:00
Yuiko Mouri
2fceddf00e fix helm command in README 2022-08-30 09:29:59 +09:00
vteratipally
92745daa62 fix building multi-arch image 2022-08-27 16:28:39 -07:00
Kubernetes Prow Robot
d8b2940b3c Merge pull request #679 from 2rs2ts/condition-change-event-severity
Use Warn severity on K8s Event when Node condition is True
v0.8.11
2022-08-01 16:22:28 -07:00
Kubernetes Prow Robot
5560df8cba Merge pull request #690 from vteratipally/fix_docker
Fix dockerfile
2022-08-01 15:40:28 -07:00
Varsha Teratipally
8f9c5bbabb fix dockerfile 2022-08-01 21:55:53 +00:00
Kubernetes Prow Robot
d00659c642 Merge pull request #689 from refluxwhw/dev
fix README under systemlogmonitor
2022-07-29 03:03:12 -07:00
whwreflux
3fba7a9e86 fix README under systemlogmonitor 2022-07-29 17:14:46 +08:00
Kubernetes Prow Robot
6e3260c43c Merge pull request #687 from vaibhav2107/npd-link
Updated the docs under NPD
2022-07-26 20:00:35 -07:00
Kubernetes Prow Robot
9a9b06d24d Merge pull request #660 from grosser/grosser/latest
simplify cri health check
2022-07-26 20:00:28 -07:00
Kubernetes Prow Robot
7bc362cfdc Merge pull request #668 from grosser/grosser/systemd
show failed statuses as warning
2022-07-26 19:16:38 -07:00
Kubernetes Prow Robot
341af62275 Merge pull request #646 from notchairmk/notchairmk/custom-skip-initial
Allow skipping condition during customplugin initialization
2022-07-26 19:16:31 -07:00
Kubernetes Prow Robot
2d5de8d0fa Merge pull request #684 from acumino/multi-arch-image
Create multi-arch image
2022-07-26 12:03:10 -07:00
Vaibhav
1c9447854f Fix the incorrect links in docs under NPD 2022-07-20 01:08:48 +05:30
Kubernetes Prow Robot
c9ffa67ec4 Merge pull request #685 from diamondburned/resultChan-rm
Remove unused resultChan field in CPM
2022-07-14 22:34:25 -07:00
diamondburned
6809f445eb Remove unused resultChan field in CPM
This commit removes the resultChan field in ./pkg/custompluginmonitor's
customPluginMonitor struct. This was detected by staticcheck:

    ―❤―▶ staticcheck ./pkg/custompluginmonitor/
    pkg/custompluginmonitor/custom_plugin_monitor.go:50:2: field resultChan is unused (U1000)
2022-07-12 21:43:05 -07:00
Sonu Kumar Singh
04e8d009d4 Use buildx for docker builder 2022-07-05 09:37:52 +05:30
Kubernetes Prow Robot
72f1672634 Merge pull request #675 from mmiranda96/feat/net-monitor-groupings
Add ExcludeInterfaceRegexp to Net Dev monitor
2022-06-29 14:50:06 -07:00
Andrew Garrett
72ad051dd6 Use Warn severity on K8s Event when Node condition is True
If temporary errors generate an Event with a Warn severity, then surely
permanent errors should generate an Event with at least that high of a
severity level.
2022-06-17 22:13:21 +00:00
Mike Miranda
1471f74d98 Add ExcludeInterfaceRegexp to Net Dev monitor 2022-06-15 23:22:38 +00:00
Kubernetes Prow Robot
56122ce0dd Merge pull request #678 from 2rs2ts/master
Add condition message to event message
2022-06-15 15:43:11 -07:00
Andrew Garrett
b1bd8e7424 Use %q instead of %s 2022-06-09 17:18:30 +00:00
Andrew Garrett
a39a7c6e0f Add condition message to event message
If you're using some monitoring solution that aggregates events from
your Kubernetes cluster, having the underlying reason why a condition
triggered could be very useful, especially if you are using custom
plugin monitors.

Co-authored-by: Micah Norman <micnorman@paypal.com>
Signed-off-by: Ryan Eschinger <reschinger@paypal.com>
2022-06-08 21:42:40 +00:00
Michael Grosser
011b9e6a46 show failed statuses as warning 2022-04-26 11:50:10 -07:00
Taylor Chaparro
9344c938bb Allow skipping condition during customplugin initialization 2022-04-26 10:12:01 -07:00
Kubernetes Prow Robot
51508603fe Merge pull request #616 from com6056/patch-1
Install systemd in docker image
2022-04-24 13:49:37 -07:00
Kubernetes Prow Robot
c083db10f0 Merge pull request #628 from mx-psi/master
Change to using new dependency name for osreleaser
2022-04-22 11:35:37 -07:00
Kubernetes Prow Robot
a0abe5c667 Merge pull request #653 from matt-cale-do/patch-1
Grammar help
2022-04-21 12:28:18 -07:00
Kubernetes Prow Robot
9c23553e0b Merge pull request #650 from yankay/fix-deprecated-maintainer-in-dockerfile
FIx deprecated "MAINTAINER" in Dockerfile
2022-04-21 12:28:12 -07:00
Kubernetes Prow Robot
8603b5b98b Merge pull request #638 from vteratipally/adfad
Add vteratipally as an approver
2022-04-21 10:58:57 -07:00
Kubernetes Prow Robot
285516dc10 Merge pull request #594 from oif/chore/optimize-netcollector-implementation
optimize netcollector implementation and custom `/proc` mount path
2022-04-11 03:36:06 -07:00
Neo Zhuo
11ddb5e6bf support custom /proc path 2022-04-11 18:15:08 +08:00
Neo Zhuo
78c11c4ceb reimplement net collector metrics register, config check and recording 2022-04-11 18:15:07 +08:00
Pablo Baeyens
5e300846b2 Merge remote-tracking branch 'origin/master' into mx-psi/master 2022-03-29 14:45:27 -04:00
Michael Grosser
d764b1ab87 simplify cri health check 2022-03-28 17:05:53 -07:00
Kubernetes Prow Robot
4412a2b9a4 Merge pull request #657 from vteratipally/remove_ginkgo
remove installing ginkgo using "go get"
2022-03-25 08:33:59 -07:00
varsha teratipally
f508ccea7b remove installing ginkgo using "go get" as it ginkgo version supported
is 2.0
2022-03-25 00:48:12 +00:00
Kubernetes Prow Robot
68314853b8 Merge pull request #656 from vteratipally/ads
update golang, ginkgo and gomega dependencies
2022-03-24 09:58:41 -07:00
varsha teratipally
20c3b6f13c update ginkgo and gomega dependencies 2022-03-24 16:25:03 +00:00
Kubernetes Prow Robot
bdbf6b3df9 Merge pull request #639 from vteratipally/adfa
install dependencies before building the NPD containers.
2022-03-23 13:41:20 -07:00
Matthew Cale
84259052d1 Grammar help
could have been: `"It monitors a specific kind of node problem..."` as well
2022-03-16 15:24:44 -05:00
Varsha Teratipally
c370cfb68a install dependencies before building the NPD containers. 2022-03-10 20:39:56 +00:00
Kay Yan
bc89bbce56 MAINTAINER in Dockerfile is deprecated, change to label
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2022-03-07 15:27:08 +08:00
Kelvie Wong
363d01392a Create multi-arch image
For linux arm64 and amd64, as per #586.

I moved the builder image into the same dockerfile, and bumped the Go
version on it. It didn't seem like the builder dockerfile worked with
the latest code anyway (the go modules require go 1.15 and higher).

This requires a recent enough docker install with buildx, as well as
an arm64 builder.

BASEIMAGE is changed to not specify an arch, so that the image will
build on its native arch in buildx.

Example image is on docker hub as:

    kelvie/node-problem-detector:v0.8.10-5-gb0fa610
2022-02-13 01:23:31 -08:00
Pablo Baeyens
0b64594d0a Merge remote-tracking branch 'origin/master' into mx-psi/master 2022-01-13 10:42:04 +01:00
vteratipally
3e9834e26d Update OWNERS 2022-01-12 12:10:39 -08:00
Kubernetes Prow Robot
e7fe0b20dc Merge pull request #629 from spiffxp/use-k8s-infra-for-gcb-image
images: use k8s-staging-test-infra/gcb-docker-gcloud
2021-12-15 16:23:18 -08:00