This repository contains all the definitions for the Bee staging releases 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.
- Kubernetes 1.15
- Helm 3.0
- Helmsman 3.0
- Helm diff (>=1.6.0) .
- jq (expected that binary is named
jq
, notjq-linux
etc) .
To install Bee cluster that consits of Bee bootnode and multiple Bee nodes execute following command:
$ NAMESPACE=test ./install.sh
You can also specify different repo and tag with
$ NAMESPACE=test REPO=myrepo/bee TAG=mytag ./install.sh
It will execute bee.yaml Helmsman DSF file.
Helmsman DSF file uses official Bee Helm Chart, and it's deployed into specified Kubernetes namespace.
Note: Everyone should update name of the namespace to avoid overlapping with others if working on the same Kubernetes cluster.
Note: Helm values are defaults used by the Swarm team, but everyone should use setup up to its own needs.
Configuration parameters can be set in 2 ways:
- in the Helmsman DSF file, with the field set
apps:
bee:
set:
image.repository: ethersphere/bee
image.tag: latest
replicaCount: 2
- in the Helm values file
image:
repository: ethersphere/bee
tag: latest
replicaCount: 2
See Bee Helm chart's values.yaml file for all available options.
To uninstall previously deployed Bee cluster execute following command:
$ NAMESPACE=test ./uninstall.sh