k3s/pkg/volume
Kubernetes Submit Queue 7ede2a012e
Merge pull request #56600 from edisonxiang/fixvolumesize
Automatic merge from submit-queue (batch tested with PRs 56600, 56814). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix volume size allocation in gcd_pd

**What this PR does / why we need it**:
GCE PDs are allocated in chunks of GBs not GiB but CreateVolume function incorrectly creates volume in chunks of GiB.  
1 GiB = 1024 * 1024 * 1024 Bytes
1 GB = 1000 * 1000 * 1000 Bytes

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #56081

**Special notes for your reviewer**:

**Release note**:

```release-note
Fixed dynamic provisioning of GCE PDs to round to the next GB instead of GiB
```
2017-12-19 14:08:38 -08:00
..
aws_ebs AWS: Support for mounting nvme volumes 2017-11-30 14:48:33 -05:00
azure_dd Add azure owners 2017-12-19 11:42:02 +08:00
azure_file Add azure owners 2017-12-19 11:42:02 +08:00
cephfs Merge pull request #55866 from zhangxiaoyu-zidif/make-k8s-support-ceph-fuse 2017-12-13 23:25:56 -08:00
cinder Merge pull request #55944 from edisonxiang/probeimprovecinder 2017-12-14 04:32:16 -08:00
configmap Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
csi fix accessmode mapping error 2017-12-18 17:51:38 +08:00
downwardapi Merge pull request #54843 from linyouchong/linyouchong-20171031 2017-11-23 01:13:16 -08:00
empty_dir Update generated files 2017-11-09 12:14:08 +01:00
fc Autogenerated code 2017-12-15 11:56:49 -05:00
flexvolume Merge pull request #56921 from andyzhangx/flexvolume-windows 2017-12-16 12:10:51 -08:00
flocker Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
gce_pd using RoundUpToGB function directly 2017-12-19 09:32:15 +08:00
git_repo Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
glusterfs Merge pull request #57091 from humblec/volume-mode 2017-12-16 21:00:46 -08:00
host_path Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
iscsi use core client with explicit version 2017-11-25 08:14:10 +08:00
local Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
nfs fix binary check for nfs.go 2017-11-24 10:55:03 +08:00
photon_pd Rename Detach() parameter. 2017-10-31 10:55:19 +01:00
portworx Update generated files 2017-11-09 12:14:08 +01:00
projected Expose single annotation/label via downward API 2017-11-21 19:21:10 -08:00
quobyte Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
rbd Merge pull request #56658 from wenjun93/master 2017-12-16 03:24:51 -08:00
scaleio Remove dependency on drv_cfg binary for querying scalio devices 2017-11-01 17:52:23 -04:00
secret Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
storageos fix incorrect log 2017-10-26 01:40:24 +08:00
testing VolumeHost.GetNodeName method added for CSI fix 2017-12-02 05:54:54 -05:00
util Merge pull request #57260 from davidz627/attachMountLogFix 2017-12-18 19:45:43 -08:00
validation Update generated files 2017-11-09 12:14:08 +01:00
vsphere_volume Updating vSphere Cloud Provider (VCP) to support k8s cluster spead across multiple ESXi clusters, datacenters or even vSphere vCenters 2017-11-17 14:49:32 -08:00
BUILD CSI - Generated source code 2017-11-17 19:17:51 -05:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
doc.go
metrics_cached.go
metrics_du.go
metrics_du_test.go
metrics_errors.go
metrics_nil.go
metrics_nil_test.go
metrics_statfs.go
metrics_statfs_test.go
plugins.go VolumeHost.GetNodeName method added for CSI fix 2017-12-02 05:54:54 -05:00
plugins_test.go
util.go Merge pull request #56921 from andyzhangx/flexvolume-windows 2017-12-16 12:10:51 -08:00
util_test.go Use k8s.gcr.io vanity domain for container images 2017-12-18 09:18:34 -08:00
volume.go BlockVolumesSupport: CRI, VolumeManager and OperationExecutor changes 2017-11-20 14:10:26 -05:00
volume_linux.go
volume_unsupported.go