markturansky
0e7f73ad67
expand volume.Spec to include full Volume and PV
2015-09-03 08:57:32 -04:00
k8s-merge-robot
e8cda9dc92
Merge pull request #13310 from markturansky/volume_config
...
Auto commit by PR queue bot
2015-09-02 14:05:30 -07:00
deads2k
7e180c258d
update testclient for delegating reaction chain
2015-09-01 12:58:35 -04:00
markturansky
68358fd308
Added VolumeConfig to volumes
2015-09-01 12:04:26 -04:00
Saad Ali
b05cab0bc5
Merge pull request #6945 from eparis/IsMountPoint
...
Rename IsMountPoint to IsLikelyNotMountPoint
2015-08-19 12:47:51 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Eric Paris
f125ad88ce
Rename IsMountPoint to IsLikelyNotMountPoint
...
IsLikelyNotMountPoint determines if a directory is not a mountpoint.
It is fast but not necessarily ALWAYS correct. If the path is in fact
a bind mount from one part of a mount to another it will not be detected.
mkdir /tmp/a /tmp/b; mount --bin /tmp/a /tmp/b; IsLikelyNotMountPoint("/tmp/b")
will return true. When in fact /tmp/b is a mount point. So this patch
renames the function and switches it from a positive to a negative (I
could think of a good positive name). This should make future users of
this function aware that it isn't quite perfect, but probably good
enough.
2015-08-14 18:45:43 -04:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Brendan Burns
63cf00d24f
Merge pull request #10424 from markturansky/readonly_fix
...
Auto commit by PR queue bot
2015-07-29 14:25:44 -07:00
markturansky
920cb34b1e
rebased and updated to latest
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
649374ddb4
fixed newRecycler func for HostPath & NFS
2015-07-29 14:13:05 -04:00
jiangyaoguo
612f68f820
reflector nfs volume to seperate builder and cleaner
2015-07-20 19:16:48 +08:00
markturansky
39c5152e2c
fixed pv recycler timeout precision
2015-06-20 00:34:29 -04:00
markturansky
cfc08c4fdf
Changed busybox img to official gcr.io image
2015-06-16 16:15:19 -04:00
markturansky
986cbb56d4
Recycling HostPath and NFS impls
2015-06-04 15:46:03 -04:00
Jan Safranek
d2b4ae4df4
Fix persistent volumes.
...
Check Spec.PersistentVolumeSource in NFS, RBD, Gluster and iSCSI volume
plugins.
2015-06-02 09:19:28 -04:00
Saad Ali
8e25670c07
Merge pull request #8688 from markturansky/nfs_missing_pv
...
Fixed NFS CanSupport func for PVs
2015-05-26 18:48:31 -07:00
Paul Morie
38c96725c0
Add doc.go files for all volume plugins
2015-05-23 16:59:12 -04:00
markturansky
4f88d418c8
Added missing PV support to NFS
2015-05-22 15:10:40 -04:00
Tim Hockin
f66ca25d9f
Rename AccessMode to PersistentVolumeAccessMode
2015-05-18 17:21:30 -07:00
Paul Morie
e2dd95a8b3
Make nfs volume plugin use injected mounter
2015-05-11 13:36:36 -04:00
Paul Morie
cd359ffa73
Refactor volume interfaces to receive pod instead of ObjectReference
2015-05-10 20:12:57 -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
Paul Morie
c98e89fca0
Set rootcontext of emptyDir tmpfs mounts correctly
2015-04-13 12:50:36 -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