kind: Ingress apiVersion: extensions/v1beta1 metadata: name: advertisement-agent # ingress名称 namespace: advertisement annotations: kubesphere.io/creator: dengbiao spec: rules: - host: 123456.agent.advertisement.dengbiao.top # 使用的域名 http: paths: - path: / pathType: ImplementationSpecific backend: serviceName: advertisement-agent # 流量转发到的服务 servicePort: 80