I am currently using traefik v3 and i need to return 503 status code describing the service is in maintenance mode when there is a maintenance of the service.
how do i do it, found some results suggesting middleware change and annotating route but nothing works.
Thanks for helping.
To set up maintenance mode in Traefik v3, you can try using a custom middleware plugin from Traefik's plugin collection. You may check this out -
Traefik Maintenance Middleware Plugin