Docker image that builds OpenTSDB using Bigtable with latest asyncbigtable.
- Base image used is
debian:stretch-slim
- Using latest asyncbigtable 0.4.2 built from official repository
- OpenTSDB 2.4.0 built from official repository
- Replace the placeholder bigtable.json with a valid service account JSON key file
- Set the correct
google.bigtable.*
values in opentsdb.conf - Most of the options in opentsdb.conf are set to defaults, change them to fit your needs
$ export PROJECT_ID=foobar
$ gcloud iam service-accounts create bigtable --display-name=bigtable --project=${PROJECT_ID}
$ gcloud iam service-accounts keys create --iam-account=bigtable@${PROJECT_ID}.iam.gserviceaccount.com bigtable.json --project=${PROJECT_ID}
$ gcloud projects add-iam-policy-binding ${PROJECT_ID} --member="serviceAccount:bigtable@${PROJECT_ID}.iam.gserviceaccount.com" --role='roles/bigtable.user'
$ docker pull debian:stretch-slim
$ docker build -t opentsdb-bigtable:foobar .