• Kubernetes Submit Queue's avatar
    Merge pull request #30091 from rootfs/azure-storage · 3d33b45e
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    support Azure disk dynamic provisioning
    
    azure disk dynamic provisioning
    
    A screen shot 
    
    ``` console
    $ kubectl create -f examples/experimental/persistent-volume-provisioning/azure-dd.yaml
    storageclass "slow" created
    $ kubectl create -f examples/experimental/persistent-volume-provisioning/claim1.json
    persistentvolumeclaim "claim1" created
    $ kubectl describe pvc
    Name:       claim1
    Namespace:  default
    Status:     Bound
    Volume:     pvc-de7150d1-6a37-11e6-aec9-000d3a12e034
    Labels:     <none>
    Capacity:   3Gi
    Access Modes:   RWO
    $ kubectl create -f pod.yaml
    replicationcontroller "nfs-server" created
    $ kubectl describe pod
    Name:       nfs-server-b9w6x
    Namespace:  default
    Node:       rootfs-dev/172.24.0.4
    Start Time: Wed, 24 Aug 2016 19:46:21 +0000
    Labels:     role=nfs-server
    Status:     Running
    IP:     172.17.0.2
    Controllers:    ReplicationController/nfs-server
    Containers:
      nfs-server:
        Container ID:   docker://be6f8c0e26dc896d4c53ef0d21c9414982f0b39a10facd6b93a255f9e1c3806c
        Image:      nginx
        Image ID:       docker://bfdd4ced794ed276a28cf56b233ea58dec544e9ca329d796cf30b8bcf6d39b3f
        Port:       
        State:      Running
          Started:      Wed, 24 Aug 2016 19:49:19 +0000
        Ready:      True
        Restart Count:  0
        Volume Mounts:
          /exports from mypvc (rw)
          /var/run/secrets/kubernetes.io/serviceaccount from default-token-9o0fj (ro)
        Environment Variables:  <none>
    Conditions:
      Type      Status
      Initialized   True 
      Ready     True 
      PodScheduled  True 
    Volumes:
      mypvc:
        Type:   PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
        ClaimName:  claim1
        ReadOnly:   false
      default-token-9o0fj:
        Type:   Secret (a volume populated by a Secret)
        SecretName: default-token-9o0fj
    QoS Class:  BestEffort
    Tolerations:    <none>
    Events:
      FirstSeen LastSeen    Count   From            SubobjectPath           Type        Reason      Message
      --------- --------    -----   ----            -------------           --------    ------      -------
      11m       11m     1   {default-scheduler }                    Normal      Scheduled   Successfully assigned nfs-server-b9w6x to rootfs-dev
      9m        9m      1   {kubelet rootfs-dev}                    Warning     FailedMount Unable to mount volumes for pod "nfs-server-b9w6x_default(6eb7fd98-6a33-11e6-aec9-000d3a12e034)": timeout expired waiting for volumes to attach/mount for pod "nfs-server-b9w6x"/"default". list of unattached/unmounted volumes=[mypvc]
      9m        9m      1   {kubelet rootfs-dev}                    Warning     FailedSync  Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "nfs-server-b9w6x"/"default". list of unattached/unmounted volumes=[mypvc]
      8m        8m      1   {kubelet rootfs-dev}    spec.containers{nfs-server} Normal      Pulling     pulling image "nginx"
      8m        8m      1   {kubelet rootfs-dev}    spec.containers{nfs-server} Normal      Pulled      Successfully pulled image "nginx"
      8m        8m      1   {kubelet rootfs-dev}    spec.containers{nfs-server} Normal      Created     Created container with docker id be6f8c0e26dc
      8m        8m      1   {kubelet rootfs-dev}    spec.containers{nfs-server} Normal      Started     Started container with docker id be6f8c0e26dc
    
    ```
    
    @colemickens @brendandburns
    3d33b45e
Name
Last commit
Last update
..
aws_ebs Loading commit data...
azure_dd Loading commit data...
azure_file Loading commit data...
cephfs Loading commit data...
cinder Loading commit data...
configmap Loading commit data...
downwardapi Loading commit data...
empty_dir Loading commit data...
fc Loading commit data...
flexvolume Loading commit data...
flocker Loading commit data...
gce_pd Loading commit data...
git_repo Loading commit data...
glusterfs Loading commit data...
host_path Loading commit data...
iscsi Loading commit data...
nfs Loading commit data...
quobyte Loading commit data...
rbd Loading commit data...
secret Loading commit data...
testing Loading commit data...
util Loading commit data...
vsphere_volume Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
metrics_cached.go Loading commit data...
metrics_du.go Loading commit data...
metrics_du_test.go Loading commit data...
metrics_errors.go Loading commit data...
metrics_nil.go Loading commit data...
metrics_nil_test.go Loading commit data...
metrics_statfs.go Loading commit data...
plugins.go Loading commit data...
plugins_test.go Loading commit data...
util.go Loading commit data...
util_test.go Loading commit data...
volume.go Loading commit data...
volume_linux.go Loading commit data...
volume_unsupported.go Loading commit data...