• Kubernetes Submit Queue's avatar
    Merge pull request #41113 from vmware/AddDatastoreParamForDynamicProvisioning · 3adc12c5
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Fix for Support selection of datastore for dynamic provisioning in vS…
    
    Fixes #40558
    
    Current vSphere Cloud provider doesn't allow a user to select a datastore for dynamic provisioning. All the volumes are created in default datastore provided by the user in the global vsphere configuration file.
    
    With this fix, the user will be able to provide the datastore in the storage class definition. This will allow the volumes to be created in the datastore specified by the user in the storage class definition. This field is optional. If no datastore is specified, the volume will be created in the default datastore specified in the global config file.
    
    For example:
    
    User creates a storage class with the datastore
    
    kind: StorageClass
    apiVersion: storage.k8s.io/v1beta1
    metadata:
    name: slow
    provisioner: kubernetes.io/vsphere-volume
    parameters:
    diskformat: thin
    datastore: VMFSDatastore
    Now the volume will be created in the datastore - "VMFSDatastore" specified by the user.
    
    If the user creates a storage class without any datastore
    
    kind: StorageClass
    apiVersion: storage.k8s.io/v1beta1
    metadata:
    name: slow
    provisioner: kubernetes.io/vsphere-volume
    parameters:
    diskformat: thin
    Now the volume will be created in the datastore which in the global configuration file (vsphere.conf)
    
    @pdhamdhere @kerneltime
    3adc12c5
Name
Last commit
Last update
..
Azure Loading commit data...
MakeNowJust/heredoc Loading commit data...
Microsoft/go-winio Loading commit data...
PuerkitoBio Loading commit data...
Sirupsen/logrus Loading commit data...
abbot/go-http-auth Loading commit data...
appc/spec Loading commit data...
armon/circbuf Loading commit data...
asaskevich/govalidator Loading commit data...
aws/aws-sdk-go Loading commit data...
beorn7/perks Loading commit data...
blang/semver Loading commit data...
boltdb/bolt Loading commit data...
chai2010/gettext-go Loading commit data...
cloudflare/cfssl Loading commit data...
clusterhq/flocker-go Loading commit data...
codegangsta/negroni Loading commit data...
containernetworking/cni Loading commit data...
coreos Loading commit data...
cpuguy83/go-md2man Loading commit data...
davecgh/go-spew Loading commit data...
daviddengcn/go-colortext Loading commit data...
dgrijalva/jwt-go Loading commit data...
docker Loading commit data...
elazarl Loading commit data...
emicklei/go-restful Loading commit data...
evanphx/json-patch Loading commit data...
exponent-io/jsonpath Loading commit data...
fsnotify/fsnotify Loading commit data...
garyburd/redigo Loading commit data...
ghodss/yaml Loading commit data...
go-ini/ini Loading commit data...
go-openapi Loading commit data...
godbus/dbus Loading commit data...
gogo/protobuf Loading commit data...
golang Loading commit data...
google Loading commit data...
gophercloud/gophercloud Loading commit data...
gorilla Loading commit data...
grpc-ecosystem/grpc-gateway Loading commit data...
hashicorp Loading commit data...
hawkular/hawkular-client-go Loading commit data...
heketi/heketi Loading commit data...
howeyc/gopass Loading commit data...
imdario/mergo Loading commit data...
inconshreveable/mousetrap Loading commit data...
influxdata/influxdb Loading commit data...
jmespath/go-jmespath Loading commit data...
jonboulle/clockwork Loading commit data...
jteeuwen/go-bindata Loading commit data...
juju/ratelimit Loading commit data...
kardianos/osext Loading commit data...
kr Loading commit data...
lpabon/godbc Loading commit data...
magiconair/properties Loading commit data...
mailru/easyjson Loading commit data...
matttproud/golang_protobuf_extensions Loading commit data...
mesos/mesos-go Loading commit data...
miekg Loading commit data...
mistifyio/go-zfs Loading commit data...
mitchellh Loading commit data...
mreiferson/go-httpclient Loading commit data...
mvdan/xurls Loading commit data...
mxk/go-flowrate Loading commit data...
onsi Loading commit data...
opencontainers/runc Loading commit data...
pborman/uuid Loading commit data...
pelletier Loading commit data...
pkg Loading commit data...
pmezard/go-difflib Loading commit data...
prometheus Loading commit data...
quobyte/api Loading commit data...
rackspace/gophercloud Loading commit data...
renstrom/dedent Loading commit data...
robfig/cron Loading commit data...
rubiojr/go-vhd Loading commit data...
russross/blackfriday Loading commit data...
samuel/go-zookeeper Loading commit data...
seccomp/libseccomp-golang Loading commit data...
shurcooL/sanitized_anchor_name Loading commit data...
spf13 Loading commit data...
square/go-jose Loading commit data...
stretchr Loading commit data...
syndtr/gocapability Loading commit data...
ugorji/go Loading commit data...
vishvananda/netlink Loading commit data...
vmware Loading commit data...
xanzy/go-cloudstack Loading commit data...
xiang90/probing Loading commit data...
xyproto/simpleredis Loading commit data...