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