@ -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
---
name: ratelimit
@ -13,7 +13,6 @@ spec:
- name: strict-security-headers
namespace: default
- name: ratelimit
- name: circuit-breaker
services:
- name: sharkey
port: http