Code Monkey home page Code Monkey logo

bee-load-test's Introduction

Bee storage snapshot

This repository contains all the definitions for the Bee storage snapshots used by the Swarm Team.

We're using helmsman to manage the deployments to our Kubernetes cluster. You can learn more about Helmsman's desired state specification.

Prerequisites

  • Kubernetes 1.15
  • Helm 3.0
  • Helmsman 3.0
  • Helm diff (>=1.6.0) .
  • jq (expected that binary is named jq, not jq-linux etc) .

Installing

Init

For initial deployment of isolated Bee cluster execute:

$ NAMESPACE=storage-snapshot ./install.sh init

It will execute helmsman-dsf/init.yaml Helmsman DSF file.

Helmsman DSF files use official Bee Helm Chart and custom Ethereum Geth Chart, and both are deployed in the same Kubernetes namespace.

Note: Everyone should update name of the namespace to avoid overlapping with others if working on the same Kubernetes cluster.

๐Ÿ”ด Use .env.example to create .env and specify your AWS account ID inside .env file using export AWS_ACCOUNT_ID=

Export

For exporting all cluster data Bee and Geth nodes:

$ NAMESPACE=storage-snapshot ./install.sh export latest

Note: By default it will use version latest, if you specify custom version (it can bee whatever single string) cluster data will be uploaded to both, custom version and latest.

Import

For importing all cluster data Bee and Geth nodes:

$ NAMESPACE=storage-snapshot ./install.sh export latest

Configuration

Configuration parameters can be set in 2 ways:

  • in the Helmsman DSF files, with the field set inside ./helmsman-dsf folder
  • in the Helm values files inside ./helm-values folder

Uninstall

To destroy everything run:

$ NAMESPACE=storage-snapshot ./uninstall.sh

Load test deployment

To deploy/undeploy load test alone use these commands

NAMESPACE=testnet-gateway helmsman -apply -subst-env-values -f ./helmsman-dsf/init.yaml -target=beekeeper-load-test
NAMESPACE=testnet-gateway helmsman -destroy -subst-env-values -f ./helmsman-dsf/init.yaml -target=beekeeper-load-test

bee-load-test's People

Contributors

istae avatar notanatol avatar vandot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.