Vishnu Kannan
baa8ac4d6b
Add metrics support for a few network based volumes.
...
Signed-off-by: Vishnu Kannan <vishnuk@google.com >
2016-05-23 09:33:12 -07:00
Jan Safranek
75b0e2ad63
provisioning: Refactor volume plugins.
...
NewPersistentVolumeTemplate() and Provision() are merged into one call.
2016-05-18 10:06:51 +02:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
saadali
e7b14e721a
Ensure volume GetCloudProvider code uses cloud config
2016-04-04 10:59:13 -07:00
k8s-merge-robot
2205a30348
Merge pull request #23368 from saad-ali/renameBuilderCleaner
...
Auto commit by PR queue bot
2016-03-26 13:01:25 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
saadali
79012f6d53
Rename volume.Builder to Mounter and volume.Cleaner to Unmounter
2016-03-25 11:29:58 -07:00
Tim Hockin
23fe2a3584
add maintainers for each volume driver
2016-03-22 22:19:53 -07:00
Jan Safranek
f270cb1b9b
Allow 39 atached EBS devices.
...
AWS has soft support limit for 40 attached EBS devices. Assuming there is just
one root device, use the rest for persistent volumes.
The devices will have name /dev/xvdba - /dev/xvdcm, leaving /dev/sda - /dev/sdz
to the system.
Also, add better error handling and propagate error
"Too many EBS volumes attached to node XYZ" to a pod.
2016-03-15 17:28:59 +01:00
k8s-merge-robot
45064e19d1
Merge pull request #22793 from justinsb/fix_22792
...
Auto commit by PR queue bot
2016-03-11 20:37:25 -08:00
Justin Santa Barbara
16730aba96
AWS: Tag created EBS volumes with our cluster tag
...
Fix #22792
2016-03-10 08:13:50 -05:00
Justin Santa Barbara
c771bf43c4
Ubernetes Lite: apply auto-labels to dynamically provisioned volumes
...
Fix #22532
2016-03-09 15:17:45 -05:00
Tim St. Clair
246b389275
Move test-only volume files to test-only volume package
2016-02-29 14:44:28 -08:00
Fabio Yeon
658f7ef397
Merge pull request #21738 from jsafrane/devel/fix-admission
...
Hot-fix admission of volumes that are being provisioned.
2016-02-26 16:05:04 -08:00
Dogan Narinc and Yoseph Samuel
aa65fe8903
Fix EBS when hostname is not the node name
...
Similar to #11543 , the local hostname is not guaranteed to be the node
name, as the AWS cloud provider looks up node name using
`private-dns-name`. This value can be different such as when using a
private hosted zone.
The previous code uses GetHostName(), which fails in this case. Instead,
pass in an empty string so the aws cloud provider will use the cached
self instance to find the instance id.
Authors: @balooo, @dogan-sky, @jsravn
2016-02-25 16:45:44 +00:00
Jan Safranek
a304e3478d
Hot-fix admission of volumes that are being provisioned.
...
This is a first-aid bandage to let admission controller ignore persistent
volumes that are being provisioned right now and thus may not exist in
external cloud infrastructure yet.
2016-02-23 09:46:40 +01:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
Jan Safranek
1d0b1c227b
Add PV.Name into names of generated GCE/AWS/OSP volumes.
...
Volume names have now format <cluster-name>-dynamic-<pv-name>.
pv-name is guaranteed to be unique in Kubernetes cluster, adding
<cluster-name> ensures we don't conflict with any running cluster
in the cloud project (kube-controller-manager --cluster-name=XXX).
'kubernetes' is the default cluster name.
2016-02-12 09:46:59 +01:00
Justin Santa Barbara
12d407da19
AWS EBS: Remove copied-and-pasted udevadm code
...
This is in GCE to deal with a GCE specific issue; there's no reason to
believe we need the same logic on AWS.
2016-02-03 20:56:17 +00:00
Justin Santa Barbara
d10e3debc7
AWS EBS: HandleCrash moved to util/runtime
2016-02-03 20:43:14 +00:00
Justin Santa Barbara
089951e7b4
Fix typo in comment: succefully -> successfully
2016-02-03 20:43:14 +00:00
Justin Santa Barbara
6c87a4be7c
AWS: Handle deleting volume that no longer exists
...
The tests in particular double-delete volumes, so we need to handle this
graciously.
2016-02-03 20:43:14 +00:00
Justin Santa Barbara
1ae1db6027
AWS: Update copy-paste of GCE PD code to latest version
...
We are (sadly) using a copy-and-paste of the GCE PD code for AWS EBS.
This code hasn't been updated in a while, and it seems that the GCE code
has some code to make volume mounting more robust that we should copy.
2016-02-03 20:43:14 +00:00
Chao Xu
c72d234bbf
replacing handwritten client in several controllers
2016-01-31 15:42:02 -08:00
Fabio Yeon
7205a160ac
Remove all instances of "/tmp" from unit tests and replace with a common
...
tmp directory creator. Exception is documented.
2016-01-27 16:11:22 -08:00
k8s-merge-robot
3f5e417999
Merge pull request #19502 from swagiaal/internalize-ownership
...
Auto commit by PR queue bot
2016-01-26 23:06:39 -08:00
Clayton Coleman
33085c0cf2
Update tests to handle codec changes
2016-01-22 13:27:26 -05:00
harry
7405c7899b
Add strings pkg to hold strings utils
...
Replace funtions with strings pkg
Fix all references and rename the pkg
2016-01-15 12:37:50 +08:00
Sami Wagiaalla
7767698459
Remove SupportsOwnershipManagement volume attribute
2016-01-13 10:37:10 -05:00
Sami Wagiaalla
4ac151321a
Call SetVolumeOwnership from volume plugins
2016-01-13 10:37:10 -05:00
Sami Wagiaalla
f650648aae
Add fsGroup to SetUp and SetUpAt
2016-01-13 10:37:10 -05:00
Chakravarthy Nelluri
fa76de79e5
Add support for flex volume. Flex volume adds support for thirdparty(vendor)
...
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
Jan Safranek
6ff5286df9
Implement Creater and Deleter interfaces for AWS EBS.
...
Also mark the created EBS volumes with tags, so the admin knows
who/what created the volumes.
2015-12-15 10:22:49 +01:00
Phillip Wittrock
c67ce887f2
Volume Metrics Interface and base implementation.
...
- Add volume.MetricsProvider function to Volume interface.
- Add volume.MetricsDu for providing metrics via executing "du".
- Add volulme.MetricsNil for unsupported Volumes.
2015-12-09 16:06:24 -08:00
Sami Wagiaalla
66c905d63e
Distinguish normal mount from format and mount in SafeFormatAndMount
2015-12-02 11:16:00 -05:00
Paul Morie
911757486d
Refactor volume.Builder.IsReadOnly() to volume.Builder.GetAttributes()
2015-11-13 23:34:48 -05:00
Sami Wagiaalla
1d352a16b8
Support volume relabling for pods which specify an SELinux label
2015-10-28 09:26:58 -04:00
Paul Morie
3cd12f5e05
FSGroup implementation
2015-10-22 16:40:59 -04:00
Steve Milner
8da2d4002f
Fixes remaining imports per #15319
2015-10-20 07:13:13 -04:00
k8s-merge-robot
c4779fbc4f
Merge pull request #15475 from jijun2/fix-cni_test
...
Auto commit by PR queue bot
2015-10-20 01:30:24 -07:00
jijun2
bf6e8cbff7
test: using ioutil.TempDir in unit tests per #15176
...
update
update mode
delete /tmp
update
use ioutil.TempDir instead of static tmp dir
use ioutil.TempDir instead of static tmp dir
2015-10-16 09:21:46 +08:00
eulerzgy
8b174f7f33
adjust package name for pkg/cloudprovider
2015-10-10 16:44:54 +08:00
Filip Grzadkowski
7fe34f2050
Introduce nsenter writer for volume plugins
2015-09-17 16:40:29 +02:00
Kel Cecil
6687075300
Correct AWS EBS comment
2015-09-16 14:04:36 -04:00
k8s-merge-robot
dc1561fbca
Merge pull request #13784 from BugRoger/aws_ebs_picks_up_kubelet_cloud_provider
...
Auto commit by PR queue bot
2015-09-14 22:25:16 -07:00
Chao Xu
64bf839e9f
refactor tests to use testapi rather than latest directly
2015-09-11 17:32:23 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
Michael Schmidt
fcda3556cd
pass cloudProvider from Kubelet to volume plugins
2015-09-10 10:28:48 +02:00
markturansky
0e7f73ad67
expand volume.Spec to include full Volume and PV
2015-09-03 08:57:32 -04:00
deads2k
7e180c258d
update testclient for delegating reaction chain
2015-09-01 12:58:35 -04:00