Add CICD
This commit is contained in:
26
k8s/base/ingress.yaml
Normal file
26
k8s/base/ingress.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
Reference in New Issue
Block a user