commit c8f54940ef49bbf1f7f862ea41beb53e73d91e52 parent 5710c9131010d31f1ce607fee3ee5ea3d73bf28d Author: MTRNord <MTRNord@users.noreply.github.com> Date: Tue, 16 Sep 2025 19:46:54 +0200 Add general ratelimits Diffstat:
| M | apps/talos_cluster/continuwuity/deployment.yaml | | | 20 | +++++++++++++++++++- |
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/apps/talos_cluster/continuwuity/deployment.yaml b/apps/talos_cluster/continuwuity/deployment.yaml @@ -74,7 +74,7 @@ apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: continuwuity - namespace: matrix + namespace: continuwuity spec: parentRefs: - name: envoy-gateway @@ -88,3 +88,21 @@ spec: timeouts: request: 240s backendRequest: 0s +--- +apiVersion: gateway.envoyproxy.io/v1alpha1 +kind: BackendTrafficPolicy +metadata: + name: continuwuity-general-ratelimit + namespace: continuwuity +spec: + targetRefs: + - group: gateway.networking.k8s.io + kind: HTTPRoute + name: continuwuity + rateLimit: + type: Local + local: + rules: + - limit: + requests: 100 + unit: Minute