mirror of https://github.com/gsi-upm/senpy
Add k8s deployment
parent
a7849bb029
commit
e9266af924
@ -1,21 +1,19 @@
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: senpy-ingress
|
||||
labels:
|
||||
app: senpy
|
||||
spec:
|
||||
rules:
|
||||
- host: latest.senpy.gsi.upm.es
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
serviceName: senpy-latest
|
||||
servicePort: 5000
|
||||
- host: latest.senpy.gsi.upm.es
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: senpy-latest
|
||||
servicePort: 5000
|
||||
service:
|
||||
name: senpy-latest
|
||||
port:
|
||||
number: 5000
|
||||
|
Loading…
Reference in New Issue