HTTP backend to be used as default for Ingress controller. Writen to match requirements imposed by nginx ingress controller. Based on this sample code.
Tested only with nginx ingress controller.
- Install deployment
- Expose it as a service (
kubectl expose default-http-backend
) - Point your nginx ingress controller to the service (set
--default-backend-service=NAMESPACE/default-http-backend
) - Configure which errors controller should pass to default backend