• 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
..
admin Loading commit data...
api-reference Loading commit data...
design Loading commit data...
devel Loading commit data...
getting-started-guides Loading commit data...
images Loading commit data...
man/man1 Loading commit data...
proposals Loading commit data...
user-guide Loading commit data...
yaml/kubectl Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
api.md Loading commit data...
reporting-security-issues.md Loading commit data...
roadmap.md Loading commit data...
troubleshooting.md Loading commit data...
warning.png Loading commit data...
whatisk8s.md Loading commit data...