From c02cf959b7d3a455f4bf85a71fe0b1561e18ec20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Lindh=C3=A9?= Date: Thu, 8 Aug 2019 00:33:18 +0200 Subject: [PATCH] More consistent naming of services in Ingress docs (#15718) It switched from a naming scheme of service1/service2 to s1/s2. That can be confusing for new people, and I propose we stick to only one naming scheme. --- .../docs/concepts/services-networking/ingress.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/en/docs/concepts/services-networking/ingress.md b/content/en/docs/concepts/services-networking/ingress.md index b049ce4d37..c81be65379 100644 --- a/content/en/docs/concepts/services-networking/ingress.md +++ b/content/en/docs/concepts/services-networking/ingress.md @@ -215,7 +215,7 @@ Events: ``` The Ingress controller provisions an implementation-specific load balancer -that satisfies the Ingress, as long as the Services (`s1`, `s2`) exist. +that satisfies the Ingress, as long as the Services (`service1`, `service2`) exist. When it has done so, you can see the address of the load balancer at the Address field. @@ -230,9 +230,9 @@ you are using, you may need to create a default-http-backend Name-based virtual hosts support routing HTTP traffic to multiple host names at the same IP address. ```none -foo.bar.com --| |-> foo.bar.com s1:80 +foo.bar.com --| |-> foo.bar.com service1:80 | 178.91.123.132 | -bar.foo.com --| |-> bar.foo.com s2:80 +bar.foo.com --| |-> bar.foo.com service2:80 ``` The following Ingress tells the backing load balancer to route requests based on @@ -384,7 +384,7 @@ Rules: Host Path Backends ---- ---- -------- foo.bar.com - /foo s1:80 (10.8.0.90:80) + /foo service1:80 (10.8.0.90:80) Annotations: nginx.ingress.kubernetes.io/rewrite-target: / Events: @@ -407,14 +407,14 @@ spec: http: paths: - backend: - serviceName: s1 + serviceName: service1 servicePort: 80 path: /foo - host: bar.baz.com http: paths: - backend: - serviceName: s2 + serviceName: service2 servicePort: 80 path: /foo .. @@ -438,9 +438,9 @@ Rules: Host Path Backends ---- ---- -------- foo.bar.com - /foo s1:80 (10.8.0.90:80) + /foo service1:80 (10.8.0.90:80) bar.baz.com - /foo s2:80 (10.8.0.91:80) + /foo service2:80 (10.8.0.91:80) Annotations: nginx.ingress.kubernetes.io/rewrite-target: / Events: