Commit Graph

4355 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
cdff17a96b
Merge pull request #78166 from qingsenLi/k8s-190522
duplicated klog.V(5) when had a if klog.V(5)
2019-05-23 20:58:43 -07:00
qingsenLi
5c23e393cf duplicated klog.V(5) when had a if klog.V(5) 2019-05-24 00:49:38 +08:00
caiweidong
e39ec09975 Add error info for plugin do not support attachment 2019-05-23 18:32:49 +08:00
SataQiu
b87d006a50 fix golint failures of pkg/controller/namespace/deletion pkg/controller/serviceaccount 2019-05-23 12:09:01 +08:00
Kubernetes Prow Robot
0cea0675ec
Merge pull request #78159 from byteor/master
[pkg/controller/serviceaccount]: refactor to more idiomatic go
2019-05-22 15:14:37 -07:00
Kubernetes Prow Robot
4f98c6fc7f
Merge pull request #78104 from Pingan2017/update-translate-time
update LastTransitionTime for pod ready condition when node notready
2019-05-22 08:34:14 -07:00
Zhou Peng
2fd4f883d6 [pkg/controller/serviceaccount]: refactor to more idiomatic go
Signed-off-by: Zhou Peng <p@ctriple.cn>
2019-05-21 17:55:30 +08:00
Pingan2017
0a8d7aadc0 update LastTransitionTime for pod ready condition when node become notready 2019-05-21 17:20:08 +08:00
Kubernetes Prow Robot
8211cabfb2
Merge pull request #77647 from fisherxu/patch-1
Add pending status for pastBackoffLimitOnFailure
2019-05-20 21:56:39 -07:00
Fei Xu
9feb0df370 Add pending status for pastBackoffLimitOnFailure 2019-05-21 09:45:29 +08:00
Hemant Kumar
33b95ebddb add some tests for expand controller
Update bazel file
2019-05-20 10:55:23 -04:00
caiweidong
5a0e7f19b6 Narrow down the lock 2019-05-20 19:12:27 +08:00
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
Yu Liao
05ebe91277 Switched to use dynamic shared informer for Garbage Collector. 2019-05-17 15:41:36 -07: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
Hemant Kumar
405d33eae4 Add code to handle in-tree to CSI migration for resizing 2019-05-17 10:57:44 -04:00
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
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
Hemant Kumar
673773cbde check for pvc objects 2019-05-16 12:23:52 -04: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
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
Matthew Wong
c16a555654 Use workqueue model in expand controller
Add a test for patch creation
2019-05-14 16:42:06 -04:00
Mike Crute
7d62316f8f Migrate fake cloud provider to staging 2019-05-14 13:32:18 -07:00
Kubernetes Prow Robot
ec88ec272c
Merge pull request #75405 from tghartland/node-init-fix
Recheck for cloud taint before initializing nodes in cloud controller
2019-05-14 11:21:19 -07:00
Ted Yu
9418affa4d add comment on rev history length limit 2019-05-14 03:11:20 +08:00
Thomas Hartland
081ec69386 Abort node initialization if cloud taint was already removed
If node events are received at a faster rate than they
can be processed then initialization for some nodes will
be delayed. Once they are eventually processed their cloud taint
is removed, but there may already be several update events
for those nodes with the cloud taint still on them already
in the event queue. To avoid re-initializing those nodes,
the cloud taint is checked for again after requesting
the current state of the node. If the cloud taint is no
longer on the node then nil is returned from the
RetryOnConflict, as an error does not need to be logged.

The logging for a successful initialization is also
moved inside the RetryOnConflict so that the early nil
return does not cause the aborted initialization to be
logged as a success.
2019-05-10 09:26:16 +02:00
Kubernetes Prow Robot
3ed23a9594
Merge pull request #73350 from hello2mao/remove-unused-const-in-node-controller
Remove unused const
2019-05-09 11:26:51 -07:00
Ted Yu
9546fd540e Impose length limit when concatenating revision history 2019-05-08 10:14:18 -07:00
Andrew Kim
c919139245 update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-05-08 10:01:50 -04:00
Walter Fender
796097ae40 Staging the GCE Cloud Provider
**What type of PR is this?**
/kind cleanup

**What this PR does / why we need it**:
Staging the GCE Cloud Provider as part of KEP [20190125-removing-in-tree-providers](https://github.com/kubernetes/enhancements/blob/master/keps/sig-cloud-provider/20190125-removing-in-tree-providers.md). Staging repo setup here https://github.com/kubernetes/legacy-cloud-providers
Moves the GCE cloud provider implementation to staging.
This is in preparation for moving the cloud provider code out of tree entirely.
However we need it in staging while the code needs to be consumed both in/out of tree.

**Which issue(s) this PR fixes**:
Fixes #

**Special notes for your reviewer**:

**Does this PR introduce a user-facing change?**:

```
NONE
```

Updated import dependency tracking.
Factored in the cleanup from #77412
Minor fix to go.mod.
2019-05-07 13:17:52 -07:00
Kubernetes Prow Robot
95eb3a6702
Merge pull request #77452 from cwdsuzhou/fix_error_overrided
fix always print EventTypeWarning due to err override
2019-05-07 09:52:10 -07:00
Kubernetes Prow Robot
43284ecbfc
Merge pull request #77442 from cofyc/fix77084
Fix go lint failures in volume scheduling packages
2019-05-07 00:24:07 -07:00
Kubernetes Prow Robot
86a0a3d883
Merge pull request #77443 from cofyc/fix77085
Remove private copies and update the code to use shared annotations
2019-05-06 22:53:52 -07:00
Kubernetes Prow Robot
a8787dac30
Merge pull request #76927 from mrkm4ntr/unnecessary-goroutine
Do not generate unnecessary goroutines
2019-05-06 21:31:53 -07:00
Yecheng Fu
4abd73048c Do one more level of casting to get the 'assumeCache' 2019-05-07 10:55:58 +08:00
liucimin
f68b12e4ec fix the metainternalversion.List change error 2019-05-07 10:35:04 +08:00
Kubernetes Prow Robot
04d69b20cc
Merge pull request #77438 from cofyc/owners
Create OWNERS in volume scheduling package
2019-05-06 17:08:06 -07:00
caiweidong
722f42caba fix always print EventTypeWarning due to err overrided 2019-05-05 20:19:01 +08:00
Yecheng Fu
3315474f55 Fix go lint failures in a few packages
- pkg/controller/volume/persistentvolume/testing
- pkg/controller/volume/scheduling
2019-05-05 09:45:25 +08:00
Yecheng Fu
2d0d226371 Move all private annotations to shared package and update code 2019-05-05 09:43:43 +08:00
Kubernetes Prow Robot
c516bb51e3
Merge pull request #76723 from LiliC/fix-daemonset-typo
pkg,test: Fix DaemonSet typos
2019-05-04 17:19:37 -07:00
Yecheng Fu
87ca3bd1d6 Create OWNERS in volume scheduling package 2019-05-04 16:46:12 +08:00
Kubernetes Prow Robot
d5245b9563
Merge pull request #74856 from draveness/fix/daemonset-controller-slow-batch-creation
fix(daemon): create more expections when skipping pods
2019-05-03 23:33:37 -07:00
Kubernetes Prow Robot
ef550e6989
Merge pull request #75434 from cofyc/fix56098
Refactor PV scheduling library into a separate package
2019-05-03 22:17:38 -07:00
Kubernetes Prow Robot
e871241268
Merge pull request #77208 from DaiHao/daemon_controller
Fix rolling update daemonset bug in clock-skew scenario
2019-05-03 21:01:52 -07:00
draveness
5f8dfdc698 fix(daemon): create more expections when skipping pods 2019-05-04 08:15:49 +08:00
Kubernetes Prow Robot
b07f311322
Merge pull request #76882 from SataQiu/fix-golint-controller-20190422
Fix golint failures of pkg/controller/certificates/approver, etc
2019-05-02 03:16:18 -07:00
Yecheng Fu
842fed658c Refactor PV scheduling library into separate package 2019-05-02 14:45:52 +08:00
Yecheng Fu
0b6c028c8a Extract testing VolumeReactor into a separate package 2019-05-02 14:45:52 +08:00
Kubernetes Prow Robot
b03e4bbc22
Merge pull request #76868 from tedyu/res-quota-mon-read
Use read lock for QuotaMonitor#IsSynced
2019-05-01 20:42:31 -07:00
SataQiu
3c35e4e2d6 fix golint failures of pkg/controller/certificates/approver 2019-05-02 10:37:38 +08:00
Humble Chirammal
4d56ab19e4 Remove unwanted conditions from controllers.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-01 14:13:19 +05:30
Kubernetes Prow Robot
4ebe11a6cb
Merge pull request #76110 from DirectXMan12/infra/prune-owners
Prune directxman12 from metrics/autoscaling OWNERS
2019-04-29 14:35:36 -07:00
daihao
18ed2f6c54 Enqueue controllers after minreadyseconds when all pods are ready 2019-04-29 19:51:03 +08:00
Kubernetes Prow Robot
99d331e37c
Merge pull request #76817 from soltysh/apps_approvers
Updates OWNERS files in job controller
2019-04-25 12:03:57 -07:00
Maciej Szulik
edb3357a29
Rename CronJob controller file 2019-04-25 12:19:29 +02:00
Shintaro Murakami
f8e81337da Do not generate unnecessary goroutine 2019-04-23 16:22:14 +09:00
Kubernetes Prow Robot
0ca27bfee2
Merge pull request #76139 from SataQiu/fix-golint-kubectl-20190404
Fix golint failures of pkg/kubectl/apps
2019-04-22 10:43:44 -07:00
Ted Yu
0129dede89 Use read lock for QuotaMonitor#IsSynced 2019-04-20 11:05:57 -07:00
Kubernetes Prow Robot
22c67bb113
Merge pull request #76333 from cwdsuzhou/clean_up_scheduler_binder
Rename some varibles and clean up codes in scheduler_binder.go
2019-04-19 17:18:03 -07:00
Davanum Srinivas
7b8c9acc09
remove unused code
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
Maciej Szulik
3cc85a1c09
Updates OWNERS files in job controller 2019-04-19 10:35:16 +02:00
caiweidong
1c5efe7eae Rename some varible and clean up codes in scheduler_binder.go 2019-04-19 11:06:17 +08:00
Lili Cosic
c9cbabc8f9 pkg,test: Fix DaemonSet typos 2019-04-17 18:47:00 +02:00
Joel Smith
f50696adda Fix potential test flakes in HPA tests TestEventNotCreated and TestAvoidUncessaryUpdates
Also, re-work the code so that the lock is never held while writing to the chan
2019-04-17 08:10:33 -06:00
Kubernetes Prow Robot
0889c3e4e9
Merge pull request #75761 from fenggw-fnst/mybranch
Fix comments about node health monitor
2019-04-17 05:26:12 -07:00
SataQiu
4c713e94d9 fix golint failures of pkg/kubectl/apps 2019-04-17 19:37:35 +08:00
Kubernetes Prow Robot
0148014048
Merge pull request #76669 from kow3ns/apps-owners-update
Updates OWNERS files and OWNERS_ALIASES for SIG Apps
2019-04-16 17:49:05 -07:00
Kubernetes Prow Robot
90b9ccf7f4
Merge pull request #74447 from WanLinghao/builder_ptr_replace
Remove and replace ptr functions
2019-04-16 16:19:38 -07:00
Kenneth Owens
f81fc8ae1b Updates OWNERS files and OWNERS_ALIASES for SIG Apps to make reviewers
and approvers more clear
2019-04-16 11:35:21 -07:00
Kubernetes Prow Robot
440d086268
Merge pull request #76257 from johscheuer/remove-unused-nodeipam-code
Remove empty metrics.go file and method call
2019-04-16 08:57:09 -07:00
Kubernetes Prow Robot
a93f803f8e
Merge pull request #75501 from Huang-Wei/scheduler-metrics
scheduler: add metrics to record number of pending pods in different queues
2019-04-09 01:09:05 -07:00
Kubernetes Prow Robot
1cca3f9d45
Merge pull request #76215 from liggitt/update-vendored-dependencies
Update vendored dependencies
2019-04-08 23:51:03 -07:00
Kubernetes Prow Robot
fa9b36de77
Merge pull request #76151 from vladimirvivien/plugin-CanAttach-return-error
Ability for volume AttachablePlugin.CanAttach() to return both bool and error
2019-04-08 20:29:05 -07:00
WanLinghao
d0138ca3fe This commit does two things in pkg package:
1. Remove unused ptr functions.
2. Replace ptr functions with k8s.io/utils/pointer
2019-04-09 10:56:35 +08:00
Kubernetes Prow Robot
65dc445aa2
Merge pull request #74241 from snowplayfire/fix-pdb-update
fix too many pdb update operations when nothing change
2019-04-08 18:53:03 -07:00
Wei Huang
63c3a617cd
auto-generated files 2019-04-08 17:51:08 -07:00
Vladimir Vivien
cfafde983b Volume AttachablePlugin.CanAttach() now returns both bool and error 2019-04-08 16:53:22 -04:00
Jordan Liggitt
bba9f5e673 Fixup gonum.org/v1/gonum/graph API calls 2019-04-08 15:20:46 -04:00
Kubernetes Prow Robot
8f8d9e2c72
Merge pull request #76060 from krzysztof-jastrzebski/master
Delete only unscheduled pods in DaemonSetController if node doesn't exist anymore
2019-04-08 08:58:27 -07:00
Johannes M. Scheuermann
80d6b0465e Remove empty metrics.go file and method call
Update bazel code file
2019-04-08 14:49:27 +02:00
jingxueli
dfa3353390 fix pdb update too many when nothing change 2019-04-08 11:27:42 +08:00
Kubernetes Prow Robot
2c013fa1a8
Merge pull request #75129 from xing-yang/informer
Move CSIDriver Lister to the controller
2019-04-05 18:06:27 -07:00
Kubernetes Prow Robot
f3de278f18
Merge pull request #75964 from humblec/more-lnt
Remove some unwanted code blocks in controller_utils.go
2019-04-05 16:46:40 -07:00
Kubernetes Prow Robot
deb48e331a
Merge pull request #76189 from soltysh/fix_legacy_podautoscaler
Fix flaky legacy pod autoscaler test
2019-04-05 14:34:05 -07:00
Kubernetes Prow Robot
1cdb4c965a
Merge pull request #74946 from ialidzhikov/clean-ineffectual-assignments
Clean ineffectual assignments
2019-04-05 14:33:53 -07:00
Xing Yang
000ab86788 Move CSIDriver Lister to the controller 2019-04-05 12:20:11 -07:00
Maciej Szulik
bcfd48c29e
Fix flaky legacy pod autoscaler test
The reactor in runTest is set to catch all actions, but eventually it
only handles CreateAction without checking action type which might fail
sometimes when Patch arrives. This fix ensures we handle only the
CreateAction.
2019-04-05 13:20:30 +02:00
Kubernetes Prow Robot
529cd2c674
Merge pull request #74649 from draveness/patch-1
fix: typo in stateful_set_control
2019-04-04 17:47:31 -07:00
Kubernetes Prow Robot
79a8827c37
Merge pull request #76108 from MrHohn/svc-controller-sync-name
Rename createLoadBalancerIfNeeded() to syncLoadBalancerIfNeeded()
2019-04-04 00:41:27 -07:00
Kubernetes Prow Robot
eee8af93ba
Merge pull request #75622 from jonsabo/ssetresync
Remove resync period for sset controller
2019-04-04 00:41:02 -07:00
Solly Ross
837976cb59 Prune directxman12 from metrics/autoscaling OWNERS
Since I'm not really working on metrics or autoscaling stuff any more, I
figured it was time to remove myself from the approvers list.
2019-04-03 16:24:51 -07:00
Zihong Zheng
3e52ea8081 Rename createLoadBalancerIfNeeded() to syncLoadBalancerIfNeeded() to reduce confusion 2019-04-03 14:27:04 -07:00
Kubernetes Prow Robot
be374388f6
Merge pull request #74941 from cwdsuzhou/fix_pvc_label
Do not replace labels of pvc with those of StastefulSet
2019-04-03 02:05:44 -07:00
Krzysztof Jastrzebski
9c142cf47b Delete only unscheduled pods if node doesn't exist anymore. 2019-04-03 00:24:26 +02:00
Michelle Au
d2aa8178f2 Remove alpha CRD install 2019-04-02 10:59:11 -07:00