27 lines
679 B
YAML
27 lines
679 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: xiaohongshu-mcp
|
|
namespace: xiaohongshu-mcp
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- xiaohongshu-mcp.k8s.home
|
|
secretName: xiaohongshu-mcp-tls
|
|
rules:
|
|
- host: xiaohongshu-mcp.k8s.home
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: xiaohongshu-mcp
|
|
port:
|
|
number: 18060
|