-
Notifications
You must be signed in to change notification settings - Fork 49
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
Read PVC warning events #146
Conversation
/ping @gardener/etcd-druid-maintainers |
Thanks for taking care and no worries @amshuman-kr. I noticed that due to the update to a newer Go version, I'll also have to adjust the CI/CD |
I filed #150 to fix the pipeline. After it's been merged, I'll resolve the conflicts in this PR. |
924a361
to
af6efb4
Compare
Thanks @amshuman-kr, I've resolved the conflicts in this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for rebasing @timuthy! LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timuthy thanks for your PR. I was somehow not able to reproduce the desired working of the functionality of the PR. To reproduce, I deliberately failed the PVC from binding by specifying a random storage class, and the PVC is in pending state, but druid doesn't print the PVC unbound warning as expected. Instead, I get error 'non-exact field matches are not supported by the cache' occurred while fetching more details
. Do you have any idea about this?
Thanks @shreyas-s-rao for your review. I fixed the bug you experienced in 8f14dc9. Unfortunately, the cache exclusion for events only happened for the Env tests. Can you try it again? |
8f14dc9
to
a4369b9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timuthy Thanks for making the changes. Tested the PR now, and it works as expected. LGTM
What this PR does / why we need it:
This PR makes Druid read events for PVCs if they are still unbound after a
StatefulSet
does not get ready. Respective warnings will appear in the.status.lastError
description which makes it easier for operators to spot the root cause.Special notes for your reviewer:
⚠️ This PR is based on #141. Only commit 924a361 is relevant for this PR.
Release note: