Skip to content

Conversation

mhofstetter
Copy link
Member

There are cases where image pulling isn't successful within 5 minutes (default wait time of cilium status --wait).

Especially on public cloud providers, it might takes longer in some cases.

What's interesting, it's never a >=1.27 k8s cluster. Good indication that parallel image pull introduced with 1.27 will help here: https://kubernetes.io/blog/2023/05/15/speed-up-pod-startup/

Therefore, this commit increases the wait timeout to 10m.

I'm aware that this might introduce follow up issues (due to overall timeout) if more time is spent in this wait. But would be interesting to know if this helps.

There are cases where image pulling isn't successful within
5 minutes (default wait time of `cilium status --wait`).

Especially on public cloud providers, it might takes longer
in some cases.

Therefore, this commit increases the wait timeout to 10m.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Dec 1, 2023
@mhofstetter mhofstetter requested review from a team as code owners December 1, 2023 10:20
@mhofstetter mhofstetter requested a review from brlbil December 1, 2023 10:20
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Shall we bump the job timeouts too (60min)?

@mhofstetter
Copy link
Member Author

Nice! Shall we bump the job timeouts too (60min)?

I'd wait to see whether this change helps at all (image pull finishes or makes a retry within the +5min).

If we realize that there are new cases where we hit the overall timeout (due to cases where we spend more time in the cilium wait) we can start to bump the job timeout.

@mhofstetter
Copy link
Member Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Dec 1, 2023
@tklauser tklauser added this pull request to the merge queue Dec 1, 2023
Merged via the queue into cilium:main with commit 0261f30 Dec 1, 2023
@mhofstetter mhofstetter deleted the pr/mhofstetter/cilium-status-wait-increase branch December 1, 2023 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants