markturansky
d904e747e3
PVClaim volume plugin
2015-04-14 16:21:29 -04:00
markturansky
e1481fb9c2
Refactored Volume plugins to use InternalVolume instead of API types
2015-04-14 14:25:01 -04:00
Tim Hockin
f318da8344
Merge pull request #6379 from pmorie/rootcontext
...
Skeletal security context to facilitate tmpfs mount
2015-04-13 12:01:11 -07:00
Vish Kannan
810ad7116d
Merge pull request #6763 from swagiaal/improve-gce-pd-test
...
GCE PD Test: Add explicit check for attach and detach calls
2015-04-13 10:55:10 -07:00
Paul Morie
c98e89fca0
Set rootcontext of emptyDir tmpfs mounts correctly
2015-04-13 12:50:36 -04:00
Sami Wagiaalla
309fd272b6
GCE PD Test: Add explicit check for attach and detach calls
...
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-04-13 11:36:28 -04:00
Marko Luksa
9bfa29896b
Added missing argument
2015-04-13 15:46:27 +02:00
Justin Santa Barbara
7626914344
Rename aws_pd.go -> aws_ebs.go, aws_pd_test.go -> aws_ebs_test.go
2015-04-10 13:25:44 -07:00
Justin Santa Barbara
503e19e58c
Rename aws_pd -> aws_ebs
2015-04-10 13:25:44 -07:00
Justin Santa Barbara
933cf60af7
Style: volumeId -> volumeID
2015-04-10 13:25:44 -07:00
Justin Santa Barbara
a20484b5ed
Apply latest changes from copy-and-pasted gce_pd
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
9711e771c5
Rename AWSPersistentDisk -> AWSElasticBlockStore, aws-pd -> aws-ebs
...
Per comments from @markturansky - thanks!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
95b68ae0b0
Rename pdName -> volumeId for AWS persistent volumes
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
3689bf0298
Fix pd name parse
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
cdc569a6c8
Parse the pdName from the volume mount
...
Don't assume there are no slashes!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
f0cedd7375
More logging around error causes
...
Come back exceptions, all is forgiven!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
3549b30c8e
Add missing import
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
6c823dbdab
Small clean-ups
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
8fde691aa7
Fix tests
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
edf0292d4a
Add initial support for Volumes to AWS
2015-04-10 13:25:42 -07:00
Clayton Coleman
51db3bd654
Create a new testclient package that can be backed by disk files
...
Standardize how our fakes are used so that a test case can use a
simpler mechanism for providing large, complex data sets, as well
as represent queries over time.
2015-04-07 14:56:15 -04:00
Huamin Chen
a278ceeb0a
implement glusterfs volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-07 09:14:39 -04:00
Huamin Chen
7a82af31de
add iscsi volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-06 16:20:28 -04:00
markturansky
c4a53a23bd
Added validation to prevent mutating Claim.Spec after binding
2015-04-06 08:46:44 -04:00
markturansky
95bd170ca2
PV & PVC Client implementation
2015-04-06 08:46:43 -04:00
Deyuan Deng
d62afa85ff
Abstract ismountpoint and use platform mounter for NFS volume
2015-04-01 23:05:02 -04:00
Kris Rousey
6904c4d585
Fixing a lot of string formatting issues with regards to:
...
* Improper format specifier (e.g. %s for bools or %s for ints)
* More or less parameters than format specifiers
* Not calling a formatting function when it should have (e.g. Error() instead of Errorf())
2015-03-31 16:47:10 -07:00
Paul Morie
852362ee39
Add positive logging for secret volume plugin
2015-03-25 17:25:13 -04:00
Tim Hockin
e1a66ad015
Merge pull request #5398 from markturansky/volume_access_modes
...
Add GetAccessModes to volume plugin interface
2015-03-24 15:16:01 -07:00
markturansky
519cbc498b
Added conversion and check to prevent panic
2015-03-24 17:33:31 -04:00
Tim Hockin
064b7dec42
Merge pull request #5807 from pmorie/secret_volume_ref
...
Change secret volume plugin reference to name
2015-03-24 14:18:35 -07:00
markturansky
5fa07f57b6
Removed PersistentVolumeSource and FindPersistentPluginBySpec func
2015-03-24 16:26:33 -04:00
markturansky
111f3d5120
Add GetAccessModes to volume plugin interface
2015-03-24 16:02:39 -04:00
Paul Morie
e40ba109a1
Change SecretVolumeSource to use a secret name instead of ObjRef
2015-03-24 13:58:41 -04:00
markturansky
2fd82f60f4
Move escape function to util and clarify name
2015-03-24 13:52:31 -04:00
Tim Hockin
bfadae77e0
Promote volume plugins, prep for persistent vols
...
Move pkg/kubelet/volume/... to pkg/volume/...
Some renames to make the soon-to-come persistent volumes work clearer.
2015-03-20 13:49:40 -07:00
Tim Hockin
6cb275829f
Implement volumes as plugins.
...
Break up the monolithic volumes code in kubelet into very small individual
modules with a well-defined interface. Move them all into their own packages
and beef up testing along the way.
2015-01-20 11:45:45 -08:00
Andrew Seidl
6dee1d7fa4
Fix typos in user-facing strings
2015-01-18 01:32:34 -06:00
Brendan Burns
3da84e1844
Fix GCE-PD so that it works even if the PD is already attached.
2014-12-11 16:41:01 -08:00
Mike Danese
553239d6ee
explicitly declare gce_cloud package name
2014-12-09 18:48:39 -08:00
Brendan Burns
e1764e2e01
Add an e2e test for gce pd.
...
Add an example for gce pd.
Add an extra log message.
2014-11-25 09:02:00 -08:00
Tim Hockin
ea960711ff
Clean up error logs.
...
Use %v for errors, tidy some messages, make error messages start lowe-case
(as per go guidelines). Just accumulated nits.
2014-11-21 09:45:26 +08:00
Brendan Burns
b59e49fa13
Add support for git volumes.
2014-10-27 16:35:52 -07:00
Danny Jones
4ec25f3b81
Adds support for attaching GCEPersitentDisks
...
Adds GCEPersistentDisk volume struct
Adds gce-utils to attach disk to kubelet's VM.
Updates config to give compute-rw to every minion.
Adds GCEPersistentDisk to API
Adds ability to mount attached disks
Generalizes PD and adds tests.
PD now uses an pluggable API interface.
Unit Tests more cleanly separates TearDown and SetUp
Modify boilerplate hook to omit build tags
Adds Mounter interface; mount is now built by OS
TearDown() for PD now detaches disk on final refcount
Un-generalized PD; GCE calls moved to cloudprovider
Address comments.
2014-10-08 20:03:59 -07:00
Eric Tune
9c0769422d
Directory renamed to Dir to match json property
2014-10-01 13:35:21 -07:00
Vojtech Vitek (V-Teq)
59f58cd043
Unify Godoc formatting, fix various typos
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-09-02 13:41:03 +02:00
derekwaynecarr
39293eaf56
Enforce isDir, elliminates message in kubelet.log
2014-08-18 13:17:41 -04:00
Danny Jones
7c28e0849f
Reorganization; Directory traversal less ugly
...
Directory traversal is no longer recursive and only goes as deep as it
needs to. Moved GetActiveVolumes to volume packages and added a simple
test.
2014-08-06 11:20:34 -07:00
Danny Jones
3f7f6cb2dc
Modifies tests to use new volume objects.
2014-08-06 10:21:59 -07:00
Danny Jones
6191ffc0de
Modifies directory walker to use a regex
...
Now a regex is used to determine active volume properties from
their directory paths.
2014-08-06 10:21:59 -07:00