Customize the number of glanceAPI workers#667
Conversation
Signed-off-by: Francesco Pantano <fpantano@redhat.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fmount The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
| bind_host=localhost | ||
| bind_port=9293 | ||
| workers=3 | ||
| workers={{ .Workers }} |
There was a problem hiding this comment.
should we limit the max cap for workers same as the number of CPUs?
There was a problem hiding this comment.
we can yes, but we might need more logic in case we don't expose the parameter and allow customers to override it via customServiceConfig
stuggi
left a comment
There was a problem hiding this comment.
why should we add a parameter for this and not use the config customization if we need it? just wondering as we not add parameters for each of the settings in the service config, while this can be customized using the customServiceConfig.
Mostly to keep consistency with other storage operators, but we can use |
|
@konan-abhi @stuggi should we simply document how to do override that value? |
|
I think we should not have added this parameter to any operator |
|
manila and cinder PRs are different. they customize the httpd processes. this should align with what was already done in keystone PR openstack-k8s-operators/keystone-operator#500 . in my opinion, if glance is different and does not use httpd process to control this, we should not replicate this here for the glance config. a user should use the default interface for this |
I'm ok to remove this parameter for Glance, and parse |
agreed we nee to do better on that + also to get those things across all operators. Its not efficient that this is done by each group |
For the record: this is a conversation about |
|
@stuggi I'm closing this patch for now, I will reopen in case we need some validation around |
No description provided.