ensembl_server_ingress.yaml 412 Bytes
Newer Older
Kamal Dodiya's avatar
Kamal Dodiya committed
1 2 3
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
Kamal Dodiya's avatar
Kamal Dodiya committed
4
  name: ensembl-server-<SUB_DOMAIN>-ingress
Kamal Dodiya's avatar
Kamal Dodiya committed
5 6 7 8 9 10 11 12 13 14 15
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /browser/$2             
spec:
  rules:
  - host: <SUB_DOMAIN>.review.ensembl.org
    http:
      paths:  
        - path: /browser($|/)(.*)
          backend:
            serviceName: ensembl-server-<DEPLOYMENT_ENV>-svc
            servicePort: 8000