-
Notifications
You must be signed in to change notification settings - Fork 46
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
Make process number configurable in KeystoneAPI #500
Make process number configurable in KeystoneAPI #500
Conversation
description: Processumber - Number of processes running in keystone | ||
API | ||
format: int32 | ||
maximum: 10 |
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.
not sure about setting a max here. @d34dh0r53 @dmendiza @xek - is there a reasonable setting here or should we just leave it blank?
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.
I deleted the maximum limit for now for testing.
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.
I also don't think a maximum is needed, it's easy enough to add should this become a problem.
93ab936
to
0bcde09
Compare
This is probably something we want to be able to do across multiple service operators api deployments, but I am not sure if adding it as a top parameter for the deployment is good. if there will be more parameters we need to be able to customize related to httpd its probably better to have them in a sub struct. And this needs to be the same for all operators. @dprince @olliewalsh @abays thoughts? maybe we should have a generic crd for httpd which allows us to extend for future customization. |
@d34dh0r53 ^^ just for awareness of the above. @d34dh0r53 is working on changes needed for federation. |
+1 for a sub struct. Also could potentially switch from apache/wsgi to $something_else in future |
I'm not opposed to a substruct of some sort. That said, there are types of apache config which are much more extensive - see #479 Does the approach there change at all? |
I was thinking about adding some subsection for
don't think it affects #479 as it is a separate feature which are not a generic httpd settings. |
0bcde09
to
b2c718c
Compare
56e7c8d
to
6e628c6
Compare
@stuggi Please take a look again on the updated version, ty! |
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.
looks good to me, @olliewalsh @dprince @abays for you too?
type HttpdCustomization struct { | ||
// +kubebuilder:validation:Optional | ||
// +kubebuilder:default=3 | ||
// +kubebuilder:validation:Minimum=1 |
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.
as discussed on slack, this needs to be tested for updating the controller/CRD on an already deployed env
looks good to me, if updating works |
Signed-off-by: Veronika Fisarova <[email protected]>
6e628c6
to
b52ef01
Compare
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Deydra71, stuggi, vakwetu, xek 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 |
322aab6
into
openstack-k8s-operators:main
/cherry-pick 18.0-fr1 |
@Deydra71: new pull request created: #504 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Adds new section
httpdCustomization
with the optionprocessNumber
to configure the number of processes used by KeystoneAPI. The maximum number is not set, though this may be defined in the futureJira: OSPRH-10363