From bf7d676a443a5b541bd251852fe18bdcdac095b3 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 3 Feb 2024 23:15:53 +0100 Subject: [PATCH] apps(sharkey): Remove circuit breaker --- apps/sharkey/app/middleware.yaml | 11 ----------- apps/sharkey/app/route.yaml | 1 - 2 files changed, 12 deletions(-) diff --git a/apps/sharkey/app/middleware.yaml b/apps/sharkey/app/middleware.yaml index 3376bac..27afeef 100644 --- a/apps/sharkey/app/middleware.yaml +++ b/apps/sharkey/app/middleware.yaml @@ -1,16 +1,5 @@ apiVersion: traefik.containo.us/v1alpha1 kind: Middleware -metadata: - name: circuit-breaker - namespace: sharkey -spec: - circuitBreaker: - expression: LatencyAtQuantileMS(50.0) > 200 || ResponseCodeRatio(500, 600, 0, 600) > 0.5 - fallbackDuration: 2s - recoveryDuration: 5s ---- -apiVersion: traefik.containo.us/v1alpha1 -kind: Middleware metadata: name: ratelimit namespace: sharkey diff --git a/apps/sharkey/app/route.yaml b/apps/sharkey/app/route.yaml index 72931d7..71c6419 100644 --- a/apps/sharkey/app/route.yaml +++ b/apps/sharkey/app/route.yaml @@ -13,7 +13,6 @@ spec: - name: strict-security-headers namespace: default - name: ratelimit - - name: circuit-breaker services: - name: sharkey port: http