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