mirror of https://github.com/istio/istio.io.git
Setup for GKE (#7162)
* updating to 1.5 * zero touch setup for gke start every line in bash with $ line starts with $ fixing format
This commit is contained in:
parent
11f0837713
commit
ba66f82ee4
|
@ -14,12 +14,17 @@ Follow these instructions to prepare a GKE cluster for Istio.
|
||||||
1. Create a new cluster.
|
1. Create a new cluster.
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ gcloud container clusters create <cluster-name> \
|
$ export PROJECT_ID=`gcloud config get-value project` && \
|
||||||
|
export M_TYPE=n1-standard-2 && \
|
||||||
|
export ZONE=us-west2-a && \
|
||||||
|
export CLUSTER_NAME=${PROJECT_ID}-${RANDOM} && \
|
||||||
|
gcloud services enable container.googleapis.com && \
|
||||||
|
gcloud container clusters create $CLUSTER_NAME \
|
||||||
--cluster-version latest \
|
--cluster-version latest \
|
||||||
--machine-type=n1-standard-2 \
|
--machine-type=$M_TYPE \
|
||||||
--num-nodes 4 \
|
--num-nodes 4 \
|
||||||
--zone <zone> \
|
--zone $ZONE \
|
||||||
--project <project-id>
|
--project $PROJECT_ID
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
{{< tip >}}
|
{{< tip >}}
|
||||||
|
@ -44,7 +49,7 @@ Follow these instructions to prepare a GKE cluster for Istio.
|
||||||
To review this firewall rule for master access:
|
To review this firewall rule for master access:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ gcloud compute firewall-rules list --filter="name~gke-<cluster-name>-[0-9a-z]*-master"
|
$ gcloud compute firewall-rules list --filter="name~gke-${CLUSTER_NAME}-[0-9a-z]*-master"
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
To replace the existing rule and allow master access:
|
To replace the existing rule and allow master access:
|
||||||
|
@ -58,9 +63,9 @@ Follow these instructions to prepare a GKE cluster for Istio.
|
||||||
1. Retrieve your credentials for `kubectl`.
|
1. Retrieve your credentials for `kubectl`.
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ gcloud container clusters get-credentials <cluster-name> \
|
$ gcloud container clusters get-credentials $CLUSTER_NAME \
|
||||||
--zone <zone> \
|
--zone $ZONE \
|
||||||
--project <project-id>
|
--project $PROJECT_ID
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
1. Grant cluster administrator (admin) permissions to the current user. To
|
1. Grant cluster administrator (admin) permissions to the current user. To
|
||||||
|
|
|
@ -21,6 +21,8 @@ set -e
|
||||||
BASEURL="$1"
|
BASEURL="$1"
|
||||||
|
|
||||||
# List of name:tagOrBranch
|
# List of name:tagOrBranch
|
||||||
|
# This is a list of archived versions
|
||||||
|
# TODO: rename TOBUILD to ARCHIVED_VERSIONS
|
||||||
TOBUILD=(
|
TOBUILD=(
|
||||||
v1.4:release-1.4
|
v1.4:release-1.4
|
||||||
v1.3:release-1.3
|
v1.3:release-1.3
|
||||||
|
|
Loading…
Reference in New Issue