From c60107ea1c8b560a57fd4d190d832abe7ce49f58 Mon Sep 17 00:00:00 2001
From: steveperry-53 <stevepe@google.com>
Date: Thu, 20 Oct 2016 11:53:40 -0700
Subject: [PATCH] Use shared include file for prerequisites.

---
 .../load-balance-access-application-cluster.md        |  9 +--------
 .../port-forward-access-application-cluster.md        |  9 +--------
 .../access-kubernetes-api/http-proxy-access-api.md    |  9 +--------
 docs/tasks/administer-cluster/assign-pods-nodes.md    |  9 +--------
 .../expose-external-ip-address-service.md             | 11 ++---------
 .../expose-external-ip-address.md                     | 10 +---------
 .../run-stateless-application-deployment.md           |  9 +--------
 7 files changed, 8 insertions(+), 58 deletions(-)

diff --git a/docs/tasks/access-application-cluster/load-balance-access-application-cluster.md b/docs/tasks/access-application-cluster/load-balance-access-application-cluster.md
index d2c1a33b07..259988aa15 100644
--- a/docs/tasks/access-application-cluster/load-balance-access-application-cluster.md
+++ b/docs/tasks/access-application-cluster/load-balance-access-application-cluster.md
@@ -11,14 +11,7 @@ load-balanced access to an application running in a cluster.
 
 {% capture prerequisites %}
 
-* Install [kubectl](http://kubernetes.io/docs/user-guide/prereqs).
-
-* Create a Kubernetes cluster, including a running Kubernetes
-  API server. One way to create a new cluster is to use
-  [Minikube](/docs/getting-started-guides/minikube).
-
-* Configure `kubectl` to communicate with your Kubernetes API server. This
-  configuration is done automatically if you use Minikube.
+{% include task-tutorial-prereqs.md %}
 
 {% endcapture %}
 
diff --git a/docs/tasks/access-application-cluster/port-forward-access-application-cluster.md b/docs/tasks/access-application-cluster/port-forward-access-application-cluster.md
index 8550e7c753..b3d8db38dd 100644
--- a/docs/tasks/access-application-cluster/port-forward-access-application-cluster.md
+++ b/docs/tasks/access-application-cluster/port-forward-access-application-cluster.md
@@ -12,14 +12,7 @@ for database debugging.
 
 {% capture prerequisites %}
 
-* Install [kubectl](http://kubernetes.io/docs/user-guide/prereqs).
-
-* Create a Kubernetes cluster, including a running Kubernetes
-  API server. One way to create a new cluster is to use
-  [Minikube](/docs/getting-started-guides/minikube).
-
-* Configure `kubectl` to communicate with your Kubernetes API server. This
-  configuration is done automatically if you use Minikube.
+* {% include task-tutorial-prereqs.md %}
 
 * Install [redis-cli](http://redis.io/topics/rediscli).
 
diff --git a/docs/tasks/access-kubernetes-api/http-proxy-access-api.md b/docs/tasks/access-kubernetes-api/http-proxy-access-api.md
index 0c7ad2ca87..fad85fcadf 100644
--- a/docs/tasks/access-kubernetes-api/http-proxy-access-api.md
+++ b/docs/tasks/access-kubernetes-api/http-proxy-access-api.md
@@ -7,14 +7,7 @@ This page shows how to use an HTTP proxy to access the Kubernetes API.
 
 {% capture prerequisites %}
 
-* Install [kubectl](http://kubernetes.io/docs/user-guide/prereqs).
-
-* Create a Kubernetes cluster, including a running Kubernetes
-  API server. One way to create a new cluster is to use
-  [Minikube](/docs/getting-started-guides/minikube).
-
-* Configure `kubectl` to communicate with your Kubernetes API server. This
-  configuration is done automatically if you use Minikube.
+* {% include task-tutorial-prereqs.md %}
 
 * If you do not already have an application running in your cluster, start
   a Hello world application by entering this command:
diff --git a/docs/tasks/administer-cluster/assign-pods-nodes.md b/docs/tasks/administer-cluster/assign-pods-nodes.md
index e966f23e28..f778e87e4b 100644
--- a/docs/tasks/administer-cluster/assign-pods-nodes.md
+++ b/docs/tasks/administer-cluster/assign-pods-nodes.md
@@ -8,14 +8,7 @@ Kubernetes cluster.
 
 {% capture prerequisites %}
 
-* Install [kubectl](http://kubernetes.io/docs/user-guide/prereqs).
-
-* Create a Kubernetes cluster, including a running Kubernetes
-  API server. One way to create a new cluster is to use
-  [Minikube](/docs/getting-started-guides/minikube).
-
-* Configure `kubectl` to communicate with your Kubernetes API server. This
-  configuration is done automatically if you use Minikube.
+{% include task-tutorial-prereqs.md %}
 
 {% endcapture %}
 
diff --git a/docs/tutorials/stateless-application/expose-external-ip-address-service.md b/docs/tutorials/stateless-application/expose-external-ip-address-service.md
index 71112c6666..58d60f7bd6 100644
--- a/docs/tutorials/stateless-application/expose-external-ip-address-service.md
+++ b/docs/tutorials/stateless-application/expose-external-ip-address-service.md
@@ -12,14 +12,7 @@ provides load balancing for an application that has two running instances.
 
 {% capture prerequisites %}
 
-* Install [kubectl](http://kubernetes.io/docs/user-guide/prereqs).
-
-* Create a Kubernetes cluster, including a running Kubernetes
-  API server. One way to create a new cluster is to use
-  [Minikube](/docs/getting-started-guides/minikube).
-
-* Configure `kubectl` to communicate with your Kubernetes API server. This
-  configuration is done automatically if you use Minikube.
+{% include task-tutorial-prereqs.md %}
 
 {% endcapture %}
 
@@ -104,7 +97,7 @@ provides load balancing for an application that has two running instances.
 
 1. On your chosen node, create a firewall rule that allows TCP traffic
    on your node port. For example, if your Service has a NodePort value of
-   31568, create a firewall rule that allows TCP traffic on port 31568. 
+   31568, create a firewall rule that allows TCP traffic on port 31568.
 
 1. Use the node address and node port to access the Hello World application:
 
diff --git a/docs/tutorials/stateless-application/expose-external-ip-address.md b/docs/tutorials/stateless-application/expose-external-ip-address.md
index 63aabb813d..56606d511c 100644
--- a/docs/tutorials/stateless-application/expose-external-ip-address.md
+++ b/docs/tutorials/stateless-application/expose-external-ip-address.md
@@ -11,15 +11,7 @@ external IP address.
 
 {% capture prerequisites %}
 
-* Install [kubectl](http://kubernetes.io/docs/user-guide/prereqs).
-
-* Use a cloud provider like Google Container Engine or Amazon Web Services to
-  create a Kubernetes cluster. This tutorial creates an
-  [external load balancer](/docs/user-guide/load-balancer/),
-  which requires a cloud provider.
-
-* Configure `kubectl` to communicate with your Kubernetes API server. For
-  instructions, see the documentation for your cloud provider.
+{% include task-tutorial-prereqs.md %}
 
 {% endcapture %}
 
diff --git a/docs/tutorials/stateless-application/run-stateless-application-deployment.md b/docs/tutorials/stateless-application/run-stateless-application-deployment.md
index 20a7aff243..755e52ebfe 100644
--- a/docs/tutorials/stateless-application/run-stateless-application-deployment.md
+++ b/docs/tutorials/stateless-application/run-stateless-application-deployment.md
@@ -19,14 +19,7 @@ This page shows how to run an application using a Kubernetes Deployment object.
 
 {% capture prerequisites %}
 
-* To do this tutorial, you need a Kubernetes cluster, including a running
-  Kubernetes API server. You can use an existing cluster, or you can create a
-  new cluster. One way to create a new cluster is to use
-  [Minikube](/docs/getting-started-guides/minikube).
-
-* You also need to have `kubectl` installed on your local machine, and `kubectl`
-  must be configured to communicate with your Kubernetes API server. This
-  configuration is done automatically if you use Minikube.
+{% include task-tutorial-prereqs.md %}
 
 {% endcapture %}