No description
Find a file
Ahmet Alp Balkan e27dcc3883 Add README.md with installation instructions
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-02 10:24:11 -07:00
.vscode Fixing cache implementation 2018-06-25 09:44:56 -07:00
kubernetes-manifests Add README.md with installation instructions 2018-07-02 10:24:11 -07:00
pb checkoutservice: remove PrepareOrder rpc 2018-06-28 00:48:46 -07:00
src frontend: proper ensureSess middleware, add req id 2018-07-02 10:13:02 -07:00
tests/cartservice Fixing AddItem and adding more tests/cartservice/CartServiceTests 2018-06-27 10:33:18 -07:00
.gitignore checkoutservice: add code stubs, TODO implement 2018-06-21 11:44:47 -07:00
README.md Add README.md with installation instructions 2018-07-02 10:24:11 -07:00
skaffold.yaml loadgenerator prototype 2018-06-29 16:37:01 -07:00

Microservices demo

This project contains a 10-tier microservices application. The application is a web-based e-commerce app called “Hipster Shop” where users can browse items, add them to the cart, and purchase them.

Setup on GKE

  1. Make sure you have a Google Kubernetes Engine cluster and enabled Google Container Registry (GCR) on your GCP project:

    gcloud services enable containerregistry.googleapis.com
    
  2. Edit skaffold.yaml, prepend your GCR registry host (gcr.io/YOUR_PROJECT/) to all imageName: fields.

  3. Edit the Deployment manifests at kubernetes-manifests directory and update the image names to match the changes you made in the previous step.

  4. Install Skaffold and skaffold run. This builds the container images, pushes them to GFR, and deploys the application to Kubernetes.

  5. Find the IP address of your application:

    kubectl get service frontend-external
    

    then visit the application on your browser to confirm installation.