{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36133","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36133/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36133/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36133/events","html_url":"https://github.com/kubernetes/kubernetes/pull/36133","id":186982125,"number":36133,"title":"Support persistent volume usage for kubernetes running on Photon Controller platform (updated v2)","user":{"login":"luomiao","id":8987721,"avatar_url":"https://avatars.githubusercontent.com/u/8987721?v=3","gravatar_id":"","url":"https://api.github.com/users/luomiao","html_url":"https://github.com/luomiao","followers_url":"https://api.github.com/users/luomiao/followers","following_url":"https://api.github.com/users/luomiao/following{/other_user}","gists_url":"https://api.github.com/users/luomiao/gists{/gist_id}","starred_url":"https://api.github.com/users/luomiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luomiao/subscriptions","organizations_url":"https://api.github.com/users/luomiao/orgs","repos_url":"https://api.github.com/users/luomiao/repos","events_url":"https://api.github.com/users/luomiao/events{/privacy}","received_events_url":"https://api.github.com/users/luomiao/received_events","type":"User","site_admin":false},"labels":[{"id":176978828,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf","default":false},{"id":261005360,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/api-change","name":"kind/api-change","color":"c7def8","default":false},{"id":349530192,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-label-needed","name":"release-note-label-needed","color":"db5a64","default":false},{"id":253451093,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XXL","name":"size/XXL","color":"ee0000","default":false}],"state":"open","locked":false,"assignee":{"login":"brendandburns","id":5751682,"avatar_url":"https://avatars.githubusercontent.com/u/5751682?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandburns","html_url":"https://github.com/brendandburns","followers_url":"https://api.github.com/users/brendandburns/followers","following_url":"https://api.github.com/users/brendandburns/following{/other_user}","gists_url":"https://api.github.com/users/brendandburns/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandburns/subscriptions","organizations_url":"https://api.github.com/users/brendandburns/orgs","repos_url":"https://api.github.com/users/brendandburns/repos","events_url":"https://api.github.com/users/brendandburns/events{/privacy}","received_events_url":"https://api.github.com/users/brendandburns/received_events","type":"User","site_admin":false},"assignees":[{"login":"brendandburns","id":5751682,"avatar_url":"https://avatars.githubusercontent.com/u/5751682?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandburns","html_url":"https://github.com/brendandburns","followers_url":"https://api.github.com/users/brendandburns/followers","following_url":"https://api.github.com/users/brendandburns/following{/other_user}","gists_url":"https://api.github.com/users/brendandburns/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandburns/subscriptions","organizations_url":"https://api.github.com/users/brendandburns/orgs","repos_url":"https://api.github.com/users/brendandburns/repos","events_url":"https://api.github.com/users/brendandburns/events{/privacy}","received_events_url":"https://api.github.com/users/brendandburns/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-11-03T05:35:36Z","updated_at":"2016-11-03T20:36:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/36133","html_url":"https://github.com/kubernetes/kubernetes/pull/36133","diff_url":"https://github.com/kubernetes/kubernetes/pull/36133.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/36133.patch"},"body":"**What this PR does / why we need it:**\r\nEnable the persistent volume usage for kubernetes running on Photon platform.\r\nPhoton Controller: https://vmware.github.io/photon-controller/\r\n\r\na. Photon Controller is supported as cloud provider.\r\nWhen choosing to use photon controller as a cloud provider, \"--cloud-provider=photon --cloud-config=[path_to_config_file]\" is required for kubelet/kube-controller-manager/kube-apiserver. The config file of Photon Controller should follow the following usage:\r\n\r\n```\r\n[Global]\r\ntarget = http://[photon_controller_endpoint_IP]\r\nignoreCertificate = true\r\ntenant = [tenant_name]\r\nproject = [project_name]\r\noverrideIP = true\r\n```\r\n\r\nb. Photon persistent disk is supported as volume source/persistent volume source.\r\nyaml usage:\r\n\r\n```\r\nvolumes:\r\n  - name: photon-storage-1\r\n    photonPersistentDisk:\r\n        pdID: \"643ed4e2-3fcc-482b-96d0-12ff6cab2a69\"\r\n```\r\npdID is the persistent disk ID from Photon Controller.\r\n\r\nc. Enable Photon Controller as volume provisioner.\r\nyaml usage:\r\n\r\n```\r\nkind: StorageClass\r\napiVersion: storage.k8s.io/v1beta1\r\nmetadata:\r\n  name: gold_sc\r\nprovisioner: kubernetes.io/photon-pd\r\nparameters:\r\n  flavor: persistent-disk-gold\r\n```\r\n\r\nThe flavor \"persistent-disk-gold\" needs to be created by Photon platform admin before hand.\r\n\r\n<!-- Reviewable:start -->\r\n---\r\nThis change is [<img src=\"https://reviewable.kubernetes.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/36076)\r\n<!-- Reviewable:end -->\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/258266255","html_url":"https://github.com/kubernetes/kubernetes/pull/36133#issuecomment-258266255","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36133","id":258266255,"user":{"login":"k8s-ci-robot","id":20407524,"avatar_url":"https://avatars.githubusercontent.com/u/20407524?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-ci-robot","html_url":"https://github.com/k8s-ci-robot","followers_url":"https://api.github.com/users/k8s-ci-robot/followers","following_url":"https://api.github.com/users/k8s-ci-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-ci-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-ci-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-ci-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-ci-robot/orgs","repos_url":"https://api.github.com/users/k8s-ci-robot/repos","events_url":"https://api.github.com/users/k8s-ci-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-ci-robot/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T20:36:27Z","updated_at":"2016-11-03T20:36:27Z","body":"Jenkins GCE e2e [**failed**](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/36133/pull-kubernetes-e2e-gce/3505/) for commit 2688fed3f4a8475596b437bdd5c40caa74110478. [Full PR test history](http://pr-test.k8s.io/36133).\n\nThe magic incantation to run this job again is `@k8s-bot cvm gce e2e test this`. Please help us cut down flakes by linking to an [open flake issue](https://github.com/kubernetes/kubernetes/issues?q=is:issue+label:kind/flake+is:open) when you hit one in your PR."}}
{"actor":{"display_login":"k8s-ci-robot"}}