- Linux or OS X machine
- The following software should be installed on your machine:
- Docker
- gcloud
- make
- NGINX Plus subscription. You must also have an NGINX Plus license. If you don’t have one, you can sign up for a free 30-day trial.
- Put the licence key and the certificate of your subscription into the
nginxplus
folder
-
Create a GCE project. Enable Compute Engine API for the project.
-
Authenticate in the gcloud tool:
$ gcloud auth
- Setup your project and zone:
$ gcloud config set project <project-name>
$ gcloud config set compute/zone us-central1-f
-
Create a StackDriver account for your project: https://console.cloud.google.com/monitoring?project=
-
Create the nginxplus instance:
$ cd ../nginxplus
$ ./create-nginxplus-instance.sh
- Create the load gen instance:
$ cd ../load-generator
$ ./create-load-generator-instance.sh
-
Create a kubernetes cluster in Google Compute Engine (GKE)
-
Build the backend Docker image and upload it to the GKE registry
-
Create the backend replication controller
-
Build the knsync Docker image and upload it to the GKE registry
-
Create the knsync rc
-
Build the autoscaler Docker image and upload it to the GKE registry
-
Create the autoscaler controller
-
ssh into the loadgen machine and launch
load.sh
few times