ensembl_server_ingress.yaml 395 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
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /browser/$2             
spec:
  rules:
  - host: <SUB_DOMAIN>.review.ensembl.org
    http:
      paths:  
        - path: /browser($|/)(.*)
          backend:
Kamal Dodiya's avatar
Kamal Dodiya committed
14
            serviceName: ensembl-server-svc
Kamal Dodiya's avatar
Kamal Dodiya committed
15
            servicePort: 8000