BanyanDB, as an observability database, aims to ingest, analyze, and store Metrics, Tracing, and Logging data. It's designed to handle observability data generated by observability platforms and APM systems, like Apache SkyWalking etc.
BanyanDB Helm Chart repository provides ways to install and configure BanyanDB running in a cluster natively on Kubernetes. The scripts are written in Helm 3.
This chart bootstraps an Apache Skywalking BanyanDB deployment on a Kubernetes cluster using the Helm package manager. The released versions of the helm chart can be found on Docker Hub.
- Kubernetes 1.24.0+
- Helm 3
image.tag is the required value for the chart.
You can set these required values via command line (e.g. --set image.tag=0.8.0), or edit them in a separate file(e.g. values.yaml)
and use -f <filename> or --values=<filename> to set it.
To install the chart with the release name my-release:
git clone https://github.com/apache/skywalking-banyandb-helm
cd ./skywalking-banyandb-helm
helm install my-release \
chart \
-n <namespace> \
--set image.tag=<image-tag>The command deploys BanyanDB on the Kubernetes cluster with the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
To uninstall/delete the my-release deployment:
$ helm uninstall my-release -n <namespace>The command removes all the banyandb components associated with the chart and deletes the release.
| Chart Version | Supported BanyanDB Version |
|---|---|
| 0.5.x | 0.9.x |
| 0.4.0 | 0.8.x |
| 0.3.0 | 0.7.x |
| 0.4.0 or later | 0.8.0 or later |
The parameters are described in parameters.md.
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
Note You could refer to the helm install for more command information.
$ helm install my-release \
chart \
-n <namespace> \
--set image.tag=<image-tag> \
--set fullnameOverride=newBanyanDBAlternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
$ helm install my-release \
chart \
-n <namespace> \
--set image.tag=<image-tag> \
-f values.yamlTip: You can use the default values.yaml
Basic authentication can be enabled for liaison and standalone modes. When enabled, the chart mounts a credentials file and adds --auth-config-file to BanyanDB.
- Enable auth and provide users (plaintext passwords):
auth:
enabled: true
users:
- username: admin
password: "changeme"- Use an existing Secret (recommended for production). The Secret must contain a key
credentials.yaml(configurable viaauth.credentialsFileKey) whose value is the YAML content in the format required by BanyanDB (docs):
auth:
enabled: true
existingSecret: my-banyandb-auth
credentialsFileKey: credentials.yamlThe Secret name defaults to <release>-banyandb-auth when auto-created.
If the chart created the Secret (no auth.existingSecret), you can decode it:
kubectl get secret <release-name>-banyandb-auth -n <namespace> -o jsonpath='{.data.credentials\.yaml}' | base64 --decodeAdjust the key if you changed auth.credentialsFileKey.
If you'd like to use external certificate authorities, such as Vault, corresponding annotations can be injected into banyandb.
The backup and restore functionalities are supported in the BanyanDB Helm Chart. The detailed configuration can be found in backup.md.
The lifecycle management functionalities are supported in the BanyanDB Helm Chart. The detailed configuration can be found in lifecycle.md.
This is needed only when you want to install BanyanDB from the master branch.
You can install BanyanDB with the default configuration as follows.
export REPO=chart
git clone https://github.com/apache/skywalking-banyandb-helm
cd skywalking-banyandb-helm
helm dependency build ${REPO}
helm install banyandb ${REPO}- Submit an issue
- Mail list: dev@skywalking.apache.org. Mail to
dev-subscribe@skywalking.apache.org, follow the reply to subscribe the mail list. - Send
Request to join SkyWalking slackmail to the mail list(dev@skywalking.apache.org), we will invite you in. - For Chinese speaker, send
[CN] Request to join SkyWalking slackmail to the mail list(dev@skywalking.apache.org), we will invite you in. - Twitter, ASFSkyWalking
- bilibili B站 视频
Apache 2.0