Commit Graph

4220 Commits

Author SHA1 Message Date
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
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
Vladimir Vivien
cfafde983b Volume AttachablePlugin.CanAttach() now returns both bool and error 2019-04-08 16:53:22 -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
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
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
Kubernetes Prow Robot
b1186435eb
Merge pull request #75080 from draveness/feature/get-nodelists-sync-daemonset
fix: list nodes in sync daemonset
2019-04-02 08:22:35 -07:00
Kubernetes Prow Robot
f83fcbefb6
Merge pull request #76004 from yue9944882/chore/trival-reserving-error-msg
Fixes reversed owner relation in error msg from garbage collector
2019-04-02 03:04:58 -07:00
draveness
36c535cf42 fix: list nodes in sync daemonset 2019-04-02 13:54:28 +08:00
Kubernetes Prow Robot
42ff0d8517
Merge pull request #75972 from smarterclayton/use_patch
Garbage collector should use a merge patch instead of Update
2019-04-01 22:44:57 -07:00
yue9944882
0a60d19ebd fixes reversed owner relation in error msg 2019-04-02 12:08:53 +08:00
Clayton Coleman
a63fef26ca
Garbage collector should use a merge patch instead of Update
Fix a TODO in GC controller that blocks using the new
PartialObjectMetadata flow (because we don't support PUT of
PartialObjectMetadata). This patch is equivalent to the previous
mutation.
2019-04-01 11:02:03 -04:00
Humble Chirammal
e9d8d0f5a5 Remove some unwanted code blocks in controller_utils.go
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-01 19:20:12 +05:30
Tom Wanielista
d0cfc49704 Avoid panic in cronjob sorting
This change handles the case where the ith cronjob may have its start
time set to nil.

Previously, the Less method could cause a panic in case the ith
cronjob had its start time set to nil, but the jth cronjob did not. It
would panic when calling Before on a nil StartTime.
2019-03-30 12:43:14 -04:00
Kubernetes Prow Robot
7a478a4609
Merge pull request #75844 from vladimirvivien/volume-skip-device-mount
Volume DeviceMountablePlugin.CanDeviceMount check when retrieving plugins
2019-03-29 13:02:13 -07:00
Kubernetes Prow Robot
16a0351881
Merge pull request #75712 from danielqsj/cj
Add completed job status in cronjob event
2019-03-29 11:48:37 -07:00
Vladimir Vivien
3777514f83 Adds DeviceMountablePlugin.CanDeviceMount check when retrieving plugins 2019-03-28 10:39:32 -04:00
zhouhaibing089
f58c2ae62d resourcequota: use dynamic informer
The resource quota controller should use a dynamic informer so it
can create informer for custom resources.
2019-03-27 11:08:24 -07:00
Jordan Liggitt
27cd2be49f Update quota status with limits even when calculating errors 2019-03-26 23:15:40 -04:00
Jordan Liggitt
739df5452a Avoid deadlock in resource quota resync 2019-03-26 23:15:40 -04:00
Jordan Liggitt
e5f7af7058 Improve quota sync log messages 2019-03-26 23:15:40 -04:00
Jordan Liggitt
8146fe47d8 Clean up test output 2019-03-26 23:15:39 -04:00
Jordan Liggitt
713a10d276 Fix race in quota sync test 2019-03-26 23:15:39 -04:00
danielqsj
6b2e9e8af3 add completed job status in cronjob event 2019-03-27 09:48:55 +08:00
Kubernetes Prow Robot
2086f81546
Merge pull request #74678 from pmcalpine/lint-bs_cj
Fix some golint failures for pkg/controller
2019-03-26 15:10:16 -07:00
Kubernetes Prow Robot
531dbd409f
Merge pull request #75445 from shinytang6/enhance/fmt
Replace all time.Now().Sub with time.Since
2019-03-26 13:55:17 -07:00
Kubernetes Prow Robot
11d472ea01
Merge pull request #72179 from WanLinghao/sa_controller
Migrate the controller to use TokenRequest and rotate token periodically
2019-03-26 12:33:19 -07:00
Kubernetes Prow Robot
68f839662d
Merge pull request #74042 from tedyu/master
Reduce unnecessary Map in node_controller#nodeAddressesChangeDetected
2019-03-25 13:24:24 -07:00
WanLinghao
244b244f9d Migrate the controller to use TokenRequest and rotate token periodically 2019-03-25 14:54:22 +08:00
Kubernetes Prow Robot
29e74dc58c
Merge pull request #75021 from cwdsuzhou/protectionutil
Move protection common funcs to protectionutil
2019-03-22 22:15:07 -07:00
ialidzhikov
c3b2fb0d11 Clean ineffectual assignments
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-03-23 00:27:07 +02:00
Jon Sabo
445d711611 Remove resync period 2019-03-22 16:40:40 -05:00
Kubernetes Prow Robot
8ef336c05a
Merge pull request #74568 from hex108/pv
Remove redundant checker whether pod has claims in func FindPodVolumes
2019-03-21 22:50:31 -07:00
Kubernetes Prow Robot
4499275cb9
Merge pull request #72800 from stewart-yu/stewart-component-base
Move config local to every controller in KCM
2019-03-21 19:26:19 -07:00
shinytang6
5c9f4d9dc6 replace time.Now().Sub with time.Since 2019-03-21 18:02:55 +08:00
Kubernetes Prow Robot
bdc013ad57
Merge pull request #75276 from WanLinghao/node_lifecycle_clean
unused function clean
2019-03-20 05:25:35 -07:00
Kubernetes Prow Robot
fcf21a2168
Merge pull request #74885 from cwdsuzhou/fix_log_style
Change log: avoid to print raw json response too frequently
2019-03-19 21:26:36 -07:00
Kubernetes Prow Robot
046dcbd1ed
Merge pull request #73917 from droslean/cleanup
replace loops with go idiomatic.
2019-03-19 19:01:04 -07:00