File tree Expand file tree Collapse file tree 3 files changed +30
-11
lines changed Expand file tree Collapse file tree 3 files changed +30
-11
lines changed Original file line number Diff line number Diff line change 1
1
namespace : " stackhpc"
2
2
name : " cephadm"
3
- version : " 1.9 .0"
3
+ version : " 1.10 .0"
4
4
readme : " README.md"
5
5
authors :
6
6
- " Michal Nasiadka"
Original file line number Diff line number Diff line change @@ -68,6 +68,21 @@ All Ceph hosts must be in the `ceph` group.
68
68
db_devices:
69
69
model: Dell Express Flash PM1725b 1.6TB SFF
70
70
```
71
+ * RGWs
72
+ * `cephadm_radosgw_services`: List of Rados Gateways services to deploy. `id` is an arbitrary name for the service,
73
+ `count_per_host` is desired number of RGW services per host. `spec` is optional additional service specification.
74
+ Previously undocumented `port` variable is no longer supported.
75
+ Example:
76
+ ```
77
+ cephadm_radosgw_services:
78
+ - id: myrgw
79
+ count_per_host: 2
80
+ spec:
81
+ rgw_realm: myrealm
82
+ rgw_zone: myzone
83
+ rgw_frontend_port: 1234
84
+ ```
85
+ Note that adding RGW or other services to an existing deployment requires setting `cephadm_bootstrap` variable to *True*.
71
86
72
87
* Registry
73
88
* `cephadm_registry_url`: (default: not used)
Original file line number Diff line number Diff line change @@ -5,29 +5,29 @@ hostname: {{ hostvars[host].ansible_facts.hostname }}
5
5
addr: {{ hostvars[host] .ansible_facts[cephadm_admin_interface] ['ipv4'] ['address'] }}
6
6
labels:
7
7
{% if host in groups ['mons' ] %}
8
- - _admin
9
- - mon
8
+ - _admin
9
+ - mon
10
10
{% endif %}
11
11
{% if host in groups ['mgrs' ] %}
12
- - mgr
12
+ - mgr
13
13
{% endif %}
14
14
{% if host in groups ['osds' ] %}
15
- - osd
15
+ - osd
16
16
{% endif %}
17
17
{% if host in groups .get ('rgws' , []) %}
18
- - rgw
18
+ - rgw
19
19
{% endif %}
20
20
{% endfor %}
21
21
---
22
22
service_type: mon
23
23
placement:
24
24
count: {{ cephadm_mon_count }}
25
- label: " mon"
25
+ label: mon
26
26
---
27
27
service_type: mgr
28
28
placement:
29
29
count: {{ cephadm_mgr_count }}
30
- label: " mgr"
30
+ label: mgr
31
31
---
32
32
service_type: crash
33
33
placement:
@@ -38,9 +38,13 @@ placement:
38
38
service_type: rgw
39
39
service_id: {{ service.id }}
40
40
placement:
41
- label: "rgw"
42
- {% if service .port is defined %}
43
- rgw_frontend_port: {{ service.port }}
41
+ label: rgw
42
+ {% if service .count_per_host is defined %}
43
+ count_per_host: {{ service.count_per_host }}
44
+ {% endif %}
45
+ {% if service .spec is defined %}
46
+ spec:
47
+ {{ service.spec | to_nice_yaml }}
44
48
{% endif %}
45
49
{% endfor %}
46
50
{% endif %}
You can’t perform that action at this time.
0 commit comments