Commit Graph
275 Commits
Author SHA1 Message Date
Ciprian Hacman 69da591e38 chore: Remove unused binary nethealth 2024-05-18 09:52:39 +03:00
Sudheer Nedlumane 7ee2a4dcda Add rocky linux support to GetOSVersion 2024-05-15 16:48:25 -07:00
Zhen Wang aed88103f1 Add comment to health checker repair function to explain the need of kill instead of restart 2024-04-05 16:56:03 +00:00
Henry Beberman fda3234b64 Add support for CBL-Mariner and Azure Linux 2024-03-28 18:34:00 +00:00
Kubernetes Prow RobotandGitHub d4aa574df2 Merge pull request #864 from linxiulei/node_cache
Get Node object from APIServer cache
2024-03-26 03:43:19 -07:00
Kubernetes Prow RobotandGitHub 8cd92dbaba Merge pull request #856 from levaspb/master
fix bug in skip_initial_status
2024-03-26 00:49:19 -07:00
Zhen Wang e4d293eb51 Bump NPD versions to v0.8.17
Also ran `make gomod` and `make fmt` in the repo for cleanup.
2024-03-09 14:32:45 +00:00
Eric Lin 7dd7c14868 Get Node object from APIServer cache 2024-02-20 14:23:13 +00:00
Chotiwat ChawannakulandGitHub 008a62bb90 fix execCommand output 2024-02-14 13:57:11 -08:00
StanislavandStanislav Egorkin f24dbb13f7 fix bug in skip_initial_status 2024-02-02 14:33:11 +01:00
Eric Lin c225435bea Use --revert-pattern to discount proactive restarts 2024-01-17 18:24:24 +00:00
Eric Lin 1002df5e13 Add --revert-pattern for logcounter 2024-01-17 18:21:57 +00:00
Kubernetes Prow RobotandGitHub bdaa44eb23 Merge pull request #825 from kasbert/master
Add disk and memory percent_used
2023-12-15 15:54:49 +01:00
Jarkko Sonninen 07900633cb Add disk and memory percent_used 2023-10-28 16:03:48 +03:00
j4ckstraw e31cf7b137 fix: fix pprof by register handlers explicitly
see https://pkg.go.dev/net/http/pprof
> By default, all the profiles listed in runtime/pprof.Profile are
available (via Handler), in addition to the Cmdline, Profile, Symbol,
and Trace profiles defined in this package. If you are not using
DefaultServeMux, you will have to register handlers with the mux you are
using.

Signed-off-by: j4ckstraw <j4ckstraw@foxmail.com>
2023-10-08 10:49:24 +08:00
Ciprian Hacman a5aadf719a Update github.com/avast/retry-go to v4.5.0 2023-09-24 11:25:19 +02:00
Fan Shang Xiang d04bb3a5b0 add retry for patch node requests and replace deprecated poll function 2023-09-21 07:36:42 +00:00
Ciprian Hacman fdd522a951 Update github.com/coreos/go-systemd to v22.5.0 2023-09-20 07:13:42 +03:00
Ciprian Hacman 65e4aa3c5e Remove dependency on code.cloudfoundry.org/clock 2023-09-19 12:50:29 +03:00
Ciprian Hacman 5210373640 Init useful flags for klog/v2 2023-09-17 11:00:42 +03:00
Manuel RügerandCiprian Hacman e43459d86d Move glog/klog logging to klog/v2 2023-09-17 08:57:33 +03:00
Ciprian Hacman f58f6cd208 Update tests to run also on macOS 2023-09-11 19:25:59 +03:00
Manuel Rüger c4311bd207 Move github.com/shirou/gopsutil to v3 2023-09-11 12:18:22 +02:00
Kubernetes Prow RobotandGitHub ba1e0b3146 Merge pull request #808 from hakman/fix-make-fmt
Update `net_collector_test.go` formatting
2023-09-08 12:01:11 -07:00
Ciprian Hacman 568fbe8437 Update net_collector_test.go formatting 2023-09-08 16:08:40 +03:00
Ciprian Hacman 2077606ba3 Remove direct dependency on google/cadvisor 2023-09-08 15:28:25 +03:00
Fan Shang Xiang adbe770d74 replace k8s.io/apimachinery/pkg/util/clock with k8s.io/utils/clock 2023-08-31 06:27:32 +00:00
Fan Shang Xiang 471ab88240 add context to long running operations 2023-07-13 10:01:18 +08:00
Kubernetes Prow RobotandGitHub 6b538a5d4e Merge pull request #768 from testwill/pkg-import
chore: pkg imported more than once
2023-06-25 22:07:08 -07:00
Kubernetes Prow RobotandGitHub e6fbdd434a Merge pull request #760 from MartinForReal/master
bump k8s.io dependencies to 1.17.2
2023-06-25 21:41:16 -07:00
Kubernetes Prow RobotandGitHub 6e30b17476 Merge pull request #733 from raghu-nandan-bs/variablize-kube-endpoints
optionally read node and port information from env variables for kube* services
2023-06-25 21:41:07 -07:00
guoguangwu da422bb452 chore: pkg imported more than once 2023-06-21 14:14:53 +08:00
guoguangwu 6dc23ca804 chore: remove refs to deprecated io/ioutil 2023-06-21 12:12:27 +08:00
Fan Shang Xiang b5e4ef628b bump k8s.io to 1.17.2 2023-06-12 22:27:39 +08:00
MartinForReal 75095b2573 remove heapster from project dependencies 2023-05-18 01:38:29 +00:00
Mike Miranda 22157af0e5 Split proc default and validation between Linux and Windows 2023-04-13 18:52:59 +00:00
corneredrat 706bf35086 update defaultHost var name 2023-02-09 23:22:55 +05:30
corneredrat 2e0ff3d14c fix unit tests 2023-02-09 23:10:38 +05:30
corneredrat 429777eb5d fux unit tests 2023-02-09 22:14:40 +05:30
corneredrat 07317328f1 update expected results 2023-02-09 21:59:47 +05:30
corneredrat e6ab24db7f update expected results 2023-02-09 21:38:31 +05:30
corneredrat d88e0dda02 fix test for kube endpoints 2023-02-09 15:58:06 +05:30
corneredrat a117c0c056 1. make vars private
2. expose endpoints via functions
3. add test cases
4. rename host addr var
2023-02-09 15:02:52 +05:30
corneredrat 83e520784b use consts 2023-02-04 22:48:49 +05:30
corneredrat 92e63b5991 move node endpoints initialization to separate section 2023-02-04 21:14:20 +05:30
corneredrat f601956af9 name var for env keys appropriately 2023-02-01 21:43:53 +05:30
corneredrat 2415e30efe remove redundant initialization 2023-02-01 21:42:52 +05:30
corneredrat 6163859ae8 read node and port information from env varibles for kube* services 2023-02-01 14:09:07 +05:30
Kubernetes Prow RobotandGitHub b586bd9231 Merge pull request #717 from zendesk/grosser/space
health-checker cri: fix invalid command
2023-01-31 23:51:06 -08:00
Kubernetes Prow RobotandGitHub 7b6805491c Merge pull request #716 from zendesk/grosser/silence
remove "Start watching journald" to avoid plugin log spam
2023-01-31 23:13:06 -08:00