-
Notifications
You must be signed in to change notification settings - Fork 101
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
activator's PDB creates with no disruptionsAllowed when there are a few replicas #376
Comments
FYI @vagababov @julz |
This issue is stale because it has been open for 90 days with no |
Because the PDB cannot be configured using the operator, currently the only way to get 1 allowed disruption is to run 5 replicas. Do you consider making this configurable or changing the PDB itself? |
We are actually facing the same issue when using the Knative Operator, are you guys planning to release this feature in the next release? (e.g 0.23.0) |
The same is true for eventing, not just the serving PDB. |
bump |
I have really struggled with this one. Finally buckled down and added the 5 replicas so I could actually shut things down without manual intervention only to discover that |
I think this issue should be fixed before Beta/GA. There are some options for the solutions like:
Probably option-2 (like |
option 1 seems like a good path, but frankly, a more reasonable default would go a long way. (minAvailable: 1 or maxDisruptions: 1) |
We are also stuck with this issue when it comes to replacing worker nodes. |
hi @nak3 any update on this? |
Instead of using minAvailable 80% I use maxUnavailable 20%, which works with 2 replicas |
@bartusz01 No, I'm not working on it. |
…r e.g. node reboots (kured) When Kured is installed it needs to be able to drain nodes, this is only possible if all pdbs have at least 1 allowed disruption. PDBS have not been changed, but minimum number of replicas have. For knative this is a temporary fix until another solution is offered where <5 replicas is possible. See knative/operator#376
@isaac88 Sorry I am not working on it so I have no idea. |
This issue is stale because it has been open for 90 days with no |
bump |
Since knative/serving@591510c was introduced, activator's PDB has
80%
and operator includes the PDB without any change.PDB 80% creates with zero
disruptionsAllowed
even if we have 2 or some replicas, so it will block an eviction.e.g. Even 2 activator replicas,
disruptionsAllowed
is zero.The users who installed Knaative by operator cannot modify the PDB so operator should manage the PDB well or document this HA restriction.
The text was updated successfully, but these errors were encountered: