File tree Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1
1
namespace : " stackhpc"
2
2
name : " cephadm"
3
- version : " 1.11 .0"
3
+ version : " 1.12 .0"
4
4
readme : " README.md"
5
5
authors :
6
6
- " Michal Nasiadka"
Original file line number Diff line number Diff line change @@ -83,6 +83,20 @@ All Ceph hosts must be in the `ceph` group.
83
83
rgw_zone: myzone
84
84
rgw_frontend_port: 1234
85
85
```
86
+ * Ingress
87
+ * `cephadm_ingress_services`: List of ingress services to deploy. `id` should match name (not id) of the RGW service to
88
+ which ingress will point to. `spec` is a service specification required by Cephadm to deploy the ingress (haproxy +
89
+ keepalived pair).
90
+ Example:
91
+ ```
92
+ cephadm_ingress_services:
93
+ - id: rgw.myrgw
94
+ spec:
95
+ frontend_port: 443
96
+ monitor_port: 1967
97
+ virtual_ip: 10.66.0.1/24
98
+ ssl_cert: {example_certificate_chain}
99
+ ```
86
100
Note that adding RGW or other services to an existing deployment requires setting `cephadm_bootstrap` variable to *True*.
87
101
88
102
* Registry
Original file line number Diff line number Diff line change @@ -40,3 +40,5 @@ cephadm_osd_devices: []
40
40
cephadm_osd_spec : []
41
41
# RADOSGW
42
42
cephadm_radosgw_services : []
43
+ # Ingress
44
+ cephadm_ingress_services : []
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ labels:
18
18
{% if host in groups .get ('rgws' , []) %}
19
19
- rgw
20
20
{% endif %}
21
+ {% if host in groups .get ('ingress' , []) %}
22
+ - ingress
23
+ {% endif %}
21
24
{% if hostvars [host ].cephadm_host_labels | length > 0 %}
22
25
{{ hostvars[host] .cephadm_host_labels }}
23
26
{% endif %}
51
54
{{ service.spec | to_nice_yaml }}
52
55
{% endif %}
53
56
{% endfor %}
57
+ {% if groups .get ('ingress' , []) | length > 0 %}
58
+ {% for service in cephadm_ingress_services %}
59
+ ---
60
+ service_type: ingress
61
+ service_id: {{ service.id }}
62
+ placement:
63
+ label: ingress
64
+ spec:
65
+ {{ service.spec | to_nice_yaml }}
66
+ {% endfor %}
54
67
{% endif %}
You can’t perform that action at this time.
0 commit comments