How do I present a “website down” message to the visitors if all the pods are crashed?
Right now a page appears with the error message “default backend-404”
I’ve tried a few things but nothing is working.
I’ve tried something like this
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: example-ingress
spec:
backend:
serviceName: website-down-service
servicePort: 80
rules:
- host: example.com
http:
paths:
- path: /
backend:
serviceName: example-service
servicePort: 80
What am I supposed to do?