Adds Persistent Disk volume type.

Implements a GCEPersistentDisk volume type.

Persistent Disks can now be specified in pod manifests and will be mounted and exposed to containers.



ACK.


On Tue, Sep 2, 2014 at 4:53 PM, Daniel Smith <notifications@github.com>
wrote:

> In pkg/volume/gce_util.go:
>
> > +	"os"
> > +	"path"
> > +	"path/filepath"
> > +	"regexp"
> > +	"strings"
> > +	"time"
> > +
> > +	"github.com/GoogleCloudPlatform/kubernetes/pkg/cloudprovider/gce"
> > +)
> > +
> > +type GCEDiskUtil struct{}
> > +
> > +// Attaches a disk specified by a volume.GCEPersistentDisk to the current kubelet.
> > +// Mounts the disk to it's global path.
> > +func (util *GCEDiskUtil) AttachDisk(GCEPD *GCEPersistentDisk) error {
> > +	gce, err := gce_cloud.NewGCECloud()
>
> That SGTM, not sure if you want to hold this PR up over it, though.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/861/files#r17024058>
> .
>