Giter Site home page Giter Site logo

bookinfo's Introduction

Develop bookinfo with nocalhost

This is a demo project for nocalhost. Bookinfo is from Istio samples(https://github.com/istio/istio/tree/master/samples/bookinfo).

Micro Services

Bookinfo is a typical microservice architecture application, which consists of 5 services:

Every service has its different program language and runtime environment. All of them had been configured to use docker as container runtime, you can find Dockerfile in their corresponding repository.

Helm

A helm chart in this repository is prepared for one command installing. 5 Deployments witch 2 replica pods for 5 microservices are main skeleton of this chart.

You can install the chart by this command: helm install ./charts/bookinfo, but if you want to try nocalhost, we recommend you do this with nocalhost. We will give step-by-step QuickStart later.

What we changed compared to istio bookinfo?

We commit some changes to demonstrate nocalhost better. Here are some main changes:

  • Simplified different version of reviews service to one version. Nocalhost does not target on how to manage service traffic or canary deployment.
  • Splitted source codes from mono-repo to five independent repositories. In reality, diffrent microservices are developed by diffrent teams with different access rules.
  • Changed the framework of reviews service to spring-boot. Nothing but everyone loves spring-boot.
  • Configured GitHub Action for every microservice to auto build Docker images.
  • Added a .nocalhost directory to support development with nocalhost.

About .nocalhost directory

.nocalhost is a directory in the root of repository which stores the configurations of nocalhost. In this case, the file config.yaml: https://github.com/nocalhost/bookinfo/blob/main/.nocalhost/config.yaml

How to start?

https://nocalhost.dev/docs/quick-start/

Contribute

https://github.com/nocalhost/nocalhost/blob/main/CONTRIBUTING.md

bookinfo's People

Contributors

lyzhang1999 avatar coding-wangwei avatar yuyicai avatar ovaldi avatar anurnomeru avatar xinxinh2020 avatar liangguangming avatar lxm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.