{"action":"created","comment":{"url":"https://api.github.com/repos/openebs/openebs/pulls/comments/154887036","pull_request_review_id":81114943,"id":154887036,"diff_hunk":"@@ -1,5 +1,219 @@\n-Use CockroachDB with OpenEBS. \n+# CockroachDB\n \n-## TODO: \n-    - Install, Verification. \n-    - Insert Data, retrieve Data. \n\\ No newline at end of file\n+This document demonstrates the deployment of CockroachDB as a StatefulSet in a Kubernetes cluster. The user will be able to spawn a CockroachDB StatefulSet that will use OpenEBS as its persistent storage.\n+\n+## Deploy as a StatefulSet\n+\n+Deploying CockroachDB as a StatefulSet provides the following benefits:\n+\n+- Stable unique network identifiers.\n+- Stable persistent storage.\n+- Ordered graceful deployment and scaling.\n+- Ordered graceful deletion and termination.\n+\n+## Deploy CockroachDB with Persistent Storage","path":"k8s/demo/cockroachDB/README.md","position":19,"original_position":19,"commit_id":"e2b3a24c4da06e3a70fce91281432b5b08ed9d32","original_commit_id":"e2b3a24c4da06e3a70fce91281432b5b08ed9d32","user":{"login":"mahebbar","id":30617626,"avatar_url":"https://avatars0.githubusercontent.com/u/30617626?v=4","gravatar_id":"","url":"https://api.github.com/users/mahebbar","html_url":"https://github.com/mahebbar","followers_url":"https://api.github.com/users/mahebbar/followers","following_url":"https://api.github.com/users/mahebbar/following{/other_user}","gists_url":"https://api.github.com/users/mahebbar/gists{/gist_id}","starred_url":"https://api.github.com/users/mahebbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahebbar/subscriptions","organizations_url":"https://api.github.com/users/mahebbar/orgs","repos_url":"https://api.github.com/users/mahebbar/repos","events_url":"https://api.github.com/users/mahebbar/events{/privacy}","received_events_url":"https://api.github.com/users/mahebbar/received_events","type":"User","site_admin":false},"body":"Deploy = Deploying","created_at":"2017-12-05T09:23:43Z","updated_at":"2017-12-05T09:23:43Z","html_url":"https://github.com/openebs/openebs/pull/973#discussion_r154887036","pull_request_url":"https://api.github.com/repos/openebs/openebs/pulls/973","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openebs/openebs/pulls/comments/154887036"},"html":{"href":"https://github.com/openebs/openebs/pull/973#discussion_r154887036"},"pull_request":{"href":"https://api.github.com/repos/openebs/openebs/pulls/973"}}},"pull_request":{"url":"https://api.github.com/repos/openebs/openebs/pulls/973","id":155599256,"html_url":"https://github.com/openebs/openebs/pull/973","diff_url":"https://github.com/openebs/openebs/pull/973.diff","patch_url":"https://github.com/openebs/openebs/pull/973.patch","issue_url":"https://api.github.com/repos/openebs/openebs/issues/973","number":973,"state":"open","locked":false,"title":"Implement a CockroachDB StatefulSet Use Case","user":{"login":"yudaykiran","id":24768611,"avatar_url":"https://avatars0.githubusercontent.com/u/24768611?v=4","gravatar_id":"","url":"https://api.github.com/users/yudaykiran","html_url":"https://github.com/yudaykiran","followers_url":"https://api.github.com/users/yudaykiran/followers","following_url":"https://api.github.com/users/yudaykiran/following{/other_user}","gists_url":"https://api.github.com/users/yudaykiran/gists{/gist_id}","starred_url":"https://api.github.com/users/yudaykiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yudaykiran/subscriptions","organizations_url":"https://api.github.com/users/yudaykiran/orgs","repos_url":"https://api.github.com/users/yudaykiran/repos","events_url":"https://api.github.com/users/yudaykiran/events{/privacy}","received_events_url":"https://api.github.com/users/yudaykiran/received_events","type":"User","site_admin":false},"body":"<!--  Thanks for sending a pull request!  Here are some tips for you -->\r\n\r\n**What this PR does / why we need it**:\r\n- Create ReadME.md consisting of steps for deployment and use-case demonstration.\r\n- Add a Job YAML for generating load into the CockroachDB database.\r\n- Update the StorageClass YAML to adhere to the new changes made to the storage policies.\r\n\r\n**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #851 \r\n\r\n**Special notes for your reviewer**:\r\nSigned-off-by: yudaykiran <udaykiran.y@gmail.com>","created_at":"2017-11-30T12:50:02Z","updated_at":"2017-12-05T09:23:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd0828ea67924ca2484fc67c1653161f6e2bb032","assignee":{"login":"yudaykiran","id":24768611,"avatar_url":"https://avatars0.githubusercontent.com/u/24768611?v=4","gravatar_id":"","url":"https://api.github.com/users/yudaykiran","html_url":"https://github.com/yudaykiran","followers_url":"https://api.github.com/users/yudaykiran/followers","following_url":"https://api.github.com/users/yudaykiran/following{/other_user}","gists_url":"https://api.github.com/users/yudaykiran/gists{/gist_id}","starred_url":"https://api.github.com/users/yudaykiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yudaykiran/subscriptions","organizations_url":"https://api.github.com/users/yudaykiran/orgs","repos_url":"https://api.github.com/users/yudaykiran/repos","events_url":"https://api.github.com/users/yudaykiran/events{/privacy}","received_events_url":"https://api.github.com/users/yudaykiran/received_events","type":"User","site_admin":false},"assignees":[{"login":"yudaykiran","id":24768611,"avatar_url":"https://avatars0.githubusercontent.com/u/24768611?v=4","gravatar_id":"","url":"https://api.github.com/users/yudaykiran","html_url":"https://github.com/yudaykiran","followers_url":"https://api.github.com/users/yudaykiran/followers","following_url":"https://api.github.com/users/yudaykiran/following{/other_user}","gists_url":"https://api.github.com/users/yudaykiran/gists{/gist_id}","starred_url":"https://api.github.com/users/yudaykiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yudaykiran/subscriptions","organizations_url":"https://api.github.com/users/yudaykiran/orgs","repos_url":"https://api.github.com/users/yudaykiran/repos","events_url":"https://api.github.com/users/yudaykiran/events{/privacy}","received_events_url":"https://api.github.com/users/yudaykiran/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"kmova","id":12488783,"avatar_url":"https://avatars2.githubusercontent.com/u/12488783?v=4","gravatar_id":"","url":"https://api.github.com/users/kmova","html_url":"https://github.com/kmova","followers_url":"https://api.github.com/users/kmova/followers","following_url":"https://api.github.com/users/kmova/following{/other_user}","gists_url":"https://api.github.com/users/kmova/gists{/gist_id}","starred_url":"https://api.github.com/users/kmova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmova/subscriptions","organizations_url":"https://api.github.com/users/kmova/orgs","repos_url":"https://api.github.com/users/kmova/repos","events_url":"https://api.github.com/users/kmova/events{/privacy}","received_events_url":"https://api.github.com/users/kmova/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openebs/openebs/pulls/973/commits","review_comments_url":"https://api.github.com/repos/openebs/openebs/pulls/973/comments","review_comment_url":"https://api.github.com/repos/openebs/openebs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openebs/openebs/issues/973/comments","statuses_url":"https://api.github.com/repos/openebs/openebs/statuses/e2b3a24c4da06e3a70fce91281432b5b08ed9d32","head":{"label":"yudaykiran:Fix-for-Issue#851","ref":"Fix-for-Issue#851","sha":"e2b3a24c4da06e3a70fce91281432b5b08ed9d32","user":{"login":"yudaykiran","id":24768611,"avatar_url":"https://avatars0.githubusercontent.com/u/24768611?v=4","gravatar_id":"","url":"https://api.github.com/users/yudaykiran","html_url":"https://github.com/yudaykiran","followers_url":"https://api.github.com/users/yudaykiran/followers","following_url":"https://api.github.com/users/yudaykiran/following{/other_user}","gists_url":"https://api.github.com/users/yudaykiran/gists{/gist_id}","starred_url":"https://api.github.com/users/yudaykiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yudaykiran/subscriptions","organizations_url":"https://api.github.com/users/yudaykiran/orgs","repos_url":"https://api.github.com/users/yudaykiran/repos","events_url":"https://api.github.com/users/yudaykiran/events{/privacy}","received_events_url":"https://api.github.com/users/yudaykiran/received_events","type":"User","site_admin":false},"repo":{"id":107371112,"name":"openebs","full_name":"yudaykiran/openebs","owner":{"login":"yudaykiran","id":24768611,"avatar_url":"https://avatars0.githubusercontent.com/u/24768611?v=4","gravatar_id":"","url":"https://api.github.com/users/yudaykiran","html_url":"https://github.com/yudaykiran","followers_url":"https://api.github.com/users/yudaykiran/followers","following_url":"https://api.github.com/users/yudaykiran/following{/other_user}","gists_url":"https://api.github.com/users/yudaykiran/gists{/gist_id}","starred_url":"https://api.github.com/users/yudaykiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yudaykiran/subscriptions","organizations_url":"https://api.github.com/users/yudaykiran/orgs","repos_url":"https://api.github.com/users/yudaykiran/repos","events_url":"https://api.github.com/users/yudaykiran/events{/privacy}","received_events_url":"https://api.github.com/users/yudaykiran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yudaykiran/openebs","description":"OpenEBS is containerized block storage written in Go for cloud native and other environments w/ per container (or pod) QoS SLAs, tiering and replica policies across AZs and environments, and predictable and scalable performance.  ","fork":true,"url":"https://api.github.com/repos/yudaykiran/openebs","forks_url":"https://api.github.com/repos/yudaykiran/openebs/forks","keys_url":"https://api.github.com/repos/yudaykiran/openebs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yudaykiran/openebs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yudaykiran/openebs/teams","hooks_url":"https://api.github.com/repos/yudaykiran/openebs/hooks","issue_events_url":"https://api.github.com/repos/yudaykiran/openebs/issues/events{/number}","events_url":"https://api.github.com/repos/yudaykiran/openebs/events","assignees_url":"https://api.github.com/repos/yudaykiran/openebs/assignees{/user}","branches_url":"https://api.github.com/repos/yudaykiran/openebs/branches{/branch}","tags_url":"https://api.github.com/repos/yudaykiran/openebs/tags","blobs_url":"https://api.github.com/repos/yudaykiran/openebs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yudaykiran/openebs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yudaykiran/openebs/git/refs{/sha}","trees_url":"https://api.github.com/repos/yudaykiran/openebs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yudaykiran/openebs/statuses/{sha}","languages_url":"https://api.github.com/repos/yudaykiran/openebs/languages","stargazers_url":"https://api.github.com/repos/yudaykiran/openebs/stargazers","contributors_url":"https://api.github.com/repos/yudaykiran/openebs/contributors","subscribers_url":"https://api.github.com/repos/yudaykiran/openebs/subscribers","subscription_url":"https://api.github.com/repos/yudaykiran/openebs/subscription","commits_url":"https://api.github.com/repos/yudaykiran/openebs/commits{/sha}","git_commits_url":"https://api.github.com/repos/yudaykiran/openebs/git/commits{/sha}","comments_url":"https://api.github.com/repos/yudaykiran/openebs/comments{/number}","issue_comment_url":"https://api.github.com/repos/yudaykiran/openebs/issues/comments{/number}","contents_url":"https://api.github.com/repos/yudaykiran/openebs/contents/{+path}","compare_url":"https://api.github.com/repos/yudaykiran/openebs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yudaykiran/openebs/merges","archive_url":"https://api.github.com/repos/yudaykiran/openebs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yudaykiran/openebs/downloads","issues_url":"https://api.github.com/repos/yudaykiran/openebs/issues{/number}","pulls_url":"https://api.github.com/repos/yudaykiran/openebs/pulls{/number}","milestones_url":"https://api.github.com/repos/yudaykiran/openebs/milestones{/number}","notifications_url":"https://api.github.com/repos/yudaykiran/openebs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yudaykiran/openebs/labels{/name}","releases_url":"https://api.github.com/repos/yudaykiran/openebs/releases{/id}","deployments_url":"https://api.github.com/repos/yudaykiran/openebs/deployments","created_at":"2017-10-18T07:06:32Z","updated_at":"2017-10-18T07:06:34Z","pushed_at":"2017-12-04T11:54:06Z","git_url":"git://github.com/yudaykiran/openebs.git","ssh_url":"git@github.com:yudaykiran/openebs.git","clone_url":"https://github.com/yudaykiran/openebs.git","svn_url":"https://github.com/yudaykiran/openebs","homepage":"https://www.openebs.io","size":8387,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openebs:master","ref":"master","sha":"4fd49ddfceb37739cc7bb0a518efc83b1d37d2f3","user":{"login":"openebs","id":20769039,"avatar_url":"https://avatars0.githubusercontent.com/u/20769039?v=4","gravatar_id":"","url":"https://api.github.com/users/openebs","html_url":"https://github.com/openebs","followers_url":"https://api.github.com/users/openebs/followers","following_url":"https://api.github.com/users/openebs/following{/other_user}","gists_url":"https://api.github.com/users/openebs/gists{/gist_id}","starred_url":"https://api.github.com/users/openebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openebs/subscriptions","organizations_url":"https://api.github.com/users/openebs/orgs","repos_url":"https://api.github.com/users/openebs/repos","events_url":"https://api.github.com/users/openebs/events{/privacy}","received_events_url":"https://api.github.com/users/openebs/received_events","type":"Organization","site_admin":false},"repo":{"id":64654523,"name":"openebs","full_name":"openebs/openebs","owner":{"login":"openebs","id":20769039,"avatar_url":"https://avatars0.githubusercontent.com/u/20769039?v=4","gravatar_id":"","url":"https://api.github.com/users/openebs","html_url":"https://github.com/openebs","followers_url":"https://api.github.com/users/openebs/followers","following_url":"https://api.github.com/users/openebs/following{/other_user}","gists_url":"https://api.github.com/users/openebs/gists{/gist_id}","starred_url":"https://api.github.com/users/openebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openebs/subscriptions","organizations_url":"https://api.github.com/users/openebs/orgs","repos_url":"https://api.github.com/users/openebs/repos","events_url":"https://api.github.com/users/openebs/events{/privacy}","received_events_url":"https://api.github.com/users/openebs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openebs/openebs","description":"OpenEBS is containerized block storage written in Go for cloud native and other environments w/ per container (or pod) QoS SLAs, tiering and replica policies across AZs and environments, and predictable and scalable performance.  ","fork":false,"url":"https://api.github.com/repos/openebs/openebs","forks_url":"https://api.github.com/repos/openebs/openebs/forks","keys_url":"https://api.github.com/repos/openebs/openebs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openebs/openebs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openebs/openebs/teams","hooks_url":"https://api.github.com/repos/openebs/openebs/hooks","issue_events_url":"https://api.github.com/repos/openebs/openebs/issues/events{/number}","events_url":"https://api.github.com/repos/openebs/openebs/events","assignees_url":"https://api.github.com/repos/openebs/openebs/assignees{/user}","branches_url":"https://api.github.com/repos/openebs/openebs/branches{/branch}","tags_url":"https://api.github.com/repos/openebs/openebs/tags","blobs_url":"https://api.github.com/repos/openebs/openebs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openebs/openebs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openebs/openebs/git/refs{/sha}","trees_url":"https://api.github.com/repos/openebs/openebs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openebs/openebs/statuses/{sha}","languages_url":"https://api.github.com/repos/openebs/openebs/languages","stargazers_url":"https://api.github.com/repos/openebs/openebs/stargazers","contributors_url":"https://api.github.com/repos/openebs/openebs/contributors","subscribers_url":"https://api.github.com/repos/openebs/openebs/subscribers","subscription_url":"https://api.github.com/repos/openebs/openebs/subscription","commits_url":"https://api.github.com/repos/openebs/openebs/commits{/sha}","git_commits_url":"https://api.github.com/repos/openebs/openebs/git/commits{/sha}","comments_url":"https://api.github.com/repos/openebs/openebs/comments{/number}","issue_comment_url":"https://api.github.com/repos/openebs/openebs/issues/comments{/number}","contents_url":"https://api.github.com/repos/openebs/openebs/contents/{+path}","compare_url":"https://api.github.com/repos/openebs/openebs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openebs/openebs/merges","archive_url":"https://api.github.com/repos/openebs/openebs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openebs/openebs/downloads","issues_url":"https://api.github.com/repos/openebs/openebs/issues{/number}","pulls_url":"https://api.github.com/repos/openebs/openebs/pulls{/number}","milestones_url":"https://api.github.com/repos/openebs/openebs/milestones{/number}","notifications_url":"https://api.github.com/repos/openebs/openebs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openebs/openebs/labels{/name}","releases_url":"https://api.github.com/repos/openebs/openebs/releases{/id}","deployments_url":"https://api.github.com/repos/openebs/openebs/deployments","created_at":"2016-08-01T09:33:32Z","updated_at":"2017-12-04T12:58:09Z","pushed_at":"2017-12-04T07:55:31Z","git_url":"git://github.com/openebs/openebs.git","ssh_url":"git@github.com:openebs/openebs.git","clone_url":"https://github.com/openebs/openebs.git","svn_url":"https://github.com/openebs/openebs","homepage":"https://www.openebs.io","size":8388,"stargazers_count":2497,"watchers_count":2497,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":274,"mirror_url":null,"archived":false,"open_issues_count":372,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":274,"open_issues":372,"watchers":2497,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openebs/openebs/pulls/973"},"html":{"href":"https://github.com/openebs/openebs/pull/973"},"issue":{"href":"https://api.github.com/repos/openebs/openebs/issues/973"},"comments":{"href":"https://api.github.com/repos/openebs/openebs/issues/973/comments"},"review_comments":{"href":"https://api.github.com/repos/openebs/openebs/pulls/973/comments"},"review_comment":{"href":"https://api.github.com/repos/openebs/openebs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openebs/openebs/pulls/973/commits"},"statuses":{"href":"https://api.github.com/repos/openebs/openebs/statuses/e2b3a24c4da06e3a70fce91281432b5b08ed9d32"}},"author_association":"OWNER"}}
{"actor":{"display_login":"mahebbar"}}