kubernetes / node-problem-detector

This is a place for various problem detectors running on the Kubernetes nodes.
Apache License 2.0
2.9k stars 624 forks source link

IF the types of "temporary" and "permanent" always begin to run?? or just choose one of them? #924

Open junchaoYE opened 2 months ago

junchaoYE commented 2 months ago

I imitated the NTPProblem rules in node-problem-detector/config/custom-plugin-monitor.json and added io delay detection rules, that is, I added two to the rules: temporary and permanent, and wrote the results of each exec this .sh to the log. But by observation, it was found that this script was executed twice at about the same time, why? 1、the current npdiodelay 2、the custom-plugin-monit-disk-io-delay.json custom-plugin-monit-disk-io-delay.json

junchaoYE commented 2 months ago

i am use the npd 0.8.10 , otherwise,I try to reduce one of them (such as the temporary of rule),however ,the same log as the picture above。

I want to know how .sh script is executed?