From f3050740ef637b8d278e348876718021e7913fd9 Mon Sep 17 00:00:00 2001 From: Gajendra D Ambi Date: Thu, 2 Apr 2020 23:17:20 +0530 Subject: [PATCH] Example names violate DNS naming stadards Original names which gave errors: myServiceA, myServiceB Alatere suggestions: myServiceA --> myservicea, my_service_a, my-service-a myServiceB --> myserviceb, my_service_b, my-service-b --- docs/user-guide/basic-usage.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/user-guide/basic-usage.md b/docs/user-guide/basic-usage.md index 247cb8bf2..82019d978 100644 --- a/docs/user-guide/basic-usage.md +++ b/docs/user-guide/basic-usage.md @@ -8,35 +8,35 @@ First of all follow the instructions to install ingress-nginx. Then imagine that apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: - name: ingress-myServiceA + name: ingress-myservicea annotations: # use the shared ingress-nginx kubernetes.io/ingress.class: "nginx" spec: rules: - - host: myServiceA.foo.org + - host: myservicea.foo.org http: paths: - path: / backend: - serviceName: myServiceA + serviceName: myservicea servicePort: 80 --- apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: - name: ingress-myServiceB + name: ingress-myserviceb annotations: # use the shared ingress-nginx kubernetes.io/ingress.class: "nginx" spec: rules: - - host: myServiceB.foo.org + - host: myserviceb.foo.org http: paths: - path: / backend: - serviceName: myServiceB + serviceName: myserviceb servicePort: 80 ```