kind: Ingress apiVersion: networking.k8s.io/v1beta1 metadata: name: "" namespace: testing spec: rules: - http: paths: - path: /bar backend: serviceName: service1 servicePort: 80 - path: /foo backend: serviceName: service1 servicePort: 80