How to temporarily disable ingress traffic or redirect all traffic to a certain page

Hi,
I’d like to set a maintenance mode in my system.
When switching to maintenance mode, I don’t want to allow access to the services.
there are two options:

  • block all traffic and reply with 403

  • redirect all traffic to a general page that says the system is in maintenance mode currently and I can’t serve you at the moment

Is there a way in istio to implement one of the above methods?

1 Like