stewart-yu
ecbd5427e7
auto-generated file
2019-03-02 12:55:26 +08:00
stewart-yu
e01ff1641c
move config local to every controllers in kube-controller-manager
2019-03-02 12:54:33 +08:00
Kubernetes Prow Robot
36787041cb
Merge pull request #73653 from ddebroy/migprov1
...
Support dynamic provisioning for CSI migration scenarios
2019-02-28 01:52:55 -08:00
Travis Rhoden
2c4d748bed
Refactor subpath out of pkg/util/mount
...
This patch moves subpath functionality out of pkg/util/mount and into a
new package pkg/volume/util/subpath. NSEnter funtionality is maintained.
2019-02-26 19:59:53 -07:00
Deep Debroy
23478f104f
PV Controller changes to support provisioning in CSI Migration scenarios
...
Signed-off-by: Deep Debroy <ddebroy@docker.com >
2019-02-26 08:39:54 -08:00
Jun Gong
a916f1b28c
Remove redundant checker whether pod has claims in func FindPodVolumes
2019-02-26 13:06:52 +08:00
Andrew Kim
ca6a051b00
remove cloud provider dependencies to pkg/volume
...
Co-authored-by: Weibin Lin <linweibin1@huawei.com >
2019-02-09 01:16:55 -05:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
...
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Kubernetes Prow Robot
a1539d8e52
Merge pull request #73159 from cofyc/fix72329
...
Better way to share common utilities between PV controller and Volume Binder
2019-02-05 22:36:13 -08:00
Yecheng Fu
8b79fe3ebe
Do not call methods on PersistentVolumeController
2019-02-06 12:04:05 +08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Ted Yu
c8f1826185
Use read lock for scheduler_binder_cache GetDecisions
2019-01-26 13:06:23 -08:00
Kubernetes Prow Robot
0b62ad23c2
Merge pull request #72959 from cofyc/fix72954
...
Fix flaky test TestBindAPIUpdate
2019-01-22 11:12:59 -08:00
David Zhu
d8c9dc5bb5
Add IsMigratableToCSI to volume plugin interface
2019-01-17 14:43:52 -08:00
Yecheng Fu
f406c6bde7
Fix flaky test TestBindAPIUpdate
2019-01-17 11:25:18 +08:00
Yecheng Fu
dbd80460de
Clear cache instead of saving nils if no claims to bind or provision
2019-01-16 21:21:36 +08:00
Yecheng Fu
c2d25e08d7
Skip if pod does not have claims.
2019-01-16 21:02:08 +08:00
Yecheng Fu
7fe97886a8
Merge UpdateProvisionedPVCs with UpdateBindings.
...
This simplifies code and saves a lock.
2019-01-16 21:02:08 +08:00
Kubernetes Prow Robot
ccb1e1f26d
Merge pull request #72045 from cofyc/fix71928
...
Make volume binder resilient to races
2019-01-11 17:42:32 -08:00
Yecheng Fu
1a62f53d3f
If provisioning PVC's PV is not found, check next time.
2019-01-09 10:50:07 +08:00
Yecheng Fu
8b94b9625b
Make volume binder resilient to races: unit tests
2019-01-09 10:50:07 +08:00
Kubernetes Prow Robot
8cb5bc49b6
Merge pull request #72636 from mesaugat/patch-1
...
Aesthetic changes and fix typo
2019-01-08 16:43:36 -08:00
Yecheng Fu
13d87fbff8
Make volume binder resilient to races
...
- FindPodVolumes do not error if PVC is assumed with selected node
- BindPodVolumes check against API objects
2019-01-08 02:14:13 +08:00
Saugat Acharya
926cabfc3a
Remove multiple spaces after a full stop
2019-01-07 17:04:46 +05:45
Saugat Acharya
956a21cd31
Aesthetic changes
...
* Remove multiple spaces after full stop
* Include a single space after a comment
* Fixed a typo
```diff
- eixst
+ exist
```
* Make comment and function name the same
2019-01-07 16:49:12 +05:45
Fabio Bertinatto
bb4fcddd1b
Check PV requirements before scheduling pod
2019-01-04 12:33:18 +01:00
Jordan Liggitt
73dcfe12da
Stop checking VolumeScheduling feature gate
2018-12-27 17:45:45 -05:00
k8s-ci-robot
79e5cb2cb7
Merge pull request #71302 from liggitt/verify-unit-test-feature-gates
...
Split mutable and read-only access to feature gates, limit tests to readonly access
2018-11-29 21:45:12 -08:00
k8s-ci-robot
3faeb7ba6f
Merge pull request #70360 from houjun41544/20181029-1
...
Fix an error in comment
2018-11-28 23:31:40 -08:00
Jordan Liggitt
2498ca7606
drop VerifyFeatureGatesUnchanged
2018-11-21 11:51:33 -05:00
Jordan Liggitt
70ad4dff48
Fix unit tests calling SetFeatureGateDuringTest incorrectly
2018-11-21 11:51:33 -05:00
Michelle Au
18453b01e6
Tolerate apiserver being older than controller-manager
2018-11-16 16:31:27 -08:00
Matthew Wong
dd517c9ff2
Update all tests to account for BlockVolume enabled by default
2018-11-16 13:38:59 -05:00
Jordan Liggitt
248d661327
Add tests to ensure storage feature gate changes don't escape packages
2018-11-16 10:52:53 -05:00
Michelle Au
fd64c08240
Fix storage feature gate test setting
2018-11-16 10:49:40 -05:00
Tomas Smetana
f9c9ef6ec0
PV Controller: fix recycling
...
In the situation when a PVC is deleted and a new one with the same name
bound to a different PV the "old" PV may fail to recycle since it's
associaded with a PVC that is detected as being in use. This may cause
the recycler processes to hang.
2018-11-15 16:38:25 +01:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
k8s-ci-robot
3c10143967
Merge pull request #60195 from humblec/glusterfs-pvspec-3
...
Refactor GlusterFS PV spec.
2018-11-08 00:24:39 -08:00
Humble Chirammal
bdb051c72d
Refactor GlusterFS PV spec.
...
This patch introduces glusterfsPersistentVolumeSource addition
to glusterfsVolumeSource. All fields remains same as glusterfsVolumeSource
with an addition of a new field
called `EndpointsNamespace` to define namespace of endpoint in the
spec.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2018-11-06 15:51:01 +05:30
k8s-ci-robot
faabfd9455
Merge pull request #70575 from houjun41544/20181102
...
Replace getPVCName() with a variable
2018-11-02 21:28:41 -07:00
k8s-ci-robot
69f5f5eff2
Merge pull request #67978 from WanLinghao/token_controller_improve
...
remove idle tokens in kubelet token manager
2018-11-02 12:28:47 -07:00
houjun
fc5dc1ffd8
Replace getPVCName() with a variable
2018-11-02 17:23:18 +08:00
houjun
1373936b17
Fix an error in comment
2018-10-30 10:37:23 +08:00
houjun
caf3c25616
Fix an error in log info
2018-10-30 09:02:06 +08:00
wackxu
d5edcd3dc3
Add metrics to volume scheduling operations
2018-10-23 20:59:12 +08:00
WanLinghao
7df1078d6f
Currently, kubelet token mamanger only clean tokens who are expired. For tokens with long expiration, if the pod who creates them got killed or evicted, those tokens may stay in kubelet's memory until they are expired. It's bad for kubelet and node itself. After this patch, each time a pod was deleted, token manager would clean related tokens.
2018-10-22 09:32:59 +08:00
k8s-ci-robot
0f17e9ade6
Merge pull request #69386 from cblecker/go-1.11
...
Update to go1.11.1
2018-10-05 17:35:51 -07:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
Walter Fender
f3f46d5f5a
Moving the cloudprovider interface to staging.
...
Individual implementations are not yet being moved.
Fixed all dependencies which call the interface.
Fixed golint exceptions to reflect the move.
Added project info as per @dims and
https://github.com/kubernetes/kubernetes-template-project .
Added dims to the security contacts.
Fixed minor issues.
Added missing template files.
Copied ControllerClientBuilder interface to cp.
This allows us to break the only dependency on K8s/K8s.
Added TODO to ControllerClientBuilder.
Fixed GoDeps.
Factored in feedback from JustinSB.
2018-10-04 14:41:20 -07:00
Yecheng Fu
1e27a28dca
Ignore non-avaiable volumes in findMatchingVolume: update tests
...
- Use VolumeAvaiable instead of empty or pending phase in tests
- Add a test case to verify findMatchingVolume will not choose
non-avaiable PVs if it's not pre-bind
- Add a test case to verify syncClaim will not choose non-avaibalbe PVs
if it's not pre-bind
2018-09-19 13:13:31 +08:00