Module retry

Module retry 

Source
Expand description

Retry logic with exponential backoff for Kubernetes API calls.

This module provides utilities for retrying transient API errors (429, 5xx) with exponential backoff, while failing fast on permanent errors (4xx client errors).

Structs§

ExponentialBackoff
Simple exponential backoff implementation.

Functions§

default_backoff
Create default exponential backoff configuration for Kubernetes API retries.
http_backoff
Create exponential backoff configuration for HTTP API retries.
is_retryable_http_status
Determine if an HTTP status code is retryable.
retry_api_call
Retry a Kubernetes API call with exponential backoff.