-
Notifications
You must be signed in to change notification settings - Fork 544
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
Why setting the replicas of packageserver as 2 #1164
Comments
For additional context, it appears that the package server replica count was set to 2 in a PR that was made to ensure packageserver graceful shutdown. I assume this was part of an effort to make the packageservier HA. |
@gyliu513 have you tried setting the number of replicas to 1 in the packageserver's CSV? |
@njhale setting as 1 also works, I think it is better change the default value to 1 to facilitate the debug ability. |
The packageserver is unique as an That being said its not too early to think about scaling up OLM operators, either proportionally or in response to some external metrics. As the number of operators in a cluster increase and multitenancy increases it will have to be addressed eventually |
@exdx Full agree with your point, but as a default delivery of OLM, how about set replica as 1 for package server? End user can just scale it based on their requirement. |
@gyliu513 Since debugging OLM is not the common use case for end users, I don't think we should change the current defaults. This is similar to why we don't set the default log level to debug. That being said, I'm open to a new kustomize overlay or helm template in the repo that lets users deploy OLM in a debug configuration. I'm going to close this issue. If you can think of another reason why the typical (non-debugging) end user would want the packageserver scaled to 1 by default, please feel free to re-open. |
I found that the packageserver deployment has a replica as 2 as https://github.com/operator-framework/operator-lifecycle-manager/blob/master/deploy/upstream/quickstart/olm.yaml#L281 , this caused it is difficult to debug the packageserver as I need to check which packageserver pod is handling the request.
How about set the replica as 1?
The text was updated successfully, but these errors were encountered: