|
|
@ -1,16 +1,5 @@
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: Middleware
|
|
|
|
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:
|
|
|
|
metadata:
|
|
|
|
name: ratelimit
|
|
|
|
name: ratelimit
|
|
|
|
namespace: sharkey
|
|
|
|
namespace: sharkey
|
|
|
|