You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
activator's PDB creates with no disruptionsAllowed when there are a few replicas #376
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.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
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?
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 cluster-autoscaler.kubernetes.io/safe-to-evict: "false" is sprinkled everywhere. Is there documentation somewhere suggesting why this stuff isn't safe to evict?
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
Activity
nak3 commentedon Dec 3, 2020
FYI @vagababov @julz
github-actions commentedon Mar 4, 2021
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with
/reopen. Mark the issue asfresh by adding the comment
/remove-lifecycle stale.Fabian-K commentedon Mar 15, 2021
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?
marcomancini1994 commentedon Apr 6, 2021
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)
matzew commentedon Apr 28, 2021
The same is true for eventing, not just the serving PDB.
matzew commentedon Apr 28, 2021
/cc @houshengbo @lionelvillard
Morriz commentedon Jul 3, 2021
bump
treyhyde commentedon Aug 6, 2021
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
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"is sprinkled everywhere. Is there documentation somewhere suggesting why this stuff isn't safe to evict?nak3 commentedon Aug 24, 2021
I think this issue should be fixed before Beta/GA. There are some options for the solutions like:
enableordisableoption for pdb.Probably option-2 (like
spec.high-availability) or option-1 would be alright?treyhyde commentedon Aug 26, 2021
option 1 seems like a good path, but frankly, a more reasonable default would go a long way. (minAvailable: 1 or maxDisruptions: 1)
peteroruba commentedon Oct 27, 2021
We are also stuck with this issue when it comes to replacing worker nodes.
bartusz01 commentedon Nov 18, 2021
hi @nak3 any update on this?
Legion2 commentedon Nov 18, 2021
Instead of using minAvailable 80% I use maxUnavailable 20%, which works with 2 replicas
nak3 commentedon Nov 19, 2021
@bartusz01 No, I'm not working on it.
fix(values/): required changes to prevent 'pods cannot be evicted' fo…
isaac88 commentedon Mar 2, 2022
Hello @nak3 @matzew @julz,
Do you have the ETA for that ?
Best regards.
nak3 commentedon Mar 2, 2022
@isaac88 Sorry I am not working on it so I have no idea.
github-actions commentedon Jun 1, 2022
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with
/reopen. Mark the issue asfresh by adding the comment
/remove-lifecycle stale.Morriz commentedon Jun 2, 2022
bump