fix: Traefik | 1 replica with in memory rate limiting and version update
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
image:
|
||||||
|
tag: "v3.6.4"
|
||||||
providers:
|
providers:
|
||||||
kubernetesCRD:
|
kubernetesCRD:
|
||||||
allowCrossNamespace: true
|
allowCrossNamespace: true
|
||||||
@@ -7,7 +9,7 @@ ingress:
|
|||||||
isDefaultClass: true
|
isDefaultClass: true
|
||||||
name: traefik
|
name: traefik
|
||||||
deployment:
|
deployment:
|
||||||
replicas: 3
|
replicas: 1
|
||||||
podLabels:
|
podLabels:
|
||||||
app: traefik
|
app: traefik
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
|||||||
@@ -38,11 +38,6 @@ export class RateLimitMiddleware extends Construct {
|
|||||||
average,
|
average,
|
||||||
burst,
|
burst,
|
||||||
period,
|
period,
|
||||||
redis: {
|
|
||||||
endpoints: [`valkey.${opts.namespace}.svc.cluster.local:6379`],
|
|
||||||
secret: "valkey",
|
|
||||||
db: 5,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user