• Kubernetes Submit Queue's avatar
    Merge pull request #36438 from mwielgus/pdb-generation · 5d4d5966
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Use generation in pod disruption budget
    
    Fixes #35324
    
    Previously it was possible to use allowedDirsruptions calculated for the previous spec with the current spec. With generation check API servers always make sure that allowedDisruptions were calculated for the current spec. 
    
    At the same time I set the registry policy to only accept updates if the version based on which the update was made matches to the current version in etcd. That ensures that parallel eviction executions don't use the same allowed disruption.
    
    cc: @davidopp @kargakis @wojtek-t
    5d4d5966
Name
Last commit
Last update
..
apps/v1beta1 Loading commit data...
authentication.k8s.io/v1beta1 Loading commit data...
authorization.k8s.io/v1beta1 Loading commit data...
autoscaling/v1 Loading commit data...
batch Loading commit data...
certificates.k8s.io/v1alpha1 Loading commit data...
extensions/v1beta1 Loading commit data...
policy/v1beta1 Loading commit data...
rbac.authorization.k8s.io/v1alpha1 Loading commit data...
storage.k8s.io/v1beta1 Loading commit data...
v1 Loading commit data...
README.md Loading commit data...
labels-annotations-taints.md Loading commit data...