January 2020
Intermediate to advanced
640 pages
16h 56m
English
Setting up the CockroachDB and Elasticsearch cluster is quite tedious and involves applying quite a few manifests. Instead of doing this manually, we will actually cheat and deploy both data stores using the helm tool!
For CockroachDB, we can run the following command to deploy a three-node cluster:
helm install --namespace=linksrus-data --name cdb \
--values chart-settings/cdb-settings.yaml \
--set ImageTag=v19.1.5 \
stable/cockroachdb
The cdb-settings.yaml file that's referenced by the preceding command contains overrides for the default chart values, which restrict the spawned database instance to using 512 M of RAM and 100 M of disk space.
The helm charts for Elasticsearch are currently ...