Page MenuHomePhabricator

Toolforge ingress: create a default landing page for unknown/default URLs
Open, NormalPublic


Once Toolforge k8s is working with ingress and we have the routing in place, we will need a default route for URL not matched by any ingress rule.

My proposal is to direct traffic to this URL to a pod controlled by us.
This pod can either:

  • have a static HTML web page with some error message or further instructions
  • redirect to wikitech or some other external landing page

The ingress definition for this could be something similar to this:

kind: Ingress
  name: toolforge-default-ingress-route
  - host:
      - backend:
          serviceName: toolforge-default-landing-page
          servicePort: 80

(exact setting TBD, depending on how the rest of the ingress is configured)

Foot note: I always loved the github 404 page:

Event Timeline

aborrero removed aborrero as the assignee of this task.Fri, Sep 27, 12:46 PM
aborrero triaged this task as High priority.
aborrero lowered the priority of this task from High to Normal.
aborrero moved this task from Inbox to Important on the cloud-services-team (Kanban) board.