kubernetes/pkg/master
Kubernetes Submit Queue f0ca9fbd9e Merge pull request #35567 from mwielgus/allowed_disruptions_b2
Automatic merge from submit-queue

Switch DisruptionBudget api from bool to int allowed disruptions [only v1beta1]

Continuation of #34546. Apparently it there is some bug that prevents us from having 2 different incompatibile version of API in integration tests. So in this PR v1alpha1 is removed until testing infrastructure is fixed.

Base PR comment:

Currently there is a single bool in disruption budget api that denotes whether 1 pod can be deleted or not. Every time a pod is deleted the apiserver filps the bool to false and the disruptionbudget controller sets it to true if more deletions are allowed. This works but it is far from optimal when the user wants to delete multiple pods (for example, by decreasing replicaset size from 10000 to 8000).
This PR adds a new api version v1beta1 and changes bool to int which contains a number of pods that can be deleted at once.

cc: @davidopp @mml @wojtek-t @fgrzadkowski @caesarxuchao
2016-11-03 15:50:19 -07:00
..
ports autogenerated 2016-10-21 17:32:32 -07:00
thirdparty remove non-reuseable bits of MasterServer 2016-10-31 08:50:05 -04:00
BUILD Autogenerated code and docs 2016-11-03 18:36:32 +01:00
controller.go include multiple versions in clientset 2016-10-29 13:30:47 -07:00
controller_test.go convert bootstrap controller to posthook to tighten master.go 2016-10-10 08:15:45 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
import_known_versions.go move StorageClass to its own group 2016-09-06 08:41:17 -04:00
import_known_versions_test.go Doc API group suffix, add test to catch new groups 2016-09-09 15:56:08 -04:00
master.go Merge pull request #35567 from mwielgus/allowed_disruptions_b2 2016-11-03 15:50:19 -07:00
master_test.go Merge pull request #35900 from deads2k/api-34-healthz 2016-11-03 08:32:16 -07:00
OWNERS Remove myself from a bunch of OWNERS files, as I am too overloaded 2016-05-11 13:34:51 -07:00