1
0
Fork 0

add ingress definition

This commit is contained in:
Tobias Brunner 2019-07-23 18:44:32 +00:00
parent 326684292d
commit c6fb50fc4b
3 changed files with 34 additions and 5 deletions

View File

@ -0,0 +1,16 @@
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
labels:
app: iotbox
name: iotbox
namespace: pos
spec:
rules:
- host: iotbox
http:
paths:
- path: /
backend:
serviceName: iotbox
servicePort: 80

View File

@ -7,11 +7,8 @@ metadata:
namespace: pos
spec:
ports:
- name: "8070"
port: 8070
- name: http
port: 80
targetPort: 8069
- name: "8072"
port: 8072
targetPort: 8072
selector:
app: iotbox

View File

@ -0,0 +1,16 @@
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
labels:
app: odoo
name: odoo
namespace: pos
spec:
rules:
- host: pos
http:
paths:
- path: /
backend:
serviceName: odoo
servicePort: 80