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