Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions api/v1alpha1/quota_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ import (
)

// QuotaPolicy specifies token quota configuration for inference services.
// Providing a list of backends in the AIGatewayRouteRule allows failover to a different service
// if token quota for a service had been exceeded.
// Generates rate limit configuration and tracks quota usage.
// Reject requests with 429 once all related quota to that request has been exceeded.
//
// TODO: Waiting on next release of Envoyproxy that will support routing based on non-exceeded quotas.
//
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ spec:
name: v1alpha1
schema:
openAPIV3Schema:
description: |-
description: |
QuotaPolicy specifies token quota configuration for inference services.
Providing a list of backends in the AIGatewayRouteRule allows failover to a different service
if token quota for a service had been exceeded.
Generates rate limit configuration and tracks quota usage.
Reject requests with 429 once all related quota to that request has been exceeded.
properties:
apiVersion:
description: |-
Expand Down
5 changes: 3 additions & 2 deletions site/docs/api/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,9 @@ MCPRouteList contains a list of MCPRoute.
- [QuotaPolicyList](#github.qkg1.top-envoyproxy-ai-gateway-api-v1alpha1-quotapolicylist)

QuotaPolicy specifies token quota configuration for inference services.
Providing a list of backends in the AIGatewayRouteRule allows failover to a different service
if token quota for a service had been exceeded.
Generates rate limit configuration and tracks quota usage.
Reject requests with 429 once all related quota to that request has been exceeded.


##### Fields

Expand Down