Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

BOSH release of CockroachDB, a distributed SQL database built on a transactional and strongly-consistent key-value store

License

Notifications You must be signed in to change notification settings

cloudfoundry-community/cockroachdb-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This BOSH release is deprecated and is no longer maintained.

We encourage you to use Dmitriy Kalinin's release of CockroachDB instead.

CockroachDB BOSH Release

BOSH release of CockroachDB, a distributed SQL database built on a transactional and strongly-consistent key-value store

Quick Start for BOSH Lite

  1. Target your BOSH Lite director with your BOSH CLI.
  2. Upload a cloud-config to your director, e.g.
bosh update cloud-config examples/cloud-config-bosh-lite.yml
  1. Create your release and upload it, e.g.
bosh create release --force
bosh upload release
  1. Modify your deployment manifest to include your BOSH's UUID:
bosh status --uuid
vim examples/cockroachdb-bosh-lite.yml # update UUID
  1. Deploy
bosh deployment examples/cockroachdb-bosh-lite.yml
bosh deployment
  1. Check the web interface, e.g. http://10.244.0.2:8080/#/cluster
  2. 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   |
+----+------+

About

BOSH release of CockroachDB, a distributed SQL database built on a transactional and strongly-consistent key-value store

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages