The Orders app, in single and multi-cluster formats. Uses oha for load generation and bb as the server.
Last updated 5/28/24
This repository contains the Orders app, in single and multi-cluster formats. Uses oha for load generation and bb as the server.
Repository contents:
.
├── README.md
├── multi-cluster
│ ├── orders-hpa
│ │ ├── orders
│ │ │ ├── kustomization.yaml
│ │ │ ├── ns.yaml
│ │ │ ├── orders-central.yaml
│ │ │ ├── orders-east.yaml
│ │ │ └── orders-west.yaml
│ │ └── warehouse
│ │ ├── kustomization.yaml
│ │ ├── ns.yaml
│ │ ├── server.yaml
│ │ ├── warehouse-boston.yaml
│ │ ├── warehouse-chicago.yaml
│ │ └── warehouse-oakland.yaml
│ └── orders-nohpa
│ ├── orders
│ │ ├── kustomization.yaml
│ │ ├── ns.yaml
│ │ ├── orders-central.yaml
│ │ ├── orders-east.yaml
│ │ └── orders-west.yaml
│ └── warehouse
│ ├── kustomization.yaml
│ ├── ns.yaml
│ ├── server.yaml
│ ├── warehouse-boston.yaml
│ ├── warehouse-chicago.yaml
│ └── warehouse-oakland.yaml
└── single-cluster
├── orders-hpa
│ ├── kustomization.yaml
│ ├── ns.yaml
│ ├── orders-central.yaml
│ ├── orders-east.yaml
│ ├── orders-west.yaml
│ ├── server.yaml
│ ├── warehouse-boston.yaml
│ ├── warehouse-chicago.yaml
│ └── warehouse-oakland.yaml
└── orders-nohpa
├── kustomization.yaml
├── ns.yaml
├── orders-central.yaml
├── orders-east.yaml
├── orders-west.yaml
├── server.yaml
├── warehouse-boston.yaml
├── warehouse-chicago.yaml
└── warehouse-oakland.yaml
You will need build the container image for the oha
load generator for the orders-*
deployments. The cluster_setup.sh
script will import the hatoo/oha:latest
container image from Docker for you, but it has to be in the Docker container registry first.
Clone the repository to your machine:
git clone https://github.com/hatoo/oha.git
Change directory:
cd oha
docker build . -t hatoo/oha:latest
Check your work:
docker images
You should see the hatoo/oha:latest
container image.