From 712a8421df5486b800c98dc517b5cb144c0abcff Mon Sep 17 00:00:00 2001 From: du Date: Tue, 5 Sep 2017 14:17:29 +0800 Subject: [PATCH 1/2] [nginx/README] fix unusable deployment guide --- controllers/nginx/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/controllers/nginx/README.md b/controllers/nginx/README.md index c7972b67c6..321f171ab3 100644 --- a/controllers/nginx/README.md +++ b/controllers/nginx/README.md @@ -114,11 +114,9 @@ First create a default backend and it's corresponding service: $ kubectl create -f examples/default-backend.yaml ``` +Follow the [example-deployment](../../examples/deployment/nginx/README.md) steps to deploy nginx-ingress-controller in Kubernetes cluster (you may prefer other type of workloads, like Daemonset, in production environment). Loadbalancers are created via a ReplicationController or Daemonset: -``` -$ kubectl create -f examples/rc-default.yaml -``` ## HTTP From f6946738f893b35de527ac64f3f32da4b52e64a5 Mon Sep 17 00:00:00 2001 From: du Date: Tue, 5 Sep 2017 14:28:07 +0800 Subject: [PATCH 2/2] [nginx/README] fix broken link on how to generate secrets containing SSL certificates --- controllers/nginx/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/nginx/README.md b/controllers/nginx/README.md index 321f171ab3..8eb52a6967 100644 --- a/controllers/nginx/README.md +++ b/controllers/nginx/README.md @@ -191,7 +191,7 @@ spec: serviceName: s1 servicePort: 80 ``` -Please follow [test.sh](https://github.com/bprashanth/Ingress/blob/master/examples/sni/nginx/test.sh) as a guide on how to generate secrets containing SSL certificates. The name of the secret can be different than the name of the certificate. +Please follow [PREREQUISITES](../../examples/PREREQUISITES.md) as a guide on how to generate secrets containing SSL certificates. The name of the secret can be different than the name of the certificate. Check the [example](../../examples/tls-termination/nginx)