{"action":"created","comment":{"url":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/comments/232317216","pull_request_review_id":173493307,"id":232317216,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjMxNzIxNg==","diff_hunk":"@@ -0,0 +1,98 @@\n+# Setting up and using Kubernetes\n+\n+## Install `kubectl`\n+\n+There are [many ways to install kubctl](https://kubernetes.io/docs/tasks/tools/install-kubectl/). You may also wish to refer to the commands in the formula too:\n+https://github.com/elifesciences/builder-base-formula/blob/master/elife/kubectl.sls\n+\n+On Ubuntu I used snap:\n+\n+```\n+sudo snap install kubectl --classic\n+```\n+\n+Test the client installation of `kubectl`:\n+\n+```\n+kubectl version\n+```\n+\n+This should report the client version. But don't worry if there are errors for the server version as this is not configured yet.\n+\n+### Install aws-iam-authenticator\n+\n+Change the cwd to the place you wish to install and follow the following:\n+\n+```\n+cd ~/.local/bin\n+wget https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-07-26/bin/linux/amd64/aws-iam-authenticator","path":"docs/deploying/k8s.md","position":28,"original_position":28,"commit_id":"89d2a20e44a19345c07748927c19c5de1bfa6244","original_commit_id":"89d2a20e44a19345c07748927c19c5de1bfa6244","user":{"login":"giorgiosironi","id":160299,"node_id":"MDQ6VXNlcjE2MDI5OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/160299?v=4","gravatar_id":"","url":"https://api.github.com/users/giorgiosironi","html_url":"https://github.com/giorgiosironi","followers_url":"https://api.github.com/users/giorgiosironi/followers","following_url":"https://api.github.com/users/giorgiosironi/following{/other_user}","gists_url":"https://api.github.com/users/giorgiosironi/gists{/gist_id}","starred_url":"https://api.github.com/users/giorgiosironi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giorgiosironi/subscriptions","organizations_url":"https://api.github.com/users/giorgiosironi/orgs","repos_url":"https://api.github.com/users/giorgiosironi/repos","events_url":"https://api.github.com/users/giorgiosironi/events{/privacy}","received_events_url":"https://api.github.com/users/giorgiosironi/received_events","type":"User","site_admin":false},"body":"reference https://docs.aws.amazon.com/eks/latest/userguide/configure-kubectl.html","created_at":"2018-11-09T16:40:53Z","updated_at":"2018-11-09T16:40:53Z","html_url":"https://github.com/elifesciences/elife-xpub/pull/1015#discussion_r232317216","pull_request_url":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/1015","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/comments/232317216"},"html":{"href":"https://github.com/elifesciences/elife-xpub/pull/1015#discussion_r232317216"},"pull_request":{"href":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/1015"}}},"pull_request":{"url":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/1015","id":229740488,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NzQwNDg4","html_url":"https://github.com/elifesciences/elife-xpub/pull/1015","diff_url":"https://github.com/elifesciences/elife-xpub/pull/1015.diff","patch_url":"https://github.com/elifesciences/elife-xpub/pull/1015.patch","issue_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/1015","number":1015,"state":"open","locked":false,"title":"Update the documentation with k8s","user":{"login":"diversemix","id":8524685,"node_id":"MDQ6VXNlcjg1MjQ2ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/8524685?v=4","gravatar_id":"","url":"https://api.github.com/users/diversemix","html_url":"https://github.com/diversemix","followers_url":"https://api.github.com/users/diversemix/followers","following_url":"https://api.github.com/users/diversemix/following{/other_user}","gists_url":"https://api.github.com/users/diversemix/gists{/gist_id}","starred_url":"https://api.github.com/users/diversemix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diversemix/subscriptions","organizations_url":"https://api.github.com/users/diversemix/orgs","repos_url":"https://api.github.com/users/diversemix/repos","events_url":"https://api.github.com/users/diversemix/events{/privacy}","received_events_url":"https://api.github.com/users/diversemix/received_events","type":"User","site_admin":false},"body":"#### Background\r\n\r\nNeeded to update the docs with new k8s knowledge.\r\n","created_at":"2018-11-09T16:05:08Z","updated_at":"2018-11-09T16:40:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16c156d686869cc37926d96040ffb99da43238f1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/1015/commits","review_comments_url":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/1015/comments","review_comment_url":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/1015/comments","statuses_url":"https://api.github.com/repos/elifesciences/elife-xpub/statuses/89d2a20e44a19345c07748927c19c5de1bfa6244","head":{"label":"elifesciences:docs-update","ref":"docs-update","sha":"89d2a20e44a19345c07748927c19c5de1bfa6244","user":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"repo":{"id":100492246,"node_id":"MDEwOlJlcG9zaXRvcnkxMDA0OTIyNDY=","name":"elife-xpub","full_name":"elifesciences/elife-xpub","private":false,"owner":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elifesciences/elife-xpub","description":"eLife is an open-access journal and technology provider that publishes promising research in the life and biomedical sciences. This is their implementation of a submission and peer review system based on Coko PubSweet and xPub.","fork":false,"url":"https://api.github.com/repos/elifesciences/elife-xpub","forks_url":"https://api.github.com/repos/elifesciences/elife-xpub/forks","keys_url":"https://api.github.com/repos/elifesciences/elife-xpub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elifesciences/elife-xpub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elifesciences/elife-xpub/teams","hooks_url":"https://api.github.com/repos/elifesciences/elife-xpub/hooks","issue_events_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/events{/number}","events_url":"https://api.github.com/repos/elifesciences/elife-xpub/events","assignees_url":"https://api.github.com/repos/elifesciences/elife-xpub/assignees{/user}","branches_url":"https://api.github.com/repos/elifesciences/elife-xpub/branches{/branch}","tags_url":"https://api.github.com/repos/elifesciences/elife-xpub/tags","blobs_url":"https://api.github.com/repos/elifesciences/elife-xpub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elifesciences/elife-xpub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elifesciences/elife-xpub/git/refs{/sha}","trees_url":"https://api.github.com/repos/elifesciences/elife-xpub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elifesciences/elife-xpub/statuses/{sha}","languages_url":"https://api.github.com/repos/elifesciences/elife-xpub/languages","stargazers_url":"https://api.github.com/repos/elifesciences/elife-xpub/stargazers","contributors_url":"https://api.github.com/repos/elifesciences/elife-xpub/contributors","subscribers_url":"https://api.github.com/repos/elifesciences/elife-xpub/subscribers","subscription_url":"https://api.github.com/repos/elifesciences/elife-xpub/subscription","commits_url":"https://api.github.com/repos/elifesciences/elife-xpub/commits{/sha}","git_commits_url":"https://api.github.com/repos/elifesciences/elife-xpub/git/commits{/sha}","comments_url":"https://api.github.com/repos/elifesciences/elife-xpub/comments{/number}","issue_comment_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/comments{/number}","contents_url":"https://api.github.com/repos/elifesciences/elife-xpub/contents/{+path}","compare_url":"https://api.github.com/repos/elifesciences/elife-xpub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elifesciences/elife-xpub/merges","archive_url":"https://api.github.com/repos/elifesciences/elife-xpub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elifesciences/elife-xpub/downloads","issues_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues{/number}","pulls_url":"https://api.github.com/repos/elifesciences/elife-xpub/pulls{/number}","milestones_url":"https://api.github.com/repos/elifesciences/elife-xpub/milestones{/number}","notifications_url":"https://api.github.com/repos/elifesciences/elife-xpub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elifesciences/elife-xpub/labels{/name}","releases_url":"https://api.github.com/repos/elifesciences/elife-xpub/releases{/id}","deployments_url":"https://api.github.com/repos/elifesciences/elife-xpub/deployments","created_at":"2017-08-16T13:26:53Z","updated_at":"2018-11-09T16:10:35Z","pushed_at":"2018-11-09T16:14:47Z","git_url":"git://github.com/elifesciences/elife-xpub.git","ssh_url":"git@github.com:elifesciences/elife-xpub.git","clone_url":"https://github.com/elifesciences/elife-xpub.git","svn_url":"https://github.com/elifesciences/elife-xpub","homepage":"https://elifesciences.org/","size":6299,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":183,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":183,"watchers":15,"default_branch":"develop"}},"base":{"label":"elifesciences:develop","ref":"develop","sha":"cb7892693ae53a35ba9dc4662edbb8078217103d","user":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"repo":{"id":100492246,"node_id":"MDEwOlJlcG9zaXRvcnkxMDA0OTIyNDY=","name":"elife-xpub","full_name":"elifesciences/elife-xpub","private":false,"owner":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elifesciences/elife-xpub","description":"eLife is an open-access journal and technology provider that publishes promising research in the life and biomedical sciences. This is their implementation of a submission and peer review system based on Coko PubSweet and xPub.","fork":false,"url":"https://api.github.com/repos/elifesciences/elife-xpub","forks_url":"https://api.github.com/repos/elifesciences/elife-xpub/forks","keys_url":"https://api.github.com/repos/elifesciences/elife-xpub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elifesciences/elife-xpub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elifesciences/elife-xpub/teams","hooks_url":"https://api.github.com/repos/elifesciences/elife-xpub/hooks","issue_events_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/events{/number}","events_url":"https://api.github.com/repos/elifesciences/elife-xpub/events","assignees_url":"https://api.github.com/repos/elifesciences/elife-xpub/assignees{/user}","branches_url":"https://api.github.com/repos/elifesciences/elife-xpub/branches{/branch}","tags_url":"https://api.github.com/repos/elifesciences/elife-xpub/tags","blobs_url":"https://api.github.com/repos/elifesciences/elife-xpub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elifesciences/elife-xpub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elifesciences/elife-xpub/git/refs{/sha}","trees_url":"https://api.github.com/repos/elifesciences/elife-xpub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elifesciences/elife-xpub/statuses/{sha}","languages_url":"https://api.github.com/repos/elifesciences/elife-xpub/languages","stargazers_url":"https://api.github.com/repos/elifesciences/elife-xpub/stargazers","contributors_url":"https://api.github.com/repos/elifesciences/elife-xpub/contributors","subscribers_url":"https://api.github.com/repos/elifesciences/elife-xpub/subscribers","subscription_url":"https://api.github.com/repos/elifesciences/elife-xpub/subscription","commits_url":"https://api.github.com/repos/elifesciences/elife-xpub/commits{/sha}","git_commits_url":"https://api.github.com/repos/elifesciences/elife-xpub/git/commits{/sha}","comments_url":"https://api.github.com/repos/elifesciences/elife-xpub/comments{/number}","issue_comment_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues/comments{/number}","contents_url":"https://api.github.com/repos/elifesciences/elife-xpub/contents/{+path}","compare_url":"https://api.github.com/repos/elifesciences/elife-xpub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elifesciences/elife-xpub/merges","archive_url":"https://api.github.com/repos/elifesciences/elife-xpub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elifesciences/elife-xpub/downloads","issues_url":"https://api.github.com/repos/elifesciences/elife-xpub/issues{/number}","pulls_url":"https://api.github.com/repos/elifesciences/elife-xpub/pulls{/number}","milestones_url":"https://api.github.com/repos/elifesciences/elife-xpub/milestones{/number}","notifications_url":"https://api.github.com/repos/elifesciences/elife-xpub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elifesciences/elife-xpub/labels{/name}","releases_url":"https://api.github.com/repos/elifesciences/elife-xpub/releases{/id}","deployments_url":"https://api.github.com/repos/elifesciences/elife-xpub/deployments","created_at":"2017-08-16T13:26:53Z","updated_at":"2018-11-09T16:10:35Z","pushed_at":"2018-11-09T16:14:47Z","git_url":"git://github.com/elifesciences/elife-xpub.git","ssh_url":"git@github.com:elifesciences/elife-xpub.git","clone_url":"https://github.com/elifesciences/elife-xpub.git","svn_url":"https://github.com/elifesciences/elife-xpub","homepage":"https://elifesciences.org/","size":6299,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":183,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":183,"watchers":15,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/1015"},"html":{"href":"https://github.com/elifesciences/elife-xpub/pull/1015"},"issue":{"href":"https://api.github.com/repos/elifesciences/elife-xpub/issues/1015"},"comments":{"href":"https://api.github.com/repos/elifesciences/elife-xpub/issues/1015/comments"},"review_comments":{"href":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/1015/comments"},"review_comment":{"href":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elifesciences/elife-xpub/pulls/1015/commits"},"statuses":{"href":"https://api.github.com/repos/elifesciences/elife-xpub/statuses/89d2a20e44a19345c07748927c19c5de1bfa6244"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"giorgiosironi"}}