{"action":"created","issue":{"url":"https://api.github.com/repos/dotmesh-io/dotmesh/issues/401","repository_url":"https://api.github.com/repos/dotmesh-io/dotmesh","labels_url":"https://api.github.com/repos/dotmesh-io/dotmesh/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/dotmesh-io/dotmesh/issues/401/comments","events_url":"https://api.github.com/repos/dotmesh-io/dotmesh/issues/401/events","html_url":"https://github.com/dotmesh-io/dotmesh/issues/401","id":320192579,"node_id":"MDU6SXNzdWUzMjAxOTI1Nzk=","number":401,"title":"Operator: PV-per-node mode","user":{"login":"alaric-dotmesh","id":31884165,"node_id":"MDQ6VXNlcjMxODg0MTY1","avatar_url":"https://avatars3.githubusercontent.com/u/31884165?v=4","gravatar_id":"","url":"https://api.github.com/users/alaric-dotmesh","html_url":"https://github.com/alaric-dotmesh","followers_url":"https://api.github.com/users/alaric-dotmesh/followers","following_url":"https://api.github.com/users/alaric-dotmesh/following{/other_user}","gists_url":"https://api.github.com/users/alaric-dotmesh/gists{/gist_id}","starred_url":"https://api.github.com/users/alaric-dotmesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alaric-dotmesh/subscriptions","organizations_url":"https://api.github.com/users/alaric-dotmesh/orgs","repos_url":"https://api.github.com/users/alaric-dotmesh/repos","events_url":"https://api.github.com/users/alaric-dotmesh/events{/privacy}","received_events_url":"https://api.github.com/users/alaric-dotmesh/received_events","type":"User","site_admin":false},"labels":[{"id":629187884,"node_id":"MDU6TGFiZWw2MjkxODc4ODQ=","url":"https://api.github.com/repos/dotmesh-io/dotmesh/labels/task","name":"task","color":"84b6eb","default":false}],"state":"closed","locked":false,"assignee":{"login":"prisamuel","id":151395,"node_id":"MDQ6VXNlcjE1MTM5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/151395?v=4","gravatar_id":"","url":"https://api.github.com/users/prisamuel","html_url":"https://github.com/prisamuel","followers_url":"https://api.github.com/users/prisamuel/followers","following_url":"https://api.github.com/users/prisamuel/following{/other_user}","gists_url":"https://api.github.com/users/prisamuel/gists{/gist_id}","starred_url":"https://api.github.com/users/prisamuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prisamuel/subscriptions","organizations_url":"https://api.github.com/users/prisamuel/orgs","repos_url":"https://api.github.com/users/prisamuel/repos","events_url":"https://api.github.com/users/prisamuel/events{/privacy}","received_events_url":"https://api.github.com/users/prisamuel/received_events","type":"User","site_admin":false},"assignees":[{"login":"prisamuel","id":151395,"node_id":"MDQ6VXNlcjE1MTM5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/151395?v=4","gravatar_id":"","url":"https://api.github.com/users/prisamuel","html_url":"https://github.com/prisamuel","followers_url":"https://api.github.com/users/prisamuel/followers","following_url":"https://api.github.com/users/prisamuel/following{/other_user}","gists_url":"https://api.github.com/users/prisamuel/gists{/gist_id}","starred_url":"https://api.github.com/users/prisamuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prisamuel/subscriptions","organizations_url":"https://api.github.com/users/prisamuel/orgs","repos_url":"https://api.github.com/users/prisamuel/repos","events_url":"https://api.github.com/users/prisamuel/events{/privacy}","received_events_url":"https://api.github.com/users/prisamuel/received_events","type":"User","site_admin":false},{"login":"binocarlos","id":1676629,"node_id":"MDQ6VXNlcjE2NzY2Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/1676629?v=4","gravatar_id":"","url":"https://api.github.com/users/binocarlos","html_url":"https://github.com/binocarlos","followers_url":"https://api.github.com/users/binocarlos/followers","following_url":"https://api.github.com/users/binocarlos/following{/other_user}","gists_url":"https://api.github.com/users/binocarlos/gists{/gist_id}","starred_url":"https://api.github.com/users/binocarlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binocarlos/subscriptions","organizations_url":"https://api.github.com/users/binocarlos/orgs","repos_url":"https://api.github.com/users/binocarlos/repos","events_url":"https://api.github.com/users/binocarlos/events{/privacy}","received_events_url":"https://api.github.com/users/binocarlos/received_events","type":"User","site_admin":false},{"login":"alaric-dotmesh","id":31884165,"node_id":"MDQ6VXNlcjMxODg0MTY1","avatar_url":"https://avatars3.githubusercontent.com/u/31884165?v=4","gravatar_id":"","url":"https://api.github.com/users/alaric-dotmesh","html_url":"https://github.com/alaric-dotmesh","followers_url":"https://api.github.com/users/alaric-dotmesh/followers","following_url":"https://api.github.com/users/alaric-dotmesh/following{/other_user}","gists_url":"https://api.github.com/users/alaric-dotmesh/gists{/gist_id}","starred_url":"https://api.github.com/users/alaric-dotmesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alaric-dotmesh/subscriptions","organizations_url":"https://api.github.com/users/alaric-dotmesh/orgs","repos_url":"https://api.github.com/users/alaric-dotmesh/repos","events_url":"https://api.github.com/users/alaric-dotmesh/events{/privacy}","received_events_url":"https://api.github.com/users/alaric-dotmesh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-05-04T08:34:07Z","updated_at":"2018-06-19T15:17:24Z","closed_at":"2018-06-19T15:17:24Z","author_association":"COLLABORATOR","body":"This is part of epic https://github.com/dotmesh-io/dotmesh/issues/385\r\n\r\nAs a kubernetes user, I'd like to be able to configure Dotmesh to use PVs for pool storage on each node, so I can get the desirable resilience properties of PVs in cloud environments.\r\n\r\nSample ConfigMap contents for this mode, showing what we'd like configurable:\r\n\r\n```\r\nstorageMode: pvPerNode\r\npvPerNode.pvSizePerNode: 100G\r\npvPerNode.storageClass: fast\r\n```\r\n\r\nThe operator, in this mode, will need to create PVCs with the desired size and storageClass, and attach them to the Dotmesh server pods at a suitable path. `require_zfs.sh` then needs to create a pool file of the desired size (minus a small fraction for FS metadata) in that path. Be careful of whether paths are in container or host namespaces!\r\n\r\nThe operator needs to pick a name for the pool, which the PVC should be named after, and the Dotmesh pod should be named after (instead of using the hostname), and be used as the ZFS pool name (to pave the way for multiple pools on the same host).\r\n\r\nWhile we're at it, make `require_zfs.sh` put a README.txt file alongside the pool file, listing the pool name, the version of the server that created it, and so on."},"comment":{"url":"https://api.github.com/repos/dotmesh-io/dotmesh/issues/comments/398437068","html_url":"https://github.com/dotmesh-io/dotmesh/issues/401#issuecomment-398437068","issue_url":"https://api.github.com/repos/dotmesh-io/dotmesh/issues/401","id":398437068,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODQzNzA2OA==","user":{"login":"alaric-dotmesh","id":31884165,"node_id":"MDQ6VXNlcjMxODg0MTY1","avatar_url":"https://avatars3.githubusercontent.com/u/31884165?v=4","gravatar_id":"","url":"https://api.github.com/users/alaric-dotmesh","html_url":"https://github.com/alaric-dotmesh","followers_url":"https://api.github.com/users/alaric-dotmesh/followers","following_url":"https://api.github.com/users/alaric-dotmesh/following{/other_user}","gists_url":"https://api.github.com/users/alaric-dotmesh/gists{/gist_id}","starred_url":"https://api.github.com/users/alaric-dotmesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alaric-dotmesh/subscriptions","organizations_url":"https://api.github.com/users/alaric-dotmesh/orgs","repos_url":"https://api.github.com/users/alaric-dotmesh/repos","events_url":"https://api.github.com/users/alaric-dotmesh/events{/privacy}","received_events_url":"https://api.github.com/users/alaric-dotmesh/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T15:17:23Z","updated_at":"2018-06-19T15:17:23Z","author_association":"COLLABORATOR","body":"We're going to call this \"done\", even though it has issues, as the issues are really bugs - and ones to do with the interaction of Kubernetes and ZFS that we just need to find ways to work around!\r\n\r\nSee #463 for the rest of this work."}}
{"actor":{"display_login":"alaric-dotmesh"}}