Skip to content

Sample cloud-native application with 10 microservices showcasing Kubernetes, Istio, gRPC and OpenCensus.

License

Notifications You must be signed in to change notification settings

akamenev/microservices-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. Install:

    • gcloud + sign in to your account/project.
    • kubectl (can be installed via gcloud components install kubectl)
    • Docker (on Mac/Windows, install Docker for Desktop CE)
    • Skaffold
  2. Create a Google Kubernetes Engine cluster and make sure kubectl is pointing to the cluster.

  3. Enable Google Container Registry (GCR) on your GCP project:

    gcloud services enable containerregistry.googleapis.com
    
  4. Configure docker to authenticate to GCR:

    gcloud auth configure-docker -q
    
  5. Edit skaffold.yaml, prepend your GCR registry host (gcr.io/YOUR_PROJECT/) to all imageName: fields.

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

  7. Run skaffold run. This builds the container images, pushes them to GFR, and deploys the application to Kubernetes.

  8. Find the IP address of your application:

    kubectl get service frontend-external
    

    then visit the application on your browser to confirm installation.

About

Sample cloud-native application with 10 microservices showcasing Kubernetes, Istio, gRPC and OpenCensus.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 47.2%
  • Python 20.6%
  • Go 16.0%
  • HTML 3.7%
  • Java 3.3%
  • Shell 2.5%
  • Other 6.7%