Add CICD
Some checks failed
continuous-integration/drone Build is failing
Build and Release / build (push) Has been cancelled

This commit is contained in:
Yaojia Wang
2026-03-22 17:08:55 +01:00
parent b3e0efcc11
commit 4afe4aab1e
9 changed files with 232 additions and 0 deletions

26
k8s/base/ingress.yaml Normal file
View 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