-
Notifications
You must be signed in to change notification settings - Fork 652
Custom Plugin: Allow users to define condition startup behavior #645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
/kind feature |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Closing, this was addressed in #646 |
Problem
There is currently no way for
custompluginmonitor
users to define startup behavior for ComponentCondition. Bothcustompluginmonitor
andsystemlogmonitor
will emit a ComponentCondition with defaultStatus: "False"
during initialization for all monitored conditions.Assuming that no problems exist at NPD startup doesn't always make sense. For example being, when the NPD container is restarting on a node. In this case, depending on restart frequency, the ConditionStatus on the node ends up flip-flopping between True and False/Unknown
Options
Option A: Allow user to specify startup behavior on the plugin
systemlogmonitor
although could be updated there as well if perceived benefitOption B: Allow user to specify ConditionStatus in the condition configuration
systemlogmonitor
Option C: Allow user to specify startup behavior in the condition
The text was updated successfully, but these errors were encountered: