Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.17 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.17 KB

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