log-center/k8s/ingress.yaml
zyc 637c479818
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 1m30s
feat: initial log center with k8s deployment
2026-01-30 11:49:47 +08:00

37 lines
817 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: log-center-ingress
annotations:
kubernetes.io/ingress.class: "traefik"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- qiyuan-log-center-api.airlabs.art
- qiyuan-log-center-web.airlabs.art
secretName: log-center-tls
rules:
# API Service
- host: qiyuan-log-center-api.airlabs.art
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: log-center-api
port:
number: 8002
# Web Dashboard
- host: qiyuan-log-center-web.airlabs.art
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: log-center-web
port:
number: 80