Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/ocp4_workload_external_odf/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ocp4_workload_external_odf_guest_pool: ""
ocp4_workload_external_odf_registry_size: 100Gi
ocp4_workload_external_odf_ceph_storage_system_deploy_timeout: 500

ocp4_workload_external_odf_backingstore_pv_volumes: 3
ocp4_workload_external_odf_backingstore_pv_volumes: 1
ocp4_workload_external_odf_backingstore_custom_resources: false
ocp4_workload_external_odf_backingstore_cpu_limits: 1000m
ocp4_workload_external_odf_backingstore_cpu_requests: 800m
Expand Down
24 changes: 23 additions & 1 deletion roles/ocp4_workload_external_odf/readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,26 @@

== Role overview

It configures ODF in external mode and configure the image registry in a PVC
It configures ODF in external mode and configure the image registry in a PVC.

== NooBaa pvPool scaling

When using clusters with more than 3 workers, both the number of pvPool volumes
and the per-pod resource requests/limits need to be configured. Otherwise
workloads like Quay that consume object storage will fail.

Set all of the following in your AgnosticV catalog item:

[source,yaml]
----
# Scale pvPool volumes to match worker node count
ocp4_workload_external_odf_backingstore_pv_volumes: "{{ worker_instance_count | int }}"

# Enable custom resource requests/limits for each BackingStore pod
ocp4_workload_external_odf_backingstore_custom_resources: true
ocp4_workload_external_odf_backingstore_cpu_limits: 1000m
ocp4_workload_external_odf_backingstore_cpu_requests: 800m
ocp4_workload_external_odf_backingstore_memory_limits: 4000Mi
ocp4_workload_external_odf_backingstore_memory_requests: 800Mi
ocp4_workload_external_odf_backingstore_storage_requests: 50Gi
----