Zach Loafman
7df8d76a93
Merge pull request #10169 from saad-ali/fixPDIssue2
...
Work around for PDs stop mounting after a few hours issue
2015-06-30 15:47:21 -07:00
saadali
c952ee23a7
Work around for PDs stop mounting after a few hours issue
2015-06-30 13:31:03 -07:00
Sami Wagiaalla
a317b5ffc8
iscsi plugin: print error messages not just exit status.
...
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-29 11:28:56 -04:00
markturansky
39c5152e2c
fixed pv recycler timeout precision
2015-06-20 00:34:29 -04:00
Satnam Singh
b48aa0b693
Merge pull request #9957 from rootfs/fix-9952
...
check IsNotExist error when validating mountpoint
2015-06-18 15:18:06 -07:00
markturansky
88a4ff02f5
Fixed typo in error string
2015-06-17 17:51:42 -04:00
markturansky
0a6b7b61ec
Changed PVClaimVolumeSource name to match other volume names
2015-06-17 16:17:49 -04:00
Huamin Chen
0280dac6b1
check IsNotExist error when validating mountpoint
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-06-17 15:25:15 -04:00
markturansky
cfc08c4fdf
Changed busybox img to official gcr.io image
2015-06-16 16:15:19 -04:00
markturansky
4210a5dfd8
Scrub pod closes watch channel
2015-06-11 14:25:44 -04:00
markturansky
986cbb56d4
Recycling HostPath and NFS impls
2015-06-04 15:46:03 -04:00
markturansky
cb547f4b5c
RecyclableVolumePlugin interfaces
2015-06-04 15:40:52 -04:00
markturansky
b1464437de
fixed test
2015-06-02 09:19:28 -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
Justin Santa Barbara
9839253233
Add logging to volume tear-down to help understand mount behaviour
2015-05-29 20:11:13 -04: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
Tim Hockin
d0249aac75
Merge pull request #8133 from markturansky/iscsi_pv2
...
added ISCSI volume plugin to PersistentVolumeSource
2015-05-27 08:36:37 -07: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
Saad Ali
c8d2026fa4
Merge pull request #8737 from pmorie/volume-doc
...
Add doc.go files for all volume plugins
2015-05-26 14:53:35 -07:00
Paul Morie
feb0880b1e
Add tests for secret volume plugin reboot/idempotency
2015-05-25 13:34:07 -04: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
markturansky
63ddfa537e
fixed missing PV check in CanSupport
2015-05-22 15:23:34 -04:00
markturansky
5b23fc39b2
added ISCSI volume plugin to PersistentVolumeSource
2015-05-22 15:18:20 -04:00
markturansky
4f88d418c8
Added missing PV support to NFS
2015-05-22 15:10:40 -04:00
Huamin Chen
4a800fd10e
add rados block device(rbd) volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-05-21 14:51:31 -04:00
Tim Hockin
fd22f48f5b
rename StorageType StorageMedium
2015-05-18 17:21:30 -07:00
Tim Hockin
f66ca25d9f
Rename AccessMode to PersistentVolumeAccessMode
2015-05-18 17:21:30 -07:00
Tim Hockin
2c28c6d99f
Merge pull request #8191 from pmorie/secrets-reboot
...
Make secret volumes function correctly across reboot
2015-05-14 09:31:02 -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
bea1c05057
Make secret volumes function correctly across reboot
2015-05-14 01:51:14 -04:00
markturansky
0191574f7e
Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName
2015-05-13 14:05:21 -04: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
Abhi Shah
87e85e25f1
Revert "Added ISCSI to PV structs"
2015-05-08 11:31:35 -07:00
markturansky
4c9eac6c3d
Added ISCSI to PV structs
2015-05-07 18:13:03 -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
Clayton Coleman
1a8845af61
Merge pull request #7490 from smarterclayton/alter_list
...
Do not automatically decode runtime.RawExtension
2015-05-01 16:48:26 -04:00
Clayton Coleman
12ba4e2452
Do not automatically decode runtime.RawExtension
...
Make clients opt in to decoding objects that are stored
in the generic api.List object by invoking runtime.DecodeList()
with a set of schemes. Makes it easier to handle unknown
schema objects because decoding is in the control of the code.
Add runtime.Unstructured, which is a simple in memory
representation of an external object.
2015-04-29 12:53:07 -04:00
Deyuan Deng
6897095e56
Change mount.Interface.Mount to exec('mount'), instead of syscall
2015-04-29 10:46:32 -04:00
Chris Moos
36e3ec9c1f
Fix crash in kubelet when persistent volume claim is not bound.
...
While testing #6105 ran into this issue, kubelet crashed because
controller had not yet bound the claim to a volume.
2015-04-25 12:38:18 -07:00
Paul Morie
bc8f010a10
Make secret volume plugin idempotent
2015-04-23 11:23:23 -04:00
Vish Kannan
a054201556
Merge pull request #7110 from swagiaal/improve-iscsi-test
...
iscsi Test: Add explicit check for attach and detach calls.
2015-04-22 11:21:42 -07:00
Sami Wagiaalla
0a7f6c2999
iscsi Test: Add explicit check for attach and detach calls.
...
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-04-21 10:30:47 -04:00
Jan Safranek
0293c6b7f0
Use pod namespace when looking for its GlusterFS endpoints.
...
I have a pod, which exports a Gluster filesystem in non-default namespace.
When I try to use this FS as a GlusterfsVolumeSource in a 'client' pod
definition, Kubernetes looks for the appropriate endpoint in 'default'
namespace instead of the namespace where the client pod is being defined.
2015-04-21 12:33:59 +02:00
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