Skip to content

Commit 4877dac

Browse files
committed
Add support for multiple RGWs per host
1 parent 4c26669 commit 4877dac

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace: "stackhpc"
22
name: "cephadm"
3-
version: "1.9.0"
3+
version: "1.10.0"
44
readme: "README.md"
55
authors:
66
- "Michal Nasiadka"

roles/cephadm/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,13 @@ All Ceph hosts must be in the `ceph` group.
7070
```
7171
* RGWs
7272
* `cephadm_radosgw_services`: List of Rados Gateways services to deploy. `id` is an arbitrary name for the service,
73-
`port` is a TCP port that RGW service should listen on.
73+
`port` is a TCP port that RGW service should listen on. `count_per_host` is desired number of RGW services per host.
7474
Example:
7575
```
7676
cephadm_radosgw_services:
7777
- id: myrgw
7878
port: 8000
79+
count_per_host: 2
7980
```
8081
Note that adding RGW or other services to an existing deployment requires setting `cephadm_bootstrap` variable to *True*.
8182

roles/cephadm/templates/cluster.yml.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ service_type: rgw
3939
service_id: {{ service.id }}
4040
placement:
4141
label: rgw
42+
{% if service.count_per_host is defined %}
43+
count_per_host: {{ service.count_per_host }}
44+
{% endif %}
4245
{% if service.port is defined %}
4346
spec:
4447
rgw_frontend_port: {{ service.port }}

0 commit comments

Comments
 (0)