{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes-incubator/external-storage/issues/15","repository_url":"https://api.github.com/repos/kubernetes-incubator/external-storage","labels_url":"https://api.github.com/repos/kubernetes-incubator/external-storage/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-incubator/external-storage/issues/15/comments","events_url":"https://api.github.com/repos/kubernetes-incubator/external-storage/issues/15/events","html_url":"https://github.com/kubernetes-incubator/external-storage/issues/15","id":212016255,"number":15,"title":"Dynamic provisioner for Hostpath","user":{"login":"TamalSaha","id":94814,"avatar_url":"https://avatars2.githubusercontent.com/u/94814?v=3","gravatar_id":"","url":"https://api.github.com/users/TamalSaha","html_url":"https://github.com/TamalSaha","followers_url":"https://api.github.com/users/TamalSaha/followers","following_url":"https://api.github.com/users/TamalSaha/following{/other_user}","gists_url":"https://api.github.com/users/TamalSaha/gists{/gist_id}","starred_url":"https://api.github.com/users/TamalSaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TamalSaha/subscriptions","organizations_url":"https://api.github.com/users/TamalSaha/orgs","repos_url":"https://api.github.com/users/TamalSaha/repos","events_url":"https://api.github.com/users/TamalSaha/events{/privacy}","received_events_url":"https://api.github.com/users/TamalSaha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-06T03:34:06Z","updated_at":"2017-03-07T23:07:35Z","closed_at":null,"body":"Hi,\r\nI am interested in a hostpath provisioner that can work with StatefulSet with replica > 1. I had a conversation in slack api-machinery room. They pointed me to this project. Here is my conversation: https://github.com/appscode/k8s-addons/issues/14#issuecomment-283732665\r\n\r\nI am new to writing my own PV provisioner. Do you think what I am asking for is possible? How do I take the demo hostpath provisioner in this repo and make that a proper one.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/kubernetes-incubator/external-storage/issues/comments/284890353","html_url":"https://github.com/kubernetes-incubator/external-storage/issues/15#issuecomment-284890353","issue_url":"https://api.github.com/repos/kubernetes-incubator/external-storage/issues/15","id":284890353,"user":{"login":"TamalSaha","id":94814,"avatar_url":"https://avatars2.githubusercontent.com/u/94814?v=3","gravatar_id":"","url":"https://api.github.com/users/TamalSaha","html_url":"https://github.com/TamalSaha","followers_url":"https://api.github.com/users/TamalSaha/followers","following_url":"https://api.github.com/users/TamalSaha/following{/other_user}","gists_url":"https://api.github.com/users/TamalSaha/gists{/gist_id}","starred_url":"https://api.github.com/users/TamalSaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TamalSaha/subscriptions","organizations_url":"https://api.github.com/users/TamalSaha/orgs","repos_url":"https://api.github.com/users/TamalSaha/repos","events_url":"https://api.github.com/users/TamalSaha/events{/privacy}","received_events_url":"https://api.github.com/users/TamalSaha/received_events","type":"User","site_admin":false},"created_at":"2017-03-07T23:07:35Z","updated_at":"2017-03-07T23:07:35Z","body":"> It doesn't look too complex but yeah, hostPath PV support is nonexistent in kube so you may have to write a scheduler and deploy it alongside the default scheduler. (Or patch the existing scheduler but I believe that's way less desirable.)\r\n\r\nThe existing scheduler will work fine as-is as long SS are not scaled up after scaling down. Say I have a SS with replica =3 (also uses PV). Now, later I reduce # of replicas to 2. This deleted the pod-2. Then if I increase the replicas to 3, I see that the original PVC, if exists, will be reused. If this is a required behavior, this is not possible without extending the default scheduler. Do you know who can give me  a definitive answer?"}}
{"actor":{"display_login":"TamalSaha"}}