Commit Graph
79 Commits
Author SHA1 Message Date
Andy Xie 7302c70143 add -hostname-override 2017-01-18 23:45:30 +08:00
Lantao LiuandGitHub 1202ed0c3e Merge pull request #74 from Random-Liu/add-tarball-release
Add release tarball
2017-01-13 16:36:41 -08:00
Random-Liu 6637139441 Add release tar ball support. 2017-01-13 11:13:59 -08:00
Lantao LiuandGitHub 7dbff0d82e Merge pull request #71 from Random-Liu/add-version-flag
Add --version flag.
2017-01-13 10:52:05 -08:00
Random-Liu aedb371d06 Add --version flag. 2017-01-12 02:07:25 -08:00
Lantao LiuandGitHub d79bd657fd Merge pull request #70 from Random-Liu/add-change-log
Add CHANGELOG.md for NPD repo.
2017-01-11 23:38:27 -08:00
Lantao LiuandGitHub 04fbe1585e Merge pull request #64 from ApsOps/patch-1
Fix "Flags usage" in README
2017-01-11 14:35:55 -08:00
Amanpreet Singh d9cb2e3846 Fix "Flags usage" in README 2017-01-12 03:15:58 +05:30
Random-Liu 682037233f Add CHANGELOG.md for NPD repo. 2017-01-11 01:45:00 -08:00
Lantao LiuandGitHub d27a48021f Merge pull request #63 from shyamjvs/kernel-monitor-filepath-fix
Fixing minor bug in kernel monitor filepath
2017-01-10 15:18:34 -08:00
Shyam Jeedigunta 75e45f5658 Fixing minor bug in kernel monitor filepath 2017-01-10 23:58:35 +01:00
Lantao LiuandGitHub 0cd7944653 Merge pull request #49 from andyxning/add_support_for_running_standalone
add support for running standalone
2017-01-09 23:35:15 -08:00
andy xie 68b379c423 add support for running npd standalone 2017-01-07 23:49:19 +08:00
Lantao LiuandGitHub b4626e0d3e Merge pull request #57 from thecantero/patch-1
Update README.md
2017-01-05 11:22:23 -08:00
thecanteroandGitHub 6873a42645 Update README.md 2016-12-27 17:57:31 +08:00
Lantao LiuandGitHub cecbaf64e6 Merge pull request #55 from andyxning/check_for_linux_os
Remove dead code in kernel monitor
2016-12-22 01:00:31 -08:00
Lantao LiuandGitHub b3a08a4ddd Merge pull request #56 from Random-Liu/fix-dockerfile
Fix the dockerfile to use the right binary.
2016-12-21 19:01:50 -08:00
andy xie 2606d52afb check for linux os 2016-12-22 10:30:42 +08:00
Lantao LiuandGitHub 750c292584 Merge pull request #53 from andyxning/add_fmt_and_vet_make_target
add fmt and vet make target
2016-12-21 17:47:34 -08:00
Random-Liu d93804f340 Fix the dockerfile to use the right binary. 2016-12-21 11:54:08 -08:00
andy xie bb48848931 add fmt and vet make target 2016-12-21 19:20:34 +08:00
Lantao LiuandGitHub ec46587ba1 Merge pull request #54 from andyxning/change_travis_config_script
change travis config script
2016-12-21 01:11:50 -08:00
andy xie acfbaa68e0 change travis config script 2016-12-21 16:52:31 +08:00
Lantao LiuandGitHub c0cb7489b8 Merge pull request #52 from andyxning/bump_kubernetes_to_v1.4.0-beta.3
bump kubernetes version to v1.4.0-beta.3
2016-12-20 11:14:58 -08:00
andy xie 2c12274333 bump kubernetes version to v1.4.0-beta.3 2016-12-20 18:11:03 +08:00
Lantao LiuandGitHub 31323787ec Merge pull request #42 from euank/improve-makefile-somewhat
makefile: Make misc improvements
2016-11-21 16:50:49 -08:00
Euan Kemp 8cdf7b1790 makefile: Make misc improvements
* Add test target and re-use in travis
* Add timeout test target
* Build binary into ./bin folder
* Phony everything
2016-11-21 16:39:01 -08:00
Lantao LiuandGitHub 077dafcf28 Merge pull request #33 from AdoHe/journald
add journal support
2016-11-02 22:27:43 -07:00
AdoHe 86f4d07547 fix data race 2016-10-31 10:40:16 -04:00
AdoHe ff0a099eec fix test issue 2016-10-31 10:08:37 -04:00
AdoHe 1e33cddf10 mirror update 2016-10-26 08:43:04 +08:00
AdoHe ccbf609bd5 update travis script to install libsystemd-dev before run tests 2016-10-14 13:59:31 +08:00
AdoHe 84c25077da add journald support 2016-10-08 20:28:30 -04:00
Lantao LiuandGitHub 652ab5687c Merge pull request #34 from johscheuer/fix-typo
Fix typo in Readme
2016-09-29 11:58:56 -07:00
Johannes Scheuermann 650fff1c05 Fix typo in Readme 2016-09-29 17:32:46 +02:00
Lantao LiuandGitHub 6af7bbbe86 Merge pull request #32 from Random-Liu/remove-get-start-point
NPD: Remove get start point
2016-09-12 14:08:27 -07:00
Lantao Liu aa9e268be7 Remove the function getStartPoint, because in current logic, it is not
needed anymore.
2016-09-12 14:04:23 -07:00
Dawn ChenandGitHub f265f79fd7 Merge pull request #31 from Random-Liu/enable-travis-test
NPD: Enable travis test
2016-09-12 14:03:29 -07:00
Lantao Liu 8f6ba9efa6 Add missing godep. 2016-09-09 20:53:52 -07:00
Lantao Liu cd0f96424b Add travis ci config. 2016-09-09 20:27:29 -07:00
Lantao Liu a8f491c0d3 Fix unit test. 2016-09-09 20:00:18 -07:00
Dawn ChenandGitHub ea83111c80 Merge pull request #22 from Random-Liu/add-look-back
Kernel Monitor: Add look back support and kernel panic handling
2016-08-23 17:13:58 -07:00
Dawn ChenandGitHub 92a3c35f9a Merge pull request #30 from Random-Liu/get-node-name-from-downward-api
NPD: Get node name from the downward api.
v0.2.0
2016-08-23 16:57:26 -07:00
Lantao Liu 9054dab4c8 Get node name from the downward api. 2016-08-22 17:51:15 -07:00
Lantao Liu 532f933bd8 This PR:
1) Add lookback support in kernel monitor. After started, Kernel monitor
will check some old logs to detect problems which happened before last
node reboot.
2) Add `lookback` and `startPattern` in kernel monitor configuration.
  * `lookback` specifies how long time kernel monitor should look back.
  * `startPattern` specifies which log indicates the node is started.
  kernel monitor will clear all current node conditions once it finds
  a node start log. This makes sure that old problems won't change the
  node condition.
3) Add support for kernel panic monitoring, the null pointer and divide
0 kernel panic will be surfaced as event. Usually kernel monitor will
report these events during looking back phase.
2016-08-20 19:11:26 -07:00
Lantao LiuandGitHub 09af299a88 Change the wrong image path in pod yaml.
Change the wrong image path of pod yaml.
2016-08-11 17:03:02 -07:00
Lantao LiuandGitHub 501e94bf10 Merge pull request #29 from Random-Liu/get-node-name-from-pod
NPD: Get node name from pod
2016-08-11 14:23:46 -07:00
Lantao Liu 5a19ac1868 Get node name from pod, this makes sure that the node
name should always be consistent with kubelet.
2016-08-11 14:22:29 -07:00
Dawn ChenandGitHub 75c7bdb4b1 Merge pull request #20 from Random-Liu/add-kernel-monitor-readme
Add README.md for kernel monitor
2016-06-24 17:08:11 -07:00
Lantao Liu acabf68e06 Add README.md for kernel monitor 2016-06-24 16:19:44 -07:00