Skip to content

ocp4_workload_external_odf: document backingstore_pv_volumes for scaled clusters#75

Closed
prakhar1985 wants to merge 1 commit intomainfrom
odf-backingstore-pv-volumes-doc
Closed

ocp4_workload_external_odf: document backingstore_pv_volumes for scaled clusters#75
prakhar1985 wants to merge 1 commit intomainfrom
odf-backingstore-pv-volumes-doc

Conversation

@prakhar1985
Copy link
Contributor

@prakhar1985 prakhar1985 commented Mar 2, 2026

What this does

Documents how to correctly scale ODF when clusters have more than 3 workers.

When scaling workers, both the pvPool volume count AND the per-pod BackingStore resource requests/limits need to be set. The variable `ocp4_workload_external_odf_backingstore_pv_volumes` already controls `numVolumes` (workload.yml line 133), and `ocp4_workload_external_odf_backingstore_custom_resources` triggers the resource patch (line 145). Neither are configured for scaled clusters by default.

Example usage in an AgnosticV catalog item

```yaml
ocp4_workload_external_odf_backingstore_pv_volumes: "{{ worker_instance_count | int }}"

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
```

Note

Tyrell's retry fix from #72 is included in this branch. No changes to workload.yml — this is documentation only.

@alberto-gonzalez — can you validate by testing with a catalog item that sets the above variables? Confirm Quay comes up healthy with the pvPool matching the worker count. Do not merge until tested.

@prakhar1985 prakhar1985 force-pushed the odf-backingstore-pv-volumes-doc branch 5 times, most recently from 7f96e8f to d744274 Compare March 2, 2026 06:18
Set ocp4_workload_external_odf_backingstore_pv_volumes to 1 (operator
default). Catalog items should override with worker node count in AgnosticV:
  ocp4_workload_external_odf_backingstore_pv_volumes: "{{ worker_instance_count | int }}"

To also scale CPU/memory resources per BackingStore pod, additionally set:
  ocp4_workload_external_odf_backingstore_custom_resources: true
@prakhar1985 prakhar1985 force-pushed the odf-backingstore-pv-volumes-doc branch from d744274 to 5893156 Compare March 2, 2026 06:20
@prakhar1985
Copy link
Contributor Author

Closing — changes need further discussion before proceeding.

@prakhar1985 prakhar1985 closed this Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant