k8s.io/kubernetes@v1.29.3/test/e2e/testing-manifests/ingress/http/ing.yaml (about) 1 apiVersion: networking.k8s.io/v1 2 kind: Ingress 3 metadata: 4 name: echomap 5 spec: 6 # kubemci requires a default backend. 7 defaultBackend: 8 service: 9 name: echoheadersx 10 port: 11 number: 80 12 rules: 13 - host: foo.bar.com 14 http: 15 paths: 16 - path: /foo 17 pathType: "ImplementationSpecific" 18 backend: 19 service: 20 name: echoheadersx 21 port: 22 number: 80 23 - host: bar.baz.com 24 http: 25 paths: 26 - path: /bar 27 pathType: "ImplementationSpecific" 28 backend: 29 service: 30 name: echoheadersy 31 port: 32 number: 80 33 - path: /foo 34 pathType: "ImplementationSpecific" 35 backend: 36 service: 37 name: echoheadersx 38 port: 39 number: 80 40