[ci skip] add graceful degradation to CrowdSec bouncer middleware
P0: Set updateMaxFailure=-1 (fail-open) Previously defaulted to 0 which blocked ALL traffic on first LAPI failure. Now serves from cached decisions when LAPI is unreachable. P1: Enable Redis cache for CrowdSec decisions Decisions are now shared across all 3 Traefik replicas and survive pod restarts. redisCacheUnreachableBlock=false prevents Redis from becoming another SPOF. P1: Add clientTrustedIPs for internal cluster traffic Node CIDR (10.0.20.0/24) and pod CIDR (10.10.0.0/16) bypass CrowdSec entirely, preventing internal cascade failures.
This commit is contained in:
parent
cd5d76fb33
commit
a76c72042e
3 changed files with 10 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
variable "tier" { type = string }
|
||||
variable "crowdsec_api_key" { type = string }
|
||||
variable "redis_host" { type = string }
|
||||
variable "tls_secret_name" {}
|
||||
|
||||
resource "kubernetes_namespace" "traefik" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue