update deploy yaml

This commit is contained in:
2025-07-07 09:25:55 +08:00
parent 4d1eb20080
commit 9ffc73ddc7
7 changed files with 58 additions and 147 deletions

View File

@@ -7,3 +7,14 @@ service:
type: ClusterIP # 或 LoadBalancer根据你的需求
port: 8000
# 更多配置可以按需添加,例如 resources, probes 等
ingress:
enabled: true
className: traefik # K3s 默认使用 Traefik
host: markword.simpla.dev # <-- 替换为你希望访问的域名
# 或者使用 Node IP 直接访问
# path: /
# pathType: Prefix
# tls:
# - hosts:
# - markword.simpla.dev
# secretName: fastapi-tls-secret # 你的TLS Secret名称