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.
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.
I deleted the maximum limit for now for testing.
There was a problem hiding this comment.
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! |
stuggi
left a comment
There was a problem hiding this comment.
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.
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 <vfisarov@redhat.com>
6e628c6 to
b52ef01
Compare
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherry-pick 18.0-fr1 |
|
@Deydra71: new pull request created: #504 DetailsIn 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
httpdCustomizationwith the optionprocessNumberto configure the number of processes used by KeystoneAPI. The maximum number is not set, though this may be defined in the futureJira: OSPRH-10363