Merge pull request #239 from andyxning/add_doc_about_custom_plugin

add docs about custom plugin
This commit is contained in:
Kubernetes Prow Robot
2018-12-10 13:12:31 -08:00
committed by GitHub
2 changed files with 12 additions and 0 deletions

View File

@@ -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)

View 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.