/yaobank

Yet Another Online Bank (Demo App)

Primary LanguageMakefileApache License 2.0Apache-2.0

YAO Bank

(Yet Another Online Bank)

Demo Application for Kubernetes suitable for showing authorization policy.

Consists of 3 microservices:

  1. database - a single-cluster etcd database. Stores the state for the demo.
  2. summary - HTTP service that returns JSON account summaries.
  3. customer - Front-end web service that displays account summaries to users.

service graph

User icon By MCruz (WMF) (Own work) [CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0)], via Wikimedia Commons

The transaction and teller microservices are microservices that a bank teller would use to process deposits and withdrawals. They don't feature in the policy demo directly, so have not been built yet.

communication description

How to run

Set up the deployments, service accounts, and services.

kubectl apply -f 10-yaobank.yaml

If using Istio, then run the following to set up the Istio Ingress to the application.

kubectl apply -f 20-ingress.yaml