Bryan Stenson
9541414742
create cloudprovider "providers" package
...
move all providers into new package
update all references to old package path
2015-08-11 22:36:51 -07:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
markturansky
8639f24374
rebased and updated
2015-07-29 14:38:40 -04:00
markturansky
63ccfa2beb
Added unit tests for each PV using IsReadOnly
2015-07-29 14:38:40 -04:00
markturansky
fae6759490
IsReadOnly bool on builder
2015-07-29 14:35:37 -04:00
markturansky
124bb22f92
Honor ReadOnly flag from persistent-volume plugin
2015-07-29 14:34:15 -04:00
jiangyaoguo
27524d6b36
refector gec-pd to seperate builder and cleaner
2015-07-24 16:15:37 +08:00
saadali
234f3ed814
Make GCE PD attach block on pending detach. Retry on detach/attach errors.
2015-07-23 14:03:50 -07:00
Tim Hockin
6eda8f47df
Remove volumes legacy mode
2015-07-22 21:53:35 -07:00
saadali
c952ee23a7
Work around for PDs stop mounting after a few hours issue
2015-06-30 13:31:03 -07:00
Tim Hockin
0bbba1c3d1
Merge pull request #8732 from markturansky/missing_pv_support
...
Fixed CanSupport func across all volumes (for PV)
2015-05-27 08:45:47 -07:00
Paul Morie
38c96725c0
Add doc.go files for all volume plugins
2015-05-23 16:59:12 -04:00
markturansky
3ad583cf2d
Fixed spotty CanSupport for PV and added more unit tests for same
2015-05-23 09:59:05 -04:00
Tim Hockin
f66ca25d9f
Rename AccessMode to PersistentVolumeAccessMode
2015-05-18 17:21:30 -07:00
Victor Marmol
aa744f92da
Merge pull request #7847 from swagiaal/fix-gce-pd-on-atomic-host
...
Support default udev GCE PD device path
2015-05-14 09:10:06 -07:00
Paul Morie
cd359ffa73
Refactor volume interfaces to receive pod instead of ObjectReference
2015-05-10 20:12:57 -04:00
Sami Wagiaalla
a85451addc
Support default udev GCE PD device path
...
The expected GCE PD device name is google-{name of disk}. This is
because standard GCE images contain a udev rules file which renames
the GCE PD device to google-{name of disk} https://github.com/GoogleCloudPlatform/compute-image-packages/blob/master/google-startup-scripts/lib/udev/rules.d/65-gce-disk-naming.rules . In custome images which do not have that udev rules file
the device gets the default rules apply http://cgit.freedesktop.org/systemd/systemd/tree/rules/60-persistent-storage.rules
and the GCE PD device ends up with a name which looks like scsi-0Google_PersistentDisk_{name of disk}
This patch adds support for that scenario.
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-05-06 15:09:15 -04:00
Paul Morie
b538642464
Inject mounter into volume plugins
2015-05-04 11:28:57 -04:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Deyuan Deng
6897095e56
Change mount.Interface.Mount to exec('mount'), instead of syscall
2015-04-29 10:46:32 -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
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
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
markturansky
111f3d5120
Add GetAccessModes to volume plugin interface
2015-03-24 16:02:39 -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