From 5607db09bb1f58f6eb1ef74e9e21f87df158d9f0 Mon Sep 17 00:00:00 2001 From: bebyx <35663391+bebyx@users.noreply.github.com> Date: Thu, 3 Sep 2020 18:11:06 +0300 Subject: [PATCH 1/2] Add important note about port This tutorial should note that the Pod works **only** with `--port=8080`. This would probably save couple of hours for adventurous DevOps trainees. --- content/en/docs/tutorials/hello-minikube.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/en/docs/tutorials/hello-minikube.md b/content/en/docs/tutorials/hello-minikube.md index 901e0063cf..b741e3882d 100644 --- a/content/en/docs/tutorials/hello-minikube.md +++ b/content/en/docs/tutorials/hello-minikube.md @@ -136,6 +136,8 @@ Kubernetes [*Service*](/docs/concepts/services-networking/service/). The `--type=LoadBalancer` flag indicates that you want to expose your Service outside of the cluster. + + Please note that the Pod won't show up under ports other than 8080. 2. View the Service you just created: From d3a57a7c60a558ac3b50c2ed92b22ec8e5b6c6f2 Mon Sep 17 00:00:00 2001 From: bebyx <35663391+bebyx@users.noreply.github.com> Date: Thu, 1 Oct 2020 11:45:22 +0300 Subject: [PATCH 2/2] Update content/en/docs/tutorials/hello-minikube.md Explanation that the app itself listens on 8080 port only. Co-authored-by: Tim Bannister --- content/en/docs/tutorials/hello-minikube.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/tutorials/hello-minikube.md b/content/en/docs/tutorials/hello-minikube.md index b741e3882d..6cc03c2198 100644 --- a/content/en/docs/tutorials/hello-minikube.md +++ b/content/en/docs/tutorials/hello-minikube.md @@ -137,7 +137,8 @@ Kubernetes [*Service*](/docs/concepts/services-networking/service/). The `--type=LoadBalancer` flag indicates that you want to expose your Service outside of the cluster. - Please note that the Pod won't show up under ports other than 8080. + The application code inside the image `k8s.gcr.io/echoserver` only listens on TCP port 8080. If you used + `kubectl expose` to expose a different port, clients could not connect to that other port. 2. View the Service you just created: @@ -285,4 +286,3 @@ minikube delete * Learn more about [Deploying applications](/docs/tasks/run-application/run-stateless-application-deployment/). * Learn more about [Service objects](/docs/concepts/services-networking/service/). -