From d0aa993661c6645cc567935ae93e4fe589e7aa90 Mon Sep 17 00:00:00 2001 From: Michael Terrington Date: Wed, 14 Nov 2018 19:54:03 +1030 Subject: [PATCH] Improve kubernetes TLS user guide --- docs/user-guide/kubernetes.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/user-guide/kubernetes.md b/docs/user-guide/kubernetes.md index e8b196760..a9a63d5f9 100644 --- a/docs/user-guide/kubernetes.md +++ b/docs/user-guide/kubernetes.md @@ -375,6 +375,14 @@ We should now be able to visit [traefik-ui.minikube](http://traefik-ui.minikube) For this example to work you need a TLS entrypoint. You don't have to provide a TLS certificate at this point. For more details see [here](/configuration/entrypoints/). +You can add a TLS entrypoint by adding the following `args` to the container spec: + +```yaml + --defaultentrypoints=http,https + --entrypoints=Name:https Address::443 TLS + --entrypoints=Name:http Address::80 +``` + To setup an HTTPS-protected ingress, you can leverage the TLS feature of the ingress resource. ```yaml