This repository contains all the definitions for the Bee local cluster development used by the Swarm Team.
- 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
- enabled by default on Linux with
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
)
Use ./beeinfra.sh -h
for more options
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