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
status: catch a few more Progressing cases #143
status: catch a few more Progressing cases #143
Conversation
/hold |
context: Clayton noticed in https://bugzilla.redhat.com/show_bug.cgi?id=1695200 that LastTransitionTime for Progressing wasn't bumped after an update. |
Still not sure if / how to catch the (admittedly unlikely) case where we update a DS then go offline until the controller has completely rolled out the change. The only thing I can think of is persisting observedgeneration somewhere, which feels yucky. |
The easiest way to tell that a daemonset is progressing is that UpdatedNumberScheduled is less than Desired. Also, catch the case where the daemonset update hasn't yet been observed by the controller.
Updated, tested with a running cluster and verified that progressing had a useful status. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1695200 /hold cancel |
Hm... compare |
It does't look like the DaemonSet controller is actually setting any |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danwinship, squeed The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
openshift/cluster-network-operator#143: The easiest way to tell that a daemonset is progressing is that UpdatedNumberScheduled is less than Desired. Also, catch the case where the daemonset update hasn't yet been observed by the controller. Signed-off-by: Petr Horacek <phoracek@redhat.com>
The easiest way to tell that a daemonset is progressing is that UpdatedNumberScheduled is less than Desired.
Also, catch the case where the daemonset update hasn't yet been observed by the controller.