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
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: senpy-ingress
|
name: senpy-ingress
|
||||||
|
labels:
|
||||||
|
app: senpy
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: latest.senpy.gsi.upm.es
|
- host: latest.senpy.gsi.upm.es
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
serviceName: senpy-latest
|
service:
|
||||||
servicePort: 5000
|
name: senpy-latest
|
||||||
- host: latest.senpy.gsi.upm.es
|
port:
|
||||||
http:
|
number: 5000
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
backend:
|
|
||||||
serviceName: senpy-latest
|
|
||||||
servicePort: 5000
|
|
||||||
|
Loading…
Reference in New Issue