37 lines
874 B
YAML
37 lines
874 B
YAML
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 |