Files
kubernetes/hack
Kubernetes Submit Queue 3e1d68624e Merge pull request #46323 from marun/fed-kubefed-beta-storage-class-annotation
Automatic merge from submit-queue (batch tested with PRs 46686, 45049, 46323, 45708, 46487)

[Federation][kubefed]: Use StorageClassName for etcd pvc

This PR updates kubefed to use the StorageClassName field [added in 1.6](http://blog.kubernetes.io/2017/03/dynamic-provisioning-and-storage-classes-kubernetes.html
) for etcd's pvc to allow the user to specify which storage class they want to use.  If no value is provided to ``kubefed init``, the field will not be set, and initialization of the pvc may fail on a cluster without a default storage class configured.

The alpha annotation that was previously used (``volume.alpha.kubernetes.io/storage-class``) was deprecated as of 1.4 according to the following blog post:

http://blog.kubernetes.io/2016/10/dynamic-provisioning-and-storage-in-kubernetes.html

**Release note**:

```
'kubefed init' has been updated to support specification of the storage class (via --etcd-pv-storage-class) for the Persistent Volume Claim (PVC) used for etcd storage.  If --etcd-pv-storage-class is not specified, the default storage class configured for the cluster will be used.
```

cc: @kubernetes/sig-federation-pr-reviews
2017-06-01 03:42:07 -07:00
..
2017-03-25 12:16:50 -07:00
2017-02-10 17:00:28 -08:00
2017-02-01 15:18:32 -05:00
2017-05-27 14:34:45 +08:00
2017-04-28 18:51:34 +00:00
2017-05-02 08:43:31 -04:00
2017-04-27 15:01:34 -07:00
2017-05-02 08:43:31 -04:00
2017-05-19 10:17:37 -06:00
2017-04-27 15:01:34 -07:00
2016-12-06 13:45:10 -05:00
2017-05-18 10:39:04 -07:00
2017-05-19 10:17:37 -06:00
2016-12-14 06:03:00 -08:00