Commit Graph

34474 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6ba13bf151 Merge pull request #77773 from DaiHao/daemon
fix daemon set rolling update hang
2019-05-20 03:11:12 -07:00
Kubernetes Prow Robot
89031553ce Merge pull request #77845 from draveness/bugfix/resource-allocation-priority
fix: verify metadata is non-nil in resource allocation
2019-05-18 23:11:12 -07:00
Kubernetes Prow Robot
0f31cc93b6 Merge pull request #74440 from yliaog/dynamic
Switched to use dynamic shared informer for Garbage Collector.
2019-05-18 12:23:12 -07:00
Kubernetes Prow Robot
df4f033a4f Merge pull request #77501 from JieJhih/scheduling/plugin
add scheduling framework configuration
2019-05-18 03:39:12 -07:00
Kubernetes Prow Robot
82ac5c3cbf Merge pull request #77990 from Huang-Wei/fix-TestPreemptionRaces
scheduler: fix flaky test TestPreemptionRaces
2019-05-17 21:51:32 -07:00
Kubernetes Prow Robot
ae132f626f Merge pull request #77978 from ahg-g/ahg-host-redirect
Added a unit test to verify that host header is preserved after probe…
2019-05-17 21:51:20 -07:00
Kubernetes Prow Robot
df8e241fb9 Merge pull request #76346 from caesarxuchao/delete-admission-objects
Sending existing object to the webhook for the DELETE verb
2019-05-17 20:26:22 -07:00
Kubernetes Prow Robot
fad34e404e Merge pull request #76188 from humblec/csi-in-m
csi: Implement NodeServiceCapability_RPC_GET_VOLUME_STATS rpc call
2019-05-17 20:26:09 -07:00
draveness
73367250a3 fix: verify metadata is non-nil in resource allocation 2019-05-18 10:05:44 +08:00
JieJhih Jhang
0734d1debb handle nil extension points 2019-05-18 07:24:27 +08:00
Yu Liao
05ebe91277 Switched to use dynamic shared informer for Garbage Collector. 2019-05-17 15:41:36 -07:00
JieJhih Jhang
2cd5fc54a1 add scheduling framework configuration
update bazel build

fix get plugin config method

initialize only needed plugins

fix unit test

fix import duplicate package

update bazel

add docstrings

add weight field to plugin

add plugin to v1alpha1

add plugins at appropriate extension points

remove todo statement

fix import package file path

set plugin json schema

add plugin unit test to option

initial plugin in test integration

initialize only needed plugins

update bazel

rename func

change plugins needed logic

remove v1 alias

change the comment

fix alias shorter

remove blank line

change docstrings

fix map bool to struct

add some docstrings

add unreserve plugin

fix docstrings

move variable inside the for loop

make if else statement cleaner

remove plugin config from reserve plugin unit test

add plugin config and reduce unnecessary options for unit test

update bazel

fix race condition

fix permit plugin integration

change plugins to be pointer

change weight to int32

fix package alias

initial queue sort plugin

rename unreserve plugin

redesign plugin struct

update docstrings

check queue sort plugin amount

fix error message

fix condition

change plugin struct

add disabled plugin for unit test

fix docstrings

handle nil plugin set
2019-05-18 06:30:28 +08:00
Kubernetes Prow Robot
9cbbf59265 Merge pull request #77984 from MrHohn/svc-finalizer-alpha
`patch` service status instead of `update` in service controller
2019-05-17 10:12:06 -07:00
Chao Xu
6d40e3c9e9 generated 2019-05-17 09:54:14 -07:00
Chao Xu
7bb4a3bace Run deleteValidation at the storage layer so that it will be retried on
conflict.

Adding unit test verify that deleteValidation is retried.

adding e2e test verifying the webhook can intercept configmap and custom
resource deletion, and the existing object is sent via the
admissionreview.OldObject.

update the admission integration test to verify that the existing object
is passed to the deletion admission webhook as oldObject, in case of an
immediate deletion and in case of an update-on-delete.
2019-05-17 09:54:11 -07:00
yue9944882
34c4a6e057 Cherrypicking #66535
validate deletion admission object

backward compatibility: add validation for direct storage delete calls

apply nil validation to existing tests

revert behavior changes in deleteCollection call

fixes validation on wiring graceful deletion

remove nil validation check

continue admission check on not found error
2019-05-17 09:50:16 -07:00
Abdullah Gharaibeh
ef2e5bb8ed Addressed reviewers comments. 2019-05-17 10:48:43 -04:00
Wei Huang
29195faa69 supplemental logic to ensure nominatedPodMap.update() is still stateless 2019-05-17 07:44:05 -07:00
Wei Huang
115fe94b6f scheduler: fix flaky test TestPreemptionRaces
In some cases, an Update event with no "NominatedNode" present is received right
after a node("NominatedNode") is reserved for this pod in memory.
If we go updating (delete and add) it, it actually un-reserves the node since
the newPod doesn't carry sped.status.nominatedNode.
In this case, during this time other low-priority pods have chances to take space which
was reserved for the nominatedPod.
2019-05-17 07:44:04 -07:00
Humble Chirammal
c511c90b59 csi: Implement NodeServiceCapability_RPC_GET_VOLUME_STATS rpc call
and implement Metrics Provider for CSI driver

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-17 17:10:53 +05:30
Kubernetes Prow Robot
27410955e2 Merge pull request #77952 from liggitt/delete-on-update
Handle updates removing remaining finalizers on deleted objects
2019-05-17 02:04:32 -07:00
Kubernetes Prow Robot
da4d6f5829 Merge pull request #77883 from gnufied/mat-expand-workqueue
Use workqueues for volume expansion
2019-05-17 02:04:18 -07:00
Kubernetes Prow Robot
a6b546eb72 Merge pull request #77936 from liggitt/shorten-cert-wait
Interrupt WaitForCertificate if desired kubelet serving cert changes
2019-05-17 00:26:19 -07:00
Kubernetes Prow Robot
3c02a38fdc Merge pull request #77609 from tedyu/union-all-test
Add test for CPUSet#UnionAll
2019-05-16 20:39:26 -07:00
Hemant Kumar
4886e8782c name the queue properly and use lower case for error message 2019-05-16 21:34:57 -04:00
Zihong Zheng
cda73ebbb0 Fixes service controller unit test for patching
Co-authored-by: Josh Horwitz <horwitzja@gmail.com>
2019-05-16 17:30:43 -07:00
Zihong Zheng
a1f07049e5 Patch service instead of update in service controller
Co-authored-by: Josh Horwitz <horwitzja@gmail.com>
2019-05-16 17:30:43 -07:00
Kubernetes Prow Robot
6dfc996156 Merge pull request #77423 from apelisse/rollout-restart-other-workloads
Implement rollout restart for statefulset and daemonset
2019-05-16 16:27:06 -07:00
Kubernetes Prow Robot
b276043051 Merge pull request #77421 from tedyu/cpu-free-no-sort
Obtain unsorted slice in cpuAccumulator#freeCores
2019-05-16 16:26:53 -07:00
Abdullah Gharaibeh
71b1565f2e Fixed the unit test and added a failure case. 2019-05-16 18:21:51 -04:00
Jordan Liggitt
739a75fc32 Interrupt WaitForCertificate if desired kubelet serving cert changes 2019-05-16 15:14:47 -04:00
Ted Yu
52f797188f Add test for CPUSet#UnionAll
Signed-off-by: Ted Yu <yute@vmware.com>
2019-05-16 12:13:33 -07:00
Hemant Kumar
673773cbde check for pvc objects 2019-05-16 12:23:52 -04:00
Antoine Pelisse
145935d815 Implement rollout restart for statefulset and daemonset 2019-05-16 08:50:42 -07:00
Kubernetes Prow Robot
6a9ecf71fd Merge pull request #77912 from andyzhangx/fix-azuredisk-lun-error
Fix incorrect azuredisk lun error
2019-05-16 08:48:54 -07:00
Abdullah Gharaibeh
792ab9d3d0 Added a unit test to verify that host header is preserved after probe redirect. 2019-05-16 10:37:56 -04:00
Kubernetes Prow Robot
066549b4b5 Merge pull request #77892 from mikedanese/pluginwatcher
simplify pluginwatcher close by removing waitgroup
2019-05-16 06:06:26 -07:00
Kubernetes Prow Robot
23e54dc634 Merge pull request #77610 from tedyu/rev-limit
Impose length limit when concatenating revision history
2019-05-16 01:10:08 -07:00
Kubernetes Prow Robot
796ecb9391 Merge pull request #77529 from draveness/feature/add-queuesort-extension-point
feat: implement "queue-sort" extension point for scheduling framework
2019-05-16 01:09:42 -07:00
Kubernetes Prow Robot
ce3ce9a57a Merge pull request #77023 from obitech/fix_golint_issues_in_kubelet_packages_oom
Fix golint issues in pkg/kubelet/oom
2019-05-15 22:56:21 -07:00
Kubernetes Prow Robot
37281a400d Merge pull request #76442 from viegasdom/fix-golint-utils-bandwith
Fix golint failures of util/bandwith/*.go
2019-05-15 22:56:08 -07:00
Kubernetes Prow Robot
929adb69e3 Merge pull request #76165 from JacobTanenbaum/minor-cleanups
Minor cleanups in pkg/proxy/endpoints.go
2019-05-15 22:55:55 -07:00
Kubernetes Prow Robot
8a822b0fcf Merge pull request #75109 from yuchengwu/master
Fix initContainer failed to get its own field value as environment variable values
2019-05-15 22:55:42 -07:00
daihao
e25ff463ba fix daemon set rolling update hang 2019-05-16 10:52:48 +08:00
Jordan Liggitt
fba885a0d2 Handle updates removing remaining finalizers on deleted objects 2019-05-15 17:17:39 -04:00
Kubernetes Prow Robot
c50ff35a55 Merge pull request #77839 from mcrute/migrate-fake-cp
Staging legacy fake cloud provider
2019-05-15 12:32:23 -07:00
Kubernetes Prow Robot
746404f82a Merge pull request #77560 from dcbw/proxy-sig-network-owners
pkg/proxy: add sig-network-approvers/sig-network-reviewers to OWNERS files
2019-05-15 03:08:33 -07:00
Kubernetes Prow Robot
74743793f2 Merge pull request #74027 from squeed/kube-proxy-metrics
proxy: add some useful metrics
2019-05-15 03:08:19 -07:00
andyzhangx
4213f4d797 fix azure disk lun error 2019-05-15 08:32:03 +00:00
Kubernetes Prow Robot
adf6fa6987 Merge pull request #77888 from tallclair/standalone
Don't create a RuntimeClassManager without a KubeClient
2019-05-15 00:04:48 -07:00