-
Notifications
You must be signed in to change notification settings - Fork 37
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
Customize the number of glanceAPI workers #667
Conversation
Signed-off-by: Francesco Pantano <[email protected]>
[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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -12,7 +12,7 @@ show_multiple_locations={{ .ShowMultipleLocations }} | |||
enabled_import_methods=[web-download,glance-direct] | |||
bind_host=localhost | |||
bind_port=9293 | |||
workers=3 | |||
workers={{ .Workers }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we limit the max cap for workers same as the number of CPUs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.