Commit 49e71a33 authored by Kamal Dodiya's avatar Kamal Dodiya
Browse files

Add k8s manifests for new genome-browser

parent 429574c1
Pipeline #218545 failed with stage
in 8 seconds
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: new-genome-browser-server-hi-ingress-<DEPLOYMENT_ENV>
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /api/data/hi
spec:
rules:
- host: <SUB_DOMAIN>.review.ensembl.org
http:
paths:
- backend:
serviceName: new-genome-browser-server-svc-<DEPLOYMENT_ENV>-hi
servicePort: 8000
path: /api/browser/data/hi
apiVersion: v1
kind: Service
metadata:
name: new-genome-browser-server-svc-<DEPLOYMENT_ENV>-hi
labels:
app: new-genome-browser-server-svc-<DEPLOYMENT_ENV>-hi
spec:
selector:
app: new-genome-browser-server
gbtype: hi
type: ClusterIP
ports:
- port: 8000
protocol: TCP
targetPort: 3333
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: new-genome-browser-server-lo-ingress-<DEPLOYMENT_ENV>
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /api/data/lo
spec:
rules:
- host: <SUB_DOMAIN>.review.ensembl.org
http:
paths:
- backend:
serviceName: new-genome-browser-server-svc-<DEPLOYMENT_ENV>-lo
servicePort: 8000
path: /api/browser/data/lo
apiVersion: v1
kind: Service
metadata:
name: new-genome-browser-server-svc-<DEPLOYMENT_ENV>-lo
labels:
app: new-genome-browser-server-svc-<DEPLOYMENT_ENV>-lo
spec:
selector:
app: new-genome-browser-server
gbtype: lo
type: ClusterIP
ports:
- port: 8000
protocol: TCP
targetPort: 3333
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment