Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide CPFS scaling profile option for CP4D #718

Open
techietav opened this issue May 17, 2024 · 8 comments
Open

Provide CPFS scaling profile option for CP4D #718

techietav opened this issue May 17, 2024 · 8 comments

Comments

@techietav
Copy link

Is your feature request related to a problem? Please describe.
On a large deployment of CP4D/watsonx the underlying CPFS components need to be scaled up to avoid performance issues and instability. This has to be done manually.

Describe the solution you'd like
The deployer config YAML could contain a size variable like used in the CP4BA deployment.

cpfs_profile_size: small # Profile size which affect replicas and resources of Pods of CPFS as per https://www.ibm.com/docs/en/cpfs?topic=operator-hardware-requirements-recommendations-foundational-services

@fketelaars
Copy link
Collaborator

@techietav can you elaborate on how to set the size after installation. CPFS are installed as part of the CP4D control plane and initial installation assumes small size. I tried setting the CommonService size to medium, but this doesn't seem to change anything (no additional replicas, ...). Any advice?

@techietav
Copy link
Author

On the Fusion HCI system there are over 1400 pods so I believe I should be using medium at least. https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.6?topic=installer-hardware-requirements-recommendations-foundational-services
In ccs-cr you can set the size which is small by default.

spec:
  autoScaleConfig: false
  blockStorageClass: ibm-storage-fusion-cp-sc
  fileStorageClass: ibm-storage-fusion-cp-sc
  global_search_reindex_job_resources_limits_memory: 2Gi
  license:
    accept: true
  scaleConfig: **small**
  storageClass: ibm-storage-fusion-cp-sc
  version: 8.5.0

@techietav
Copy link
Author

@techietav
Copy link
Author

Editing ccs-cr doesn't actually work as it reverts to small I just discovered.
there is a common-service CR that I changed to medium as a test

@techietav
Copy link
Author

When creating an instance of the common-service in the IBM Cloud Pak foundational services operator there is a parameter spec.size that can be [starterset, starter, small, medium, large, production]

@fketelaars
Copy link
Collaborator

The CommonService is created implicitly when the control plane is installed. I tested changing the spec.size property of the CommonService CR and observed no differences.

@fketelaars
Copy link
Collaborator

@techietav Any suggestions on how to change the scaling after install?

@techietav
Copy link
Author

According to the docs it can only be set on install or upgrade. "You can set the profile during installation or upgrade."

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

No branches or pull requests

2 participants