Skip to content

Conversation

@paulgmiller
Copy link
Member

Reason for Change:
apiserver nnc might not be registered or api server might be down and crashloop backoff puts us outside of 5-10 minutes we have for aks addons to come up so retry a bit more aggresively here.

We could also exponential backoff here but wouldn't want ot go above 1 minute or we'd be in same place.

Use avast retry library in cns main so we don't hand roll our own.

This is the iron man bandaid version of #1084

Issue Fixed:

Requirements:

Notes:

Copy link
Collaborator

@rbtr rbtr left a comment

Choose a reason for hiding this comment

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

❤️ a real retrier

@rbtr rbtr merged commit 27ac431 into Azure:master Nov 5, 2021
@paulgmiller paulgmiller mentioned this pull request Nov 5, 2021
3 tasks
matmerr pushed a commit to matmerr/azure-container-networking that referenced this pull request Nov 11, 2021
* stupid simple retry

* go lint fixes

* missed one //

* avast retry

* try out avast

* vendor

* try nad make linters happy

* fix wrap check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants