mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-03-27 22:07:57 +00:00
Merge pull request #239 from andyxning/add_doc_about_custom_plugin
add docs about custom plugin
This commit is contained in:
@@ -177,6 +177,10 @@ Kubernetes cluster to a healthy state. The following remedy systems exist:
|
||||
[this issue](https://github.com/kubernetes/node-problem-detector/issues/199)
|
||||
for an example production use case for Draino.
|
||||
|
||||
# Docs
|
||||
|
||||
* [Custom plugin monitor](docs/custom_plugin_monitor.md)
|
||||
|
||||
# Links
|
||||
|
||||
* [Design Doc](https://docs.google.com/document/d/1cs1kqLziG-Ww145yN6vvlKguPbQQ0psrSBnEqpy0pzE/edit?usp=sharing)
|
||||
|
||||
8
docs/custom_plugin_monitor.md
Normal file
8
docs/custom_plugin_monitor.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Custom Plugin Monitor
|
||||
|
||||
## Configuration
|
||||
### Plugin Config
|
||||
* `invoke_interval`: Interval at which custom plugins will be invoked.
|
||||
* `timeout`: Time after which custom plugins invokation will be terminated and considered timeout.
|
||||
* `max_output_length`: The maximum standard output size from custom plugins that NPD will be cut and use for condition status message.
|
||||
* `concurrency`: The plugin worker number, i.e., how many custom plugins will be invoked concurrently.
|
||||
Reference in New Issue
Block a user