From 33d47a0cf709bf661abe1dd565e6f92ce09a6c27 Mon Sep 17 00:00:00 2001 From: Greg Whorley <11302134+gregwhorley@users.noreply.github.com> Date: Tue, 9 Nov 2021 13:57:05 -0800 Subject: [PATCH] fix ingress spec --- docs/tutorials/alb-ingress.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/tutorials/alb-ingress.md b/docs/tutorials/alb-ingress.md index 4e68a3e53..3354b5348 100644 --- a/docs/tutorials/alb-ingress.md +++ b/docs/tutorials/alb-ingress.md @@ -87,12 +87,13 @@ spec: - host: echoserver.mycluster.example.org http: &echoserver_root paths: - - backend: + - path: / + backend: service: name: echoserver port: number: 80 - pathType: ImplementationSpecific + pathType: Prefix - host: echoserver.example.org http: *echoserver_root ``` @@ -124,12 +125,13 @@ spec: rules: - http: paths: - - backend: + - path: / + backend: service: name: echoserver port: number: 80 - pathType: ImplementationSpecific + pathType: Prefix ``` In the above example we create a default path that works for any hostname, and @@ -162,12 +164,13 @@ spec: - host: echoserver.example.org http: paths: - - backend: + - path: / + backend: service: name: echoserver port: number: 80 - pathType: ImplementationSpecific + pathType: Prefix ``` The above Ingress object will result in the creation of an ALB with a dualstack