Traefik not re-configuring using AWS Elasticicache Redis on change

Hey, I'm currently having some trouble with Redis as a provider for Traefik using AWS Elasticicache Redis.

It is connecting properly using [providers.redis], reading keys when Traefik starts up correctly, however when I update the keys in Redis the configuration doesn't change.
If I run Redis locally and test it it reacts to changes okay.

Why does Traefik not react to external Redis config changes?

I figured it out. It turns out that when you initialise an AWS ECR instance it doesn't enable the necessary parameter flags that Traefik requires to be notified of changes.

The flag is "notify-keyspace-events" and should be "AKE". Create a new parameter group in AWS and set it to. Then, assign that parameter group to your ECR instance.


1 Like