Skip to content

Commit

Permalink
Merge pull request #631 from fmount/doc_fix
Browse files Browse the repository at this point in the history
Fix design doc and script location
  • Loading branch information
openshift-merge-bot[bot] authored Oct 7, 2024
2 parents fe351b9 + 11e9fa7 commit 90de66c
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 4 deletions.
File renamed without changes.
39 changes: 35 additions & 4 deletions docs/dev/design-decisions.md → docs/design-decisions.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ spec:
rbd_store_ceph_conf = /etc/ceph/ceph.conf
store_description = "RBD backend"
rbd_store_pool = images
rbd_store_user = openstackcustomServiceConfig: |
rbd_store_user = openstack
databaseInstance: openstack
databaseUser: glance
keystoneEndpoint: central
Expand Down Expand Up @@ -337,10 +337,40 @@ spec:
In the example above, all the `GlanceAPI` instances share the same configuration,
which is inherited by the main `customServiceConfig`, while`extraMounts` are
added to connect each instance to a different Ceph cluster.
For each instance it's possible to configure the `layout` (split vs single)
according to a given backend, but note that `webhooks` prevent any update to the
defined layout.
For each instance, you can configure the layout parameter (either split or
single) based on the specific backend requirements. However, keep in mind that
webhooks will prevent any modifications to the layout after it's been set.

It's also possible to deploy multiple glanceAPI services within the same
availability zone (AZ) to handle different workloads. Here's an example
configuration:

```
keystoneEndpoint: api0
glanceAPIs:
api0:
customServiceConfig: |
[DEFAULT]
enabled_backends = default_backend:rbd
replicas: 1
type: split
api1:
customServiceConfig: |
[DEFAULT]
enabled_backends = default_backend:swift
replicas: 1
type: split
```

In this setup:

* api0 is registered in the Keystone catalog and used as the default endpoint
for CLI operations.
* api1, while not the default, remains an active API that can still be utilized
for image uploads by specifying the `--os-image-url` parameter.

Switching the Keystone catalog's active API is straightforward and can be done
by updating the `keystoneEndpoint` parameter.

## Manage KeystoneEndpoint

Expand Down Expand Up @@ -618,6 +648,7 @@ api2

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

0 comments on commit 90de66c

Please sign in to comment.