mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-25 20:29:56 +00:00
Merge pull request #18601 from pmorie/devel/provisioner-aws
Dynamic provisioner for AWS EBS
This commit is contained in:
@@ -18,11 +18,12 @@ package e2e
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"google.golang.org/api/googleapi"
|
||||
mathrand "math/rand"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"google.golang.org/api/googleapi"
|
||||
|
||||
. "github.com/onsi/ginkgo"
|
||||
. "github.com/onsi/gomega"
|
||||
"k8s.io/kubernetes/pkg/api"
|
||||
@@ -326,7 +327,7 @@ func createPD() (string, error) {
|
||||
return "", fmt.Errorf("Provider does not support volumes")
|
||||
}
|
||||
volumeOptions := &awscloud.VolumeOptions{}
|
||||
volumeOptions.CapacityMB = 10 * 1024
|
||||
volumeOptions.CapacityGB = 10
|
||||
return volumes.CreateVolume(volumeOptions)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user