apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ob-agent-stream-ingress namespace: ob annotations: {} spec: rules: - host: ob-agent-stream.cestong.com.cn http: paths: - path: / pathType: Prefix backend: service: name: ob-agent-stream-rest port: number: 8081 ingressClassName: nginx