k3s/pkg
Kubernetes Submit Queue f8b708385e Merge pull request #39454 from foxish/fix-stateful-set-detection
Automatic merge from submit-queue (batch tested with PRs 39435, 39454)

Fix PDB by percentages for StatefulSet pods

Previously, PDBs defined in terms of percentages would error out with StatefulSet as they did not know how to find the scale associated.
This change teaches the disruption controller to also look at StatefulSets and their scale.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/kubernetes/kubernetes/issues/39125

**Release note**:
```release-note
Fix issue with PodDisruptionBudgets in which `minAvailable` specified as a percentage did not work with StatefulSet Pods.
```

cc @a-robinson @kow3ns @kubernetes/sig-apps-misc
2017-01-05 02:50:20 -08:00
..
admission mechanical changes for move 2017-01-04 10:27:05 -05:00
api snip links from genericapiserver to api/validation 2017-01-04 15:17:18 -05:00
apimachinery autogenerated 2016-12-29 13:04:10 -08:00
apis Deprecate RBAC UserAll, convert v1alpha1 User * rolebindings to Group system:authenticated 2017-01-04 17:11:16 -05:00
auth Merge pull request #39408 from liggitt/invalid-token-401 2017-01-04 15:18:18 -08:00
capabilities autoupdate BUILD files 2016-12-12 13:30:07 -08:00
client Update generated for 2017 2017-01-01 23:11:09 -08:00
cloudprovider autogenerated 2016-12-29 13:04:10 -08:00
controller Updated bazel 2017-01-04 18:06:25 -08:00
conversion autogenerated 2016-12-29 13:04:10 -08:00
credentialprovider autogenerated 2016-12-29 13:04:10 -08:00
dns autogenerated 2016-12-29 13:04:10 -08:00
fieldpath autogenerated 2016-12-29 13:04:10 -08:00
fields autogenerated 2016-12-29 13:04:10 -08:00
generated Generated code 2017-01-03 11:45:38 -05:00
genericapiserver Merge pull request #39435 from sttts/sttts-cloudprovider-to-master 2017-01-05 02:29:11 -08:00
healthz autogenerated 2016-12-29 13:04:10 -08:00
httplog autogenerated 2016-12-29 13:04:10 -08:00
hyperkube autoupdate BUILD files 2016-12-12 13:30:07 -08:00
kubeapiserver Merge pull request #39435 from sttts/sttts-cloudprovider-to-master 2017-01-05 02:29:11 -08:00
kubectl Merge pull request #39226 from luksa/kubectl_proxy_empty_path 2017-01-04 18:25:07 -08:00
kubelet Check if key is a valid after prefix is prepended 2017-01-04 17:26:44 -05:00
kubemark Update NodeRef to v1.ObjectReference. 2016-12-22 16:28:20 +08:00
labels pkg/labels: fix the godoc for Parse() 2016-12-30 17:26:03 -08:00
master Move pkg/api.{Context,RequestContextMapper} into pkg/genericapiserver/api/request 2017-01-03 14:57:33 +01:00
metrics rename /release_1_5 to /clientset 2016-12-14 12:39:48 -08:00
probe autogenerated 2016-12-29 13:04:10 -08:00
proxy autogenerated 2016-12-29 13:04:10 -08:00
quota autogenerated 2016-12-29 13:04:10 -08:00
registry mechanical changes for move 2017-01-04 10:27:05 -05:00
routes autoupdate BUILD files 2016-12-12 13:30:07 -08:00
runtime Update generated for 2017 2017-01-01 23:11:09 -08:00
security autogenerated 2016-12-29 13:04:10 -08:00
securitycontext autogenerated 2016-12-29 13:04:10 -08:00
selection autoupdate BUILD files 2016-12-12 13:30:07 -08:00
serviceaccount snip links from genericapiserver to api/validation 2017-01-04 15:17:18 -05:00
ssh Use the builtin timeout provided by SSH 2016-12-29 18:49:24 -05:00
storage Merge pull request #36229 from wojtek-t/bump_etcd_version 2017-01-04 17:36:06 -08:00
types autoupdate BUILD files 2016-12-12 13:30:07 -08:00
util Add a PrivateKeyFromFile method to certutil for parsing a private key from a file 2017-01-03 23:36:23 +02:00
version Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
volume Merge pull request #39288 from rkouj/unit-test-operation-executor 2017-01-04 18:52:22 -08:00
watch Update generated for 2017 2017-01-01 23:11:09 -08:00
OWNERS