video-shuoshan/k8s/ingress.yaml
zyc d75d35dfc0
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m22s
Migrate deployment from Volcengine VKE to K3s
- Switch CI/CD target from KUBE_CONFIG_VKE to KUBE_CONFIG_K3S
- Change ingress class from ALB to traefik (K3S built-in)
- Remove VCI annotations from deployments
- Restore imagePullSecrets for SWR registry access

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 14:46:33 +08:00

35 lines
767 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: video-huoshan-ingress
annotations:
kubernetes.io/ingress.class: "traefik"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- video-huoshan-api.airlabs.art
- video-huoshan-web.airlabs.art
secretName: video-huoshan-tls
rules:
- host: video-huoshan-api.airlabs.art
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: video-backend
port:
number: 8000
- host: video-huoshan-web.airlabs.art
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: video-web
port:
number: 80