add api gw ingress
This commit is contained in:
parent
00191e6de7
commit
7559d499c5
37
api-gw.yml
Normal file
37
api-gw.yml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: birb-ingress
|
||||||
|
namespace: birbnetes
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: "nginx"
|
||||||
|
cert-manager.io/issuer: "letsencrypt-production"
|
||||||
|
spec:
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- birb.k8s.kmlabz.com
|
||||||
|
secretName: birb-cert-secret
|
||||||
|
rules:
|
||||||
|
- host: birb.k8s.kmlabz.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /devices
|
||||||
|
backend:
|
||||||
|
serviceName: cnc-service
|
||||||
|
servicePort: 80
|
||||||
|
- path: /sample
|
||||||
|
backend:
|
||||||
|
serviceName: input-service
|
||||||
|
servicePort: 80
|
||||||
|
- path: /model
|
||||||
|
backend:
|
||||||
|
serviceName: model-service
|
||||||
|
servicePort: 80
|
||||||
|
- path: /output
|
||||||
|
backend:
|
||||||
|
serviceName: output-service-rdb
|
||||||
|
servicePort: 80
|
||||||
|
- path: /object
|
||||||
|
backend:
|
||||||
|
serviceName: storage-service
|
||||||
|
servicePort: 80
|
Loading…
Reference in New Issue
Block a user