diff --git a/examples/deployment/haproxy/README.md b/examples/deployment/haproxy/README.md index f33769362..b03541e66 100644 --- a/examples/deployment/haproxy/README.md +++ b/examples/deployment/haproxy/README.md @@ -89,7 +89,7 @@ spec: - path: / backend: serviceName: http-svc - servicePort: 80 + servicePort: 8080 EOF ``` @@ -147,5 +147,5 @@ haproxy-ingress-2556761959-tv20k 1/1 Running 0 9m ... $ kubectl logs haproxy-ingress-2556761959-tv20k -$ kubectl describe haproxy-ingress-2556761959-tv20k +$ kubectl describe pod/haproxy-ingress-2556761959-tv20k ``` diff --git a/examples/tls-termination/haproxy/README.md b/examples/tls-termination/haproxy/README.md index 2393ef2c2..e019a00ee 100644 --- a/examples/tls-termination/haproxy/README.md +++ b/examples/tls-termination/haproxy/README.md @@ -1,4 +1,4 @@ -# TLS termination +# HAProxy Ingress TLS termination ## Prerequisites @@ -102,13 +102,13 @@ Here is the difference: Now `foo.bar` certificate should be used to terminate TLS: ```console -openssl s_client -connect 172.17.4.99:31692 +$ openssl s_client -connect 172.17.4.99:31692 ... subject=/CN=localhost issuer=/CN=localhost --- -openssl s_client -connect 172.17.4.99:31692 -servername foo.bar +$ openssl s_client -connect 172.17.4.99:31692 -servername foo.bar ... subject=/CN=foo.bar issuer=/CN=foo.bar diff --git a/examples/tls-termination/haproxy/ingress-tls-default.yaml b/examples/tls-termination/haproxy/ingress-tls-default.yaml index f546fbd83..7c5034645 100644 --- a/examples/tls-termination/haproxy/ingress-tls-default.yaml +++ b/examples/tls-termination/haproxy/ingress-tls-default.yaml @@ -13,4 +13,4 @@ spec: - path: / backend: serviceName: http-svc - servicePort: 80 + servicePort: 8080 diff --git a/examples/tls-termination/haproxy/ingress-tls-foobar.yaml b/examples/tls-termination/haproxy/ingress-tls-foobar.yaml index 24cb527c7..e15f9428b 100644 --- a/examples/tls-termination/haproxy/ingress-tls-foobar.yaml +++ b/examples/tls-termination/haproxy/ingress-tls-foobar.yaml @@ -14,4 +14,4 @@ spec: - path: / backend: serviceName: http-svc - servicePort: 80 + servicePort: 8080