Feature #49735
Updated by Sebastian Wagner almost 3 years ago
See Also: * Reference: https://rook.io/docs/rook/v1.5/ceph-object-multisite-crd.html We should avoid diverging from Rook here. * https://tracker.ceph.com/issues/49735 rgw.yaml <pre><code class="yaml"> kind: host hostname: myhost1 labels: - rgw --- kind: host hostname: myhost2 labels: - rgw --- kind: service service_type: rgw service_id: foobar spec: realm: myrealm zone: myzone --- kind: rgw_realm name: realm-a pull_endpoint: http://10.2.105.133:80 --- kind: zgw_zone_group name: myzone realm: realm-a --- kind: rgw_zone name: zone-a zone_group: zonegroup-a metadata_pool: failure_domain: host replicated: size: 3 data_pool: failure_domain: osd erasure_coded: data_chunks: 2 coding_chunks: 1 </code></pre> <pre> ceph orch apply -i rgw.yaml </pre> TODOs: # Add new general key *kind* to distinguish services, hosts and rgw objects # Add a handler for those RGW objects. And they should only be processed once and *not* describe a declarative state. Benefits: * Reproducible creation of RGW services * Make it possible to setup multizone RGWs in @cephadm bootstrap --apply-spec@