Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.
/ bee-local Public archive

definitions for the Bee local cluster development used by the Swarm Team

Notifications You must be signed in to change notification settings

ethersphere/bee-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bee local cluster development

This repository contains all the definitions for the Bee local cluster development used by the Swarm Team.

Prerequisites

  • kubectl >= 1.15
  • helm >= 3.0
  • jq >= 1.15
  • resolvable .localhost domain to 127.0.0.1
    • enabled by default on Linux with libnss-myhostname
    • how to configure on MacOS using dnsmasq or using /etc/hosts

Installing

Clone this repo and run:

./beeinfra.sh install --test --local -r 3
  • it will install k3d and configure local k8s cluster
  • build and unit test local bee repo (--local)
  • install 3 bee replicas on cluster (-r 3)
  • and execute all integration test (--test)

Usage

Use ./beeinfra.sh -h for more options

Bee cluster bootstrap

By default bee-0 will have a fixed hash and other nodes will connect using known multiaddr for bee-0.

For DNS discovery install cluster using command

./beeinfra.sh install --dns-disco --local --test -r 3 --bootnode /dnsaddr/localhost