Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

v1.8.2-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@chewong chewong released this 23 Jul 18:09
· 129 commits to master since this release
9e31f9c
feat: option to set Retry-After in NMI responses (#1114)

Adds a new feature flag to enable setting Retry-After header in the
error response from NMI. The error is only when the identity is still
being assigned by NMI or no valid AzureAssignedIdentity is found yet.
This enables SDK's to retry based on the http status code 503 and the
retry after header.

Note: When enabling this feature, the default retries in NMI should be
explicitly disabled to rather rely on the SDK for retries.

--retry-attempts-for-created=1, --retry-attempts-for-assigned=1 and
--find-identity-retry-interval=1. This will force NMI to return
immediately with the Retry-After header 20s.

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>