{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/29006","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/29006/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/29006/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/29006/events","html_url":"https://github.com/kubernetes/kubernetes/pull/29006","id":165801901,"number":29006,"title":"Dynamic provisioning v2alpha","user":{"login":"jsafrane","id":1745006,"avatar_url":"https://avatars.githubusercontent.com/u/1745006?v=3","gravatar_id":"","url":"https://api.github.com/users/jsafrane","html_url":"https://github.com/jsafrane","followers_url":"https://api.github.com/users/jsafrane/followers","following_url":"https://api.github.com/users/jsafrane/following{/other_user}","gists_url":"https://api.github.com/users/jsafrane/gists{/gist_id}","starred_url":"https://api.github.com/users/jsafrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsafrane/subscriptions","organizations_url":"https://api.github.com/users/jsafrane/orgs","repos_url":"https://api.github.com/users/jsafrane/repos","events_url":"https://api.github.com/users/jsafrane/events{/privacy}","received_events_url":"https://api.github.com/users/jsafrane/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/storage","name":"area/storage","color":"006b75"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/do-not-merge","name":"do-not-merge","color":"e11d21"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/api-change","name":"kind/api-change","color":"c7def8"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/design","name":"kind/design","color":"c7def8"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/new-api","name":"kind/new-api","color":"c7def8"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P1","name":"priority/P1","color":"eb6420"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-action-required","name":"release-note-action-required","color":"c2e0c6"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XXL","name":"size/XXL","color":"ee0000"}],"state":"open","locked":false,"assignee":{"login":"matchstick","id":19715963,"avatar_url":"https://avatars.githubusercontent.com/u/19715963?v=3","gravatar_id":"","url":"https://api.github.com/users/matchstick","html_url":"https://github.com/matchstick","followers_url":"https://api.github.com/users/matchstick/followers","following_url":"https://api.github.com/users/matchstick/following{/other_user}","gists_url":"https://api.github.com/users/matchstick/gists{/gist_id}","starred_url":"https://api.github.com/users/matchstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matchstick/subscriptions","organizations_url":"https://api.github.com/users/matchstick/orgs","repos_url":"https://api.github.com/users/matchstick/repos","events_url":"https://api.github.com/users/matchstick/events{/privacy}","received_events_url":"https://api.github.com/users/matchstick/received_events","type":"User","site_admin":false},"assignees":[{"login":"matchstick","id":19715963,"avatar_url":"https://avatars.githubusercontent.com/u/19715963?v=3","gravatar_id":"","url":"https://api.github.com/users/matchstick","html_url":"https://github.com/matchstick","followers_url":"https://api.github.com/users/matchstick/followers","following_url":"https://api.github.com/users/matchstick/following{/other_user}","gists_url":"https://api.github.com/users/matchstick/gists{/gist_id}","starred_url":"https://api.github.com/users/matchstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matchstick/subscriptions","organizations_url":"https://api.github.com/users/matchstick/orgs","repos_url":"https://api.github.com/users/matchstick/repos","events_url":"https://api.github.com/users/matchstick/events{/privacy}","received_events_url":"https://api.github.com/users/matchstick/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/22","html_url":"https://github.com/kubernetes/kubernetes/milestones/v1.4","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/22/labels","id":1777384,"number":22,"title":"v1.4","description":"","creator":{"login":"bgrant0607","id":7725777,"avatar_url":"https://avatars.githubusercontent.com/u/7725777?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrant0607","html_url":"https://github.com/bgrant0607","followers_url":"https://api.github.com/users/bgrant0607/followers","following_url":"https://api.github.com/users/bgrant0607/following{/other_user}","gists_url":"https://api.github.com/users/bgrant0607/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrant0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrant0607/subscriptions","organizations_url":"https://api.github.com/users/bgrant0607/orgs","repos_url":"https://api.github.com/users/bgrant0607/repos","events_url":"https://api.github.com/users/bgrant0607/events{/privacy}","received_events_url":"https://api.github.com/users/bgrant0607/received_events","type":"User","site_admin":false},"open_issues":163,"closed_issues":81,"state":"open","created_at":"2016-05-19T18:50:19Z","updated_at":"2016-07-26T09:10:34Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2016-07-15T14:39:10Z","updated_at":"2016-07-26T16:08:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/29006","html_url":"https://github.com/kubernetes/kubernetes/pull/29006","diff_url":"https://github.com/kubernetes/kubernetes/pull/29006.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/29006.patch"},"body":"Implemented according to PR #26908. There are several patches in this PR with one huge code regen inside.\r\n\r\n* Please review the API changes (the first patch) carefully, sometimes I don't know what the code is doing...\r\n\r\n* `PV.Spec.Class` and `PVC.Spec.Class` is not implemented, use annotation `volume.alpha.kubernetes.io/storage-class`\r\n\r\n* See e2e test and integration test changes - Kubernetes won't provision a thing without explicit configuration of at least one `StorageClass` instance!\r\n\r\n* Multiple provisioning volume plugins can coexist together, e.g. HostPath and AWS EBS. This is important for Gluster and RBD provisioners in #25026\r\n\r\n* Contradicting the proposal, `claim.Selector` and `volume.alpha.kubernetes.io/storage-class` annotation are **not** mutually exclusive. They're both used for matching existing PVs. However, only `volume.alpha.kubernetes.io/storage-class` is used for provisioning, configuration of provisioning with `Selector` is left for (near) future.\r\n\r\n* Documentation is missing. Can please someone write some while I am out?\r\n\r\nFor now, AWS volume plugin accepts classes with these parameters:\r\n\r\n```\r\nkind: StorageClass\r\nmetadata:\r\n  name: slow\r\nprovisionerType: kubernetes.io/aws-ebs\r\nprovisionerParameters:\r\n  type: io1\r\n  zone: us-east-1d\r\n  iopsPerGB: 10\r\n```\r\n\r\n* parameters are case-insensitive\r\n* `type`: `io1`, `gp2`, `sc1`, `st1`. See AWS docs for details\r\n* `iopsPerGB`: only for `io1` volumes. I/O operations per second per GiB. AWS volume plugin multiplies this with size of requested volume to compute IOPS of the volume and caps it at 20 000 IOPS (maximum supported by AWS, see AWS docs).\r\n* of course, the plugin will use some defaults when a parameter is omitted in a `StorageClass` instance (`gp2` in the same zone as in 1.3).\r\n\r\nGCE:\r\n\r\n```\r\napiVersion: extensions/v1beta1\r\nkind: StorageClass\r\nmetadata:\r\n  name: slow\r\nprovisionerType: kubernetes.io/gce-pd\r\nprovisionerParameters:\r\n  type: pd-standard\r\n  zone: us-central1-a\r\n```\r\n\r\n* `type`: `pd-standard` or `pd-ssd`\r\n* `zone`: GCE zone\r\n* of course, the plugin will use some defaults when a parameter is omitted in a `StorageClass` instance (SSD in the same zone as in 1.3 ?).\r\n\r\n\r\nNo OpenStack/Cinder yet\r\n\r\n@kubernetes/sig-storage \r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/235318135","html_url":"https://github.com/kubernetes/kubernetes/pull/29006#issuecomment-235318135","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/29006","id":235318135,"user":{"login":"k8s-bot","id":12551979,"avatar_url":"https://avatars.githubusercontent.com/u/12551979?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-bot","html_url":"https://github.com/k8s-bot","followers_url":"https://api.github.com/users/k8s-bot/followers","following_url":"https://api.github.com/users/k8s-bot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-bot/subscriptions","organizations_url":"https://api.github.com/users/k8s-bot/orgs","repos_url":"https://api.github.com/users/k8s-bot/repos","events_url":"https://api.github.com/users/k8s-bot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-bot/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T16:08:09Z","updated_at":"2016-07-26T16:08:09Z","body":"GCE e2e build/test **passed** for commit 989fe7da9b2f9110741a4ac6050904fcd0cb12e4.\n* [Test Results](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/29006/kubernetes-pull-build-test-e2e-gce/50610)\n* [Build Log](http://pr-test.k8s.io/29006/kubernetes-pull-build-test-e2e-gce/50610/build-log.txt)\n* [Test Artifacts](https://console.developers.google.com/storage/browser/kubernetes-jenkins/pr-logs/pull/29006/kubernetes-pull-build-test-e2e-gce/50610/artifacts/)\n* [Internal Jenkins Results](http://goto.google.com/prkubekins/job/kubernetes-pull-build-test-e2e-gce//50610)\n\n"}}
{"actor":{"display_login":"k8s-bot"}}