@@ -278,7 +278,7 @@ spec:
278278 rbd_store_ceph_conf = /etc/ceph/ceph.conf
279279 store_description = "RBD backend"
280280 rbd_store_pool = images
281- rbd_store_user = openstackcustomServiceConfig: |
281+ rbd_store_user = openstack
282282 databaseInstance: openstack
283283 databaseUser: glance
284284 keystoneEndpoint: central
@@ -337,10 +337,40 @@ spec:
337337In the example above, all the ` GlanceAPI ` instances share the same configuration,
338338which is inherited by the main ` customServiceConfig ` , while` extraMounts ` are
339339added to connect each instance to a different Ceph cluster.
340- For each instance it's possible to configure the ` layout ` ( split vs single)
341- according to a given backend, but note that ` webhooks ` prevent any update to the
342- defined layout.
340+ For each instance, you can configure the layout parameter (either split or
341+ single) based on the specific backend requirements. However, keep in mind that
342+ webhooks will prevent any modifications to the layout after it's been set .
343343
344+ It's also possible to deploy multiple glanceAPI services within the same
345+ availability zone (AZ) to handle different workloads. Here's an example
346+ configuration:
347+
348+ ```
349+ keystoneEndpoint: api0
350+ glanceAPIs:
351+ api0:
352+ customServiceConfig: |
353+ [DEFAULT]
354+ enabled_backends = default_backend:rbd
355+ replicas: 1
356+ type: split
357+ api1:
358+ customServiceConfig: |
359+ [DEFAULT]
360+ enabled_backends = default_backend:swift
361+ replicas: 1
362+ type: split
363+ ```
364+
365+ In this setup:
366+
367+ * api0 is registered in the Keystone catalog and used as the default endpoint
368+ for CLI operations.
369+ * api1, while not the default, remains an active API that can still be utilized
370+ for image uploads by specifying the ` --os-image-url ` parameter.
371+
372+ Switching the Keystone catalog's active API is straightforward and can be done
373+ by updating the ` keystoneEndpoint ` parameter.
344374
345375## Manage KeystoneEndpoint
346376
618648
619649num_pvc = [ (3 + 3) * 3] * 1 = 18
620650storage_size = 3 * [ (30 + 20) * 3] = 450G
651+ ```
621652
622653We can conclude that **150G** is required for each API: given we have 3 APIs the
623654total number is **450G**.
0 commit comments