diff --git a/content/en/docs/tutorials/hello-minikube.md b/content/en/docs/tutorials/hello-minikube.md index e64cb16a739..afeae088aaa 100644 --- a/content/en/docs/tutorials/hello-minikube.md +++ b/content/en/docs/tutorials/hello-minikube.md @@ -7,7 +7,7 @@ menu: title: "Get Started" weight: 10 post: > -
Ready to get your hands dirty? Build a simple Kubernetes cluster that runs "Hello World" for Node.js.
+Ready to get your hands dirty? Build a simple Kubernetes cluster that runs a sample app.
card: name: tutorials weight: 10 @@ -15,7 +15,7 @@ card: {{% capture overview %}} -This tutorial shows you how to run a simple Hello World Node.js app +This tutorial shows you how to run a sample app on Kubernetes using [Minikube](/docs/setup/learning-environment/minikube) and Katacoda. Katacoda provides a free, in-browser Kubernetes environment. @@ -27,7 +27,7 @@ You can also follow this tutorial if you've installed [Minikube locally](/docs/t {{% capture objectives %}} -* Deploy a hello world application to Minikube. +* Deploy a sample application to Minikube. * Run the app. * View application logs. @@ -35,13 +35,7 @@ You can also follow this tutorial if you've installed [Minikube locally](/docs/t {{% capture prerequisites %}} -This tutorial provides a container image built from the following files: - -{{< codenew language="js" file="minikube/server.js" >}} - -{{< codenew language="conf" file="minikube/Dockerfile" >}} - -For more information on the `docker build` command, read the [Docker documentation](https://docs.docker.com/engine/reference/commandline/build/). +This tutorial provides a container image that uses NGINX to echo back all the requests. {{% /capture %}} @@ -166,7 +160,7 @@ Kubernetes [*Service*](/docs/concepts/services-networking/service/). 5. Katacoda environment only: Note the 5 digit port number displayed opposite to `8080` in services output. This port number is randomly generated and it can be different for you. Type your number in the port number text box, then click Display Port. Using the example from earlier, you would type `30369`. - This opens up a browser window that serves your app and shows the "Hello World" message. + This opens up a browser window that serves your app and shows the app's response. ## Enable addons diff --git a/content/en/examples/minikube/Dockerfile b/content/en/examples/minikube/Dockerfile deleted file mode 100644 index dd58cb7e754..00000000000 --- a/content/en/examples/minikube/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM node:6.14.2 -EXPOSE 8080 -COPY server.js . -CMD [ "node", "server.js" ] diff --git a/content/en/examples/minikube/server.js b/content/en/examples/minikube/server.js deleted file mode 100644 index 76345a17d81..00000000000 --- a/content/en/examples/minikube/server.js +++ /dev/null @@ -1,9 +0,0 @@ -var http = require('http'); - -var handleRequest = function(request, response) { - console.log('Received request for URL: ' + request.url); - response.writeHead(200); - response.end('Hello World!'); -}; -var www = http.createServer(handleRequest); -www.listen(8080);