wackxu
f737ad62ed
update import
2018-02-27 20:23:35 +08:00
Jan Safranek
c96c0495f4
Pass pod informer to PV controller
2018-02-05 15:40:25 +01:00
Jan Safranek
691fec5e34
Don't bind PVs and PVCs with different access modes.
...
PVC pre-bound to a PV can bind to the PV only if it has correct access mode.
Report an event if it does not and keep the PVC Pending.
2018-01-24 09:48:38 +01:00
Michelle Au
fa6b62fa63
Library for scheduler volume binding
2017-11-21 21:42:36 -08:00
Michelle Au
58823a75a4
In findMatchingVolumes:
...
- Delay binding until Pod is scheduled
- Check for PV node affinity and access modes
- Exclude volumes from being matching
2017-11-21 21:42:35 -08:00
Scott Creeley
86742a2c92
VolumeMode binding logic update
2017-11-20 15:18:19 -05:00
David Zhu
a60965337c
Fixed integer overflow when matching PVPVC claims. Added tests to guard this behavior.
2017-09-01 10:10:13 -07:00
Kubernetes Submit Queue
583c4a442a
Merge pull request #51228 from wongma7/mount-options-sc
...
Automatic merge from submit-queue
Add storageClass.mountOptions and use it in all applicable plugins
split off from https://github.com/kubernetes/kubernetes/pull/50919 and still dependent on it. cc @gnufied
issue: https://github.com/kubernetes/features/issues/168
```release-note
Add mount options field to StorageClass. The options listed there are automatically added to PVs provisioned using the class.
```
2017-08-29 23:48:32 -07:00
Dr. Stefan Schimanski
1d053c4f7c
controllers: simplify deepcopy calls
2017-08-29 19:21:24 +02:00
Matthew Wong
5e772b8e4b
Add storageClass.mountOptions and use it in all applicable plugins
2017-08-29 11:37:36 -04:00
Cheng Xing
396c3c7c6f
Adding dynamic Flexvolume plugin discovery capability, using filesystem watch.
2017-08-25 11:42:32 -07:00
Jacob Simpson
a765b8cfca
Migrate api.Scheme to scheme.Scheme
2017-07-17 15:05:38 -07:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
cde4772928
run ./root-rewrite-all-other-apis.sh, then run make all, pkg/... compiles
2017-06-22 11:30:52 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Kubernetes Submit Queue
521d7d1ac5
Merge pull request #42472 from timchenxiaoyu/requesttypo
...
Automatic merge from submit-queue
fix request typo
2017-05-15 15:57:57 -07:00
Jan Safranek
9d0c47f1db
Use storage.v1 instead of v1beta1
...
storage.v1beta1 was used to work around GKE which does not expose v1. Now that
GKE is updated, we can switch everything to v1.
2017-04-25 10:13:38 +02:00
Chao Xu
4f9591b1de
move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod
2017-04-17 11:38:11 -07:00
NickrenREN
e0ef5bfd40
Exit from NewController() for PersistentVolumeController when InitPlugins() failed just like NewAttachDetachController() does
2017-04-12 13:43:09 +08:00
NickrenREN
fa7bd44966
Remove alphaProvisioner in PVController and AlphaStorageClassAnnotation
2017-04-10 17:09:40 +08:00
Kubernetes Submit Queue
e9bbfb81c1
Merge pull request #41306 from gnufied/implement-interface-bulk-volume-poll
...
Automatic merge from submit-queue (batch tested with PRs 41306, 42187, 41666, 42275, 42266)
Implement bulk polling of volumes
This implements Bulk volume polling using ideas presented by
justin in https://github.com/kubernetes/kubernetes/pull/39564
But it changes the implementation to use an interface
and doesn't affect other implementations.
cc @justinsb
2017-03-03 10:54:38 -08:00
timchenxiaoyu
811a334be9
fix request typo
2017-03-03 17:22:38 +08:00
Hemant Kumar
786da1de12
Impement bulk polling of volumes
...
This implements Bulk volume polling using ideas presented by
justin in https://github.com/kubernetes/kubernetes/pull/39564
But it changes the implementation to use an interface
and doesn't affect other implementations.
2017-03-02 14:59:59 -05:00
Jan Safranek
52adaa16e0
PV controller: use attributes instead of beta annotations in unit tests
2017-03-02 10:23:56 +01:00
Jan Safranek
7ae4152712
Move PV/PVC annotations to PV/PVC types.
...
They aren't part of storage.k8s.io/v1 or v1beta1 API.
Also move associated *GetClass functions.
2017-03-02 10:23:55 +01:00
Hemant Kumar
2d3008fc56
Implement support for mount options in PVs
...
Add support for mount options via annotations on PVs
2017-03-01 11:50:40 -05:00
Jordan Liggitt
41c88e0455
Revert "Merge pull request #40088 from jsafrane/storage-ga-v1"
...
This reverts commit 5984607cb9
, reversing
changes made to 067f92e789
.
2017-02-25 22:35:15 -05:00
Jan Safranek
fa93f1c411
Update imports
2017-02-24 13:52:16 +01:00
Jan Safranek
3f6caca97a
Add storage.k8s.io/v1
2017-02-24 13:34:18 +01:00
Kubernetes Submit Queue
a67e78e4fa
Merge pull request #40317 from kpgriffith/recycle-vol-plug-cleanup
...
Automatic merge from submit-queue (batch tested with PRs 41364, 40317, 41326, 41783, 41782)
changes to cleanup the volume plugin for recycle
**What this PR does / why we need it**:
Code cleanup. Changing from creating a new interface from the plugin, that then calls a function to recycle a volume, to adding the function to the plugin itself.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #26230
**Special notes for your reviewer**:
Took same approach from closed PR #28432 .
Do you want the approach to be the same for NewDeleter(), NewMounter(), NewUnMounter() and should they be in this same PR or submit different PR's for those?
**Release note**:
```NONE
```
2017-02-21 07:45:40 -08:00
Matthew Wong
33f98d4db3
Switch pv controller to shared informers
2017-02-16 10:08:23 -05:00
Shyam JVS
2ed7acfbcc
Revert "Remove alpha provisioning"
2017-02-16 13:53:55 +01:00
Kevin Griffith
9448aa66ff
cleanup the volume plugin for recycle
...
update commit to reflect changes
2017-02-06 10:38:49 -06:00
Jan Safranek
587eb199e0
Remove alpha provisioning
2017-02-01 14:51:54 +01:00
deads2k
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
Dr. Stefan Schimanski
bc6fdd925d
pkg/api/resource: move to apimachinery
2017-01-29 21:41:44 +01:00
deads2k
9488e2ba30
move testing/core to client-go
2017-01-26 13:54:40 -05:00
deads2k
b0b156b381
make tools/cache authoritative
2017-01-25 08:29:45 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
NickrenREN
639572ac68
fix redundant alias and remove unused function
2017-01-09 17:13:09 +08:00
Hemant Kumar
7b423085fa
Fix variable shadowing in exponential backoff when deleting volumes
...
Also fix pv_controller unit tests to behave more accurately
in light of exponential backoffs
2016-12-20 21:31:12 -05:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Jordan Liggitt
6819706adf
Pass addressable values to DeepCopy
2016-12-08 14:16:01 -05:00
Alejandro Escobar
759530536f
type found with controller comment.
2016-12-07 10:55:02 -08:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Chao Xu
7eeb71f698
cmd/kube-controller-manager
2016-11-23 15:53:09 -08:00
Jan Safranek
18de83c641
Implement external provisioning proposal
...
In other words, add "provisioned-by" annotation to all PVCs
that should be provisioned dynamically.
2016-11-02 14:13:34 +01:00