This BOSH release is deprecated and is no longer maintained.
We encourage you to use Dmitriy Kalinin's release of CockroachDB instead.
BOSH release of CockroachDB, a distributed SQL database built on a transactional and strongly-consistent key-value store
Quick Start for BOSH Lite
- Target your BOSH Lite director with your BOSH CLI.
- Upload a cloud-config to your director, e.g.
bosh update cloud-config examples/cloud-config-bosh-lite.yml
- Create your release and upload it, e.g.
bosh create release --force
bosh upload release
- Modify your deployment manifest to include your BOSH's UUID:
bosh status --uuid
vim examples/cockroachdb-bosh-lite.yml # update UUID
- Deploy
bosh deployment examples/cockroachdb-bosh-lite.yml
bosh deployment
- Check the web interface, e.g. http://10.244.0.2:8080/#/cluster
- Run SQL commands against the CockroachDB cluster:
cockroach sql --host 10.244.0.2
root@10.244.0.6:26257> show tables;
root@10.244.0.6:26257> create table example_table (id int, name text);
root@10.244.0.6:26257> insert into example_table values (1,'hi');
root@10.244.0.6:26257> select * from example_table;
+----+------+
| id | name |
+----+------+
| 1 | hi |
+----+------+