Skip to main content

lib/k8s/backendTrafficPolicy

Index

Classes

ClassDescription
BackendTrafficPolicyXBackendTrafficPolicy – Gateway API experimental resource that controls client behaviour (retries, session stickiness, etc.) when talking to a backend.

Interfaces

InterfaceDescription
BackendTrafficPolicySpecBackendTrafficPolicySpec defines the desired policy.
BackendTrafficPolicyTargetRefBackendTrafficPolicyTargetRef defines a backend object that the policy applies to (Service, ServiceImport, or implementation‑specific backendRef).
BudgetDetailsBudgetDetails limits the share of active requests that may be retries and the time window for calculating that budget.
KubeBackendTrafficPolicyKubeBackendTrafficPolicy is the concrete Kubernetes resource interface.
RequestRateRequestRate expresses “X requests per Y time‑interval”.
RetryConstraintRetryConstraint dynamically constrains client‑side retries using a percentage‑based budget and a safety‑net minimum rate.
SessionPersistenceSessionPersistence keeps successive requests from the same client on a consistent backend. The exact shape is still evolving in the spec, so this is typed loosely for now.