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