operator: Wait for CRDs before running informers#10899
Conversation
|
Please set the appropriate release note label. |
aea3b30 to
0416fac
Compare
|
test-me-please |
0416fac to
18107ee
Compare
|
test-me-please |
18107ee to
949fd12
Compare
2482f2a to
85112f5
Compare
|
test-me-please |
|
please wait on #11083 to be merged first. |
christarazi
left a comment
There was a problem hiding this comment.
Thanks for the PR! Looks good, aside for a few minor comments
d8489c5 to
a916f85
Compare
|
test-me-please |
|
Doesn't look like a flake observed anywhere else: https://jenkins.cilium.io/job/Cilium-PR-K8s-oldest-net-next/803/consoleFull |
|
hit #8945 |
|
test-net-next --focus="K8sServicesTest" |
|
retest-net-next |
|
It's green now, thanks a lot! |
joestringer
left a comment
There was a problem hiding this comment.
Policy / helm changes LGTM.
There was a problem hiding this comment.
Followup: would be nice to be able to configure this in case it lines up poorly with any other timeouts.
There was a problem hiding this comment.
Will do in a separate PR.
|
All tests passed, we requested @mrostecki via Slack to just bump the timeout to 5 minutes. Plan is to merge this imminently to make it for the 1.8.0 train 🚅 |
a916f85 to
c31c7c3
Compare
Running CRD informers was sometimes resulting in errors when cilium-operator was launched before cilium-agent created CRDs. This change adds the waitForCRD() function which waits for the given CRD with the timeout. Fixes: #10814 Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
c31c7c3 to
799ee91
Compare
|
All basic sanity checks passed, along with prior full CI pass this is good to go. Thanks @mrostecki ! |
Running CRD informers was sometimes resulting in errors when
cilium-operator was launched before cilium-agent created CRDs. This
change adds the waitForCRD() function which waits for the given CRD with
the timeout.
Fixes: #10814
Signed-off-by: Michal Rostecki mrostecki@opensuse.org