127 lines
3.2 KiB
YAML
127 lines
3.2 KiB
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: easyai-web
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- easyai.example.com
|
|
secretName: easyai-tls
|
|
rules:
|
|
- host: easyai.example.com
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: easyai-web
|
|
port:
|
|
number: 3010
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: easyai-api
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/use-regex: "true"
|
|
nginx.ingress.kubernetes.io/rewrite-target: /$2
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 100m
|
|
nginx.ingress.kubernetes.io/proxy-buffering: "off"
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "1200"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "1200"
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- easyai.example.com
|
|
secretName: easyai-tls
|
|
rules:
|
|
- host: easyai.example.com
|
|
http:
|
|
paths:
|
|
- path: /api(/|$)(.*)
|
|
pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: easyai-server
|
|
port:
|
|
number: 3001
|
|
- path: /asg-api(/|$)(.*)
|
|
pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: easyai-asg
|
|
port:
|
|
number: 3003
|
|
- path: /ams-api(/|$)(.*)
|
|
pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: agent-memory
|
|
port:
|
|
number: 3004
|
|
- path: /sandbox(/|$)(.*)
|
|
pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: sandbox
|
|
port:
|
|
number: 8000
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: easyai-ws
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/proxy-buffering: "off"
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- easyai.example.com
|
|
secretName: easyai-tls
|
|
rules:
|
|
- host: easyai.example.com
|
|
http:
|
|
paths:
|
|
- path: /socket.io
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: ws-gateway
|
|
port:
|
|
number: 3002
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: easyai-mcp
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/proxy-buffering: "off"
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- easyai.example.com
|
|
secretName: easyai-tls
|
|
rules:
|
|
- host: easyai.example.com
|
|
http:
|
|
paths:
|
|
- path: /mcp
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: easyai-server
|
|
port:
|
|
number: 3001
|