diff --git a/controllers/nginx/examples/custom-upstream-check/README.md b/controllers/nginx/examples/custom-upstream-check/README.md index e413ca312..612c93922 100644 --- a/controllers/nginx/examples/custom-upstream-check/README.md +++ b/controllers/nginx/examples/custom-upstream-check/README.md @@ -1,6 +1,6 @@ - This example shows how is possible to create a custom configuration for a particular upstream associated with an Ingress rule. +``` echo " apiVersion: extensions/v1beta1 kind: Ingress @@ -18,12 +18,12 @@ spec: serviceName: echoheaders servicePort: 80 " | kubectl create -f - - +``` Check the annotation is present in the Ingress rule: ``` kubectl get ingress echoheaders -o yaml -`` +``` Check the NGINX configuration is updated using kubectl or the status page: