Skip to content

Commit f7331ef

Browse files
authored
add version explanation
1 parent b1049fe commit f7331ef

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,30 @@ Similarly if no datacenter is configured it will use `aws:eu-central-1` as defau
7171
When issuing service provisioning requests to the service broker it is possible to provide the account id and/or the datacenter as additional parameters.
7272
###### Example:
7373
```bash
74-
$ cf create-service etcd default my-etcd -c '{
74+
cf create-service etcd default my-etcd -c '{
7575
"account_id": "454f3deb8cad236ffb3452e9",
7676
"datacenter": "gce:europe-west1"
7777
}'
7878
```
7979

8080
#### Units
8181

82-
When issuing service provisioning requests to the service broker it is also possible to request a specific [unit](https://apidocs.compose.com/docs/scaling) size (which basically determines the scaling for your Compose.io deployments, memory and disk space) instead of the configured value in the service brokers `catalog.yml`.
82+
When issuing service provisioning requests to the service broker it is also possible to request a specific [unit](https://apidocs.compose.com/docs/scaling) size (which basically determines the scaling for your Compose.io deployments, _memory_ and _disk space_) instead of the configured value in the service brokers `catalog.yml`.
8383

8484
It is also possible to update existing service instances with `cf update-service`.
8585
###### Example:
8686
```bash
87-
$ cf create-service scylla default my-scylla-db -c '{ "units": 10 }'
87+
cf create-service scylla default my-scylla-db -c '{ "units": 10 }'
8888
# or
89-
$ cf update-service my-postgres-db -c '{ "units": 4 }'
89+
cf update-service my-postgres-db -c '{ "units": 4 }'
90+
```
91+
92+
#### Version
93+
94+
Last but not least it is also possible during service provisioning to request specific software versions for your database deployments.
95+
You can get all available versions from the [Compose.io API](https://apidocs.compose.com/reference#2016-07-get-databases): https://api.compose.io/2016-07/databases
96+
97+
###### Example:
98+
```bash
99+
cf create-service rethink default my-rethinkdb -c '{ "version": "2.3.7" }'
90100
```

0 commit comments

Comments
 (0)