# 可选:通过集群 Ingress 暴露平台 UI。 # 阿里云 ACK 用 ALB IngressClass;腾讯 TKE 用 qcloud;华为 CCE 用 nginx/cce。 # 若继续走外部 WAF 回源到 Service,则不需要本文件。 apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: opsx-loki namespace: log annotations: # 阿里云 ALB 示例;其他云改成对应 ingressClass alb.ingress.kubernetes.io/healthcheck-path: /api/v1/health spec: ingressClassName: alb rules: - host: opsx-loki.91ai.io http: paths: - path: / pathType: Prefix backend: service: name: opsx-loki port: number: 8080