NETOBSERV-2375: make consistent status handling#2520
NETOBSERV-2375: make consistent status handling#2520jotak wants to merge 2 commits intonetobserv:mainfrom
Conversation
|
@jotak: This pull request references NETOBSERV-2375 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@jotak: This pull request references NETOBSERV-2375 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@jotak: This pull request references NETOBSERV-2375 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Address some old "TODOs" in status management. All statuses now follow this pattern: - They are initialized unknown - When controller found unused, status set to unused - At any point, if an error occurs, it's set with that error - Deployment/DaemonSet check progress set status either as InProgress, or Ready - New Degraded condition can be optionally set; a degraded status does not prevent it from being "ready". Make the LokiStack status fit in this model (it was previously using an entirely different pattern) Also, previously, in 2 different places LokiStack was fetched to get its status (for propagating status into FlowCollector status and into console plugin config) Now consolidated into a single entry point to get the loki status. Status changes: - New status: EBPFAgents - New status: WebConsole - New status: DemoLoki - New status: LokiStack - Renamed status: FlowCollectorLegacy => FlowCollectorController - Removed: LokiIssue and LokiWarning
Description
Address some old "TODOs" in status management. All statuses now follow this pattern:
Make the LokiStack status fit in this model (it was previously using an entirely different pattern)
Also, previously, in 2 different places LokiStack was fetched to get its status (for propagating status into FlowCollector status and into console plugin config) Now consolidated into a single entry point to get the loki status.
Status changes:
Dependencies
Checklist