Commit Graph

734 Commits

Author SHA1 Message Date
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
Aaron Crickenberger
0761e11cc4 images: use k8s-staging-test-infra/gcb-docker-gcloud 2021-11-30 13:02:50 -08:00
Pablo Baeyens
a859b5f027 Change to using new dependency name for osreleaser
To do this I
1. changed the name in go.mod and the Go code that used it,
2. ran `go mod tidy -go=1.15` and
3. ran `go mod vendor`.

Step 3 added another vendored dependency unrelated AFAIK to this change.
2021-11-29 16:45:48 +01:00
Jordan Rodgers
760d252808 Only need systemd 2021-09-03 17:11:48 -07:00
Jordan Rodgers
0de6fae1f8 Install curl and systemd in docker image
A few issues have popped up where the provided image doesn't have the required packages for certain health checking operations (like https://github.com/kubernetes/node-problem-detector/issues/584#issuecomment-885832078).

This installs curl and systemd in the container to help alleviate these issues.
2021-09-03 16:46:08 -07:00
Kubernetes Prow Robot
e7d28a3bf1 Merge pull request #615 from mcshooter/updateTimeFormatForUptimeFunc
Ensure time is in Universal Time Zone to properly calculate uptime
2021-09-02 11:41:41 -07:00
michelletandya
3344efd552 ensure time is in Universal Time Zone to properly calculate uptime 2021-09-02 17:41:54 +00:00
Kubernetes Prow Robot
56c592a5d7 Merge pull request #587 from vteratipally/bug_fix
Add a check if the metric is nil so that collector doesn't collect metrics.
v0.8.10
2021-08-31 09:21:37 -07:00
Kubernetes Prow Robot
1123fd22cb Merge pull request #589 from xinydev/fix-build-guide
Update the instructions for build image in the readme
2021-08-30 15:11:13 -07:00
Kubernetes Prow Robot
393a9401b1 Merge pull request #607 from mmiranda96/fix/23202
Create cloudbuild file
2021-08-30 14:41:13 -07:00
Mike Miranda
fd6c80b840 Create cloudbuild file 2021-08-23 23:05:20 +00:00
Kubernetes Prow Robot
3c3609b5fa Merge pull request #612 from mcshooter/updateUptimeCMd
Update powershell command for uptime to help efficiency
2021-08-20 18:42:05 -07:00
Kubernetes Prow Robot
7a33650863 Merge pull request #609 from mcshooter/fixWindowsCPUIssue
Prevent uptimeFunc from being called everytime CheckHealth is called
2021-08-20 18:41:59 -07:00
Kubernetes Prow Robot
a276a05765 Merge pull request #611 from ryuichi1208/master
Fixed dead link
2021-08-20 17:59:59 -07:00
michelletandya
dd0d0d71ab Update powershell command for uptime to help efficiency 2021-08-20 01:16:45 +00:00
michelletandya
26f070bfd4 Prevent uptimeFunc from being called everytime CheckHealth is being called 2021-08-17 19:30:28 +00:00
Ryuichi Watanabe
ca95d61bf8 fix README 2021-08-15 13:58:46 +09:00
Kubernetes Prow Robot
f1aa82a9ae Merge pull request #596 from lizhuqi/update-config
remove aufs hung check
2021-08-12 09:19:48 -07:00
Kubernetes Prow Robot
aa5c7ec00d Merge pull request #602 from mcshooter/update-makefile
update make clean to remove coverage.out
2021-08-05 10:33:22 -07:00
michelletandya
203116b614 update make clean and .gitignore 2021-08-04 19:45:08 +00:00
Kubernetes Prow Robot
383be3edec Merge pull request #601 from vteratipally/maintainer
Add vteratipally as a reviewer
2021-08-02 15:12:19 -07:00
vteratipally
50ba775915 Update OWNERS 2021-08-02 13:50:27 -07:00
vteratipally
68bf26b08f Add vteratipally as a maintainer 2021-08-02 11:58:51 -07:00
Julie Qi
fe09e416bd remove aufs hung check 2021-07-30 13:53:25 -07:00
Kubernetes Prow Robot
f9199e56c5 Merge pull request #595 from mcshooter/update-makefile
Add coverage.out to Makefile
2021-07-29 11:28:57 -07:00
Kubernetes Prow Robot
870ce7ce75 Merge pull request #575 from uthark/oatamanenko/kube-proxy-check
Check kube-proxy health on linux
2021-07-28 23:38:18 -07:00
Kubernetes Prow Robot
7c5e1385cf Merge pull request #599 from Random-Liu/fix-npd-hash
Fix NPD hash for test.
2021-07-28 18:54:57 -07:00
Lantao Liu
d8ce535dc3 Fix NPD hash for test. 2021-07-28 18:06:37 -07:00
michelletandya
49526abf27 Add coverage.out to Makefile 2021-07-23 18:45:44 +00:00
XinYang
62a5f8888e Update build image guide docs
Signed-off-by: XinYang <xinydev@gmail.com>
2021-07-02 23:07:01 +08:00
Varsha Teratipally
ebdd9038b7 Add a check if the metric is nil so that collector doesn't collect the
metrics.
2021-06-30 19:50:16 +00:00
Oleg Atamanenko
c8629cea5d Check kube-proxy health on linux 2021-06-29 21:36:27 -07:00
Kubernetes Prow Robot
70f79831de Merge pull request #570 from pwschuurman/fix-e2e-test-ext4-flake
Fix e2e-test flakes for Ext4 counter
v0.8.9
2021-06-25 12:32:47 -07:00
Kubernetes Prow Robot
cbb029d905 Merge pull request #583 from pezzak/log-kubeapi-error
Log error from kube-api
2021-06-25 10:18:51 -07:00
Kubernetes Prow Robot
a0b0f9460f Merge pull request #578 from kubernetes/partitions
Reduce the number of reads to /proc/partitions file and gofmt.
2021-06-25 10:18:45 -07:00
Kubernetes Prow Robot
220f0b00f1 Merge pull request #577 from vteratipally/adfad
Bump image version from v1.0.0 to v.2.0.0 to fix some of the CVEs.
2021-06-25 09:48:52 -07:00
Kubernetes Prow Robot
e349323507 Merge pull request #539 from smileusd/health_check
improvement health-checker
2021-06-25 09:48:45 -07:00