Commit Graph

257 Commits

Author SHA1 Message Date
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üger
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 Robot
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 Robot
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 Robot
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 Robot
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 Robot
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 Robot
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
Michael Grosser
8578b779e2 health-checker cri: fix invalid command 2023-01-31 21:53:59 -08:00
Michael Grosser
a83ef25930 remove "Start watching journald" to avoid plugin log spam 2023-01-31 21:31:31 -08:00
Kubernetes Prow Robot
d77d8f2992 Merge pull request #721 from UiPath/new-os-distributions
Add support for SLES, Oracle and Amazon Linux
2023-01-31 10:48:56 -08:00
Kubernetes Prow Robot
0dc032e76f Merge pull request #715 from zendesk/grosser/check-result
log failed results at a higher verbosity level
2023-01-31 10:48:49 -08:00
Kubernetes Prow Robot
49fbd5cf4b Merge pull request #727 from yordis/fix-spelling
chore: fix misspelling
2023-01-31 10:06:56 -08:00
Yordis Prieto Lazo
0842910049 chore: fix misspelling 2022-12-18 22:58:07 -05:00
jasonjung
cc6c049522 add comments for cpm 2022-11-12 13:43:02 -08:00
Alexandru Matei
0afa7cc6ff Add support for SLES, Oracle and Amazon Linux 2022-10-27 14:54:42 +03:00
Michael Grosser
169ff4f9fe log failed results at a higher verbosity level 2022-10-19 14:31:18 -07:00
Izaak Alpert (karlhungus)
b6d8069610 allow setting crictl timeout 2022-09-15 14:31:41 -04:00
Izaak Alpert (karlhungus)
6de3fabc9f output stdout and stderr from custom commands 2022-09-15 14:31:24 -04: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
2022-08-01 16:22:28 -07:00
whwreflux
3fba7a9e86 fix README under systemlogmonitor 2022-07-29 17:14:46 +08: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
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
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