Use shared include file for prerequisites.

reviewable/pr1576/r1
steveperry-53 2016-10-20 11:53:40 -07:00 committed by Steve Perry
parent bfd03fed97
commit c60107ea1c
7 changed files with 8 additions and 58 deletions

View File

@ -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 %}

View File

@ -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).

View File

@ -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:

View File

@ -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 %}

View File

@ -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:

View File

@ -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 %}

View File

@ -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 %}