gcp-workshop appmake build
make run
gcp-workshop appDeploy a two-tier node.js app on Google Kubernetes Engine (GKE), approximately 45-90 mins
Create Project and GKE cluster
kubectl in cliUse Makefile to build docker image locally and push to Google Container Registry (GCR) OR you may use prebuild tomqwu/gcp-workshop:0.0.1 and tomqwu/gcp-workshop:0.0.2 image
Apply provided definition yaml to GKE cluster
Make change to the Node.js app and do rolling update on GKE cluster
for ((i=1;i<=100;i++)); do curl -v --header "Connection: keep-alive" "http://[external_ip]:3000"; donekubectl to perform rolling update on gcp-workshopImplement infrastructure as code via Terraform
gcp-workshop app and service should be provisioned via provisioner (local-exec with kubectl) or kubernetes providergcp-workshop should be available after terraform apply without any manual stepsContent type
Image
Digest
Size
326.9 MB
Last updated
over 8 years ago
docker pull tomqwu/gcp-workshop