Skip to content

Commit 11e9fa7

Browse files
committed
Fix design doc and script location
This patch fixes a rendering issue in the design-decisions documentation, and moves the scripts to the right directory. Signed-off-by: Francesco Pantano <[email protected]>
1 parent fe351b9 commit 11e9fa7

File tree

6 files changed

+35
-4
lines changed

6 files changed

+35
-4
lines changed
File renamed without changes.

docs/dev/design-decisions.md renamed to docs/design-decisions.md

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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:
337337
In the example above, all the `GlanceAPI` instances share the same configuration,
338338
which is inherited by the main `customServiceConfig`, while`extraMounts` are
339339
added 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

@@ -618,6 +648,7 @@ api2
618648

619649
num_pvc = [(3 + 3) * 3] * 1 = 18
620650
storage_size = 3 * [(30 + 20) * 3] = 450G
651+
```
621652
622653
We can conclude that **150G** is required for each API: given we have 3 APIs the
623654
total number is **450G**.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)