kubernetes/pkg/client
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
..
cache move watch.ListWatchUntil to its own package to avoid future import cycle 2016-10-30 13:14:20 -07:00
chaosclient autogenerated 2016-10-21 17:32:32 -07:00
clientset_generated Autogenerated code and docs 2016-11-03 18:36:32 +01:00
leaderelection autogenerated 2016-10-21 17:32:32 -07:00
listers Autogenerated code and docs 2016-11-03 18:36:32 +01:00
metrics autogenerated 2016-10-21 17:32:32 -07:00
record autogenerated 2016-10-21 17:32:32 -07:00
restclient Merge pull request #35810 from deads2k/client-18-decode-status 2016-11-03 11:18:23 -07:00
retry autogenerated 2016-10-21 17:32:32 -07:00
testdata Added test cases for NewKubeletClient with TLS enabled 2014-12-18 00:57:33 -08:00
testing autogenerated 2016-10-21 17:32:32 -07:00
transport autogenerated 2016-10-21 17:32:32 -07:00
typed Merge pull request #35799 from deads2k/client-17-negotiation 2016-11-03 07:53:47 -07:00
unversioned Merge pull request #34489 from caesarxuchao/time-copy.sh 2016-10-29 16:24:07 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00