File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,15 @@ All Ceph hosts must be in the `ceph` group.
73
73
```
74
74
* RGWs
75
75
* `cephadm_radosgw_services`: List of Rados Gateways services to deploy. `id` is an arbitrary name for the service,
76
- `count_per_host` is desired number of RGW services per host. `spec ` is optional additional service specification .
77
- Previously undocumented `port` variable is no longer supported.
76
+ `count_per_host` is desired number of RGW services per host. `networks ` is optional list of networks to bind to .
77
+ `spec` is optional additional service specification. Previously undocumented `port` variable is no longer supported.
78
78
Example:
79
79
```
80
80
cephadm_radosgw_services:
81
81
- id: myrgw
82
82
count_per_host: 2
83
+ networks:
84
+ - 10.66.0.0/24
83
85
spec:
84
86
rgw_realm: myrealm
85
87
rgw_zone: myzone
Original file line number Diff line number Diff line change @@ -49,6 +49,15 @@ placement:
49
49
{% if service .count_per_host is defined %}
50
50
count_per_host: {{ service.count_per_host }}
51
51
{% endif %}
52
+ {% if service .networks is defined %}
53
+ {% if service .networks is string %}
54
+ networks:
55
+ - "{{ service.networks }}"
56
+ {% else %}
57
+ networks:
58
+ {{ service.networks | to_nice_yaml }}
59
+ {% endif %}
60
+ {% endif %}
52
61
{% if service .spec is defined %}
53
62
spec:
54
63
{{ service.spec | to_nice_yaml }}
You can’t perform that action at this time.
0 commit comments