{"action":"opened","number":956,"pull_request":{"url":"https://api.github.com/repos/Human-Connection/Human-Connection/pulls/956","id":293942552,"node_id":"MDExOlB1bGxSZXF1ZXN0MjkzOTQyNTUy","html_url":"https://github.com/Human-Connection/Human-Connection/pull/956","diff_url":"https://github.com/Human-Connection/Human-Connection/pull/956.diff","patch_url":"https://github.com/Human-Connection/Human-Connection/pull/956.patch","issue_url":"https://api.github.com/repos/Human-Connection/Human-Connection/issues/956","number":956,"state":"open","locked":false,"title":"Add service yaml for nginx(maintenance) service","user":{"login":"mattwr18","id":26943915,"node_id":"MDQ6VXNlcjI2OTQzOTE1","avatar_url":"https://avatars3.githubusercontent.com/u/26943915?v=4","gravatar_id":"","url":"https://api.github.com/users/mattwr18","html_url":"https://github.com/mattwr18","followers_url":"https://api.github.com/users/mattwr18/followers","following_url":"https://api.github.com/users/mattwr18/following{/other_user}","gists_url":"https://api.github.com/users/mattwr18/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwr18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwr18/subscriptions","organizations_url":"https://api.github.com/users/mattwr18/orgs","repos_url":"https://api.github.com/users/mattwr18/repos","events_url":"https://api.github.com/users/mattwr18/events{/privacy}","received_events_url":"https://api.github.com/users/mattwr18/received_events","type":"User","site_admin":false},"body":"## 🍰 Pullrequest\r\n<!-- Describe the Pullrequest. Use Screenshots if possible. -->\r\n\r\n### Issues\r\n<!-- Which Issues does this fix, which are related?\r\n\r\n- relates #XXX\r\n-->\r\n- fixes #906 \r\n\r\n@roschaefer, so far this is what I have done... I'm sure I've made some mistakes, but at least this is a start and maybe we can get it figured out together?\r\n\r\nfollowing the docs here: https://www.linode.com/docs/applications/containers/how-to-deploy-nginx-on-a-kubernetes-cluster/#deploy-nginx-on-the-kubernetes-cluster\r\n\r\nI created a deployment with `kubectl --namespace=human-connection create deployment nginx --image=nginx`\r\n\r\n![Screenshot at 2019-07-02 19:40:39](https://user-images.githubusercontent.com/26943915/60551296-49313300-9d01-11e9-85fe-9bdca8fd1cdc.png)\r\n\r\nThen, I created a service `kubectl --namespace=human-connection create service nodeport nginx --tcp=80:80`\r\n\r\n![Screenshot at 2019-07-02 19:41:51](https://user-images.githubusercontent.com/26943915/60551342-7382f080-9d01-11e9-9f6d-44285d599866.png)\r\n\r\nit's info:\r\n![Screenshot at 2019-07-02 19:42:36](https://user-images.githubusercontent.com/26943915/60551388-90b7bf00-9d01-11e9-960e-7a77db5f6710.png)\r\n\r\nI then copied the `service-web.yaml` and changed the selector like it says here: https://www.nrmitchi.com/2017/11/easy-maintenance-mode-in-kubernetes/, but I noticed that the label doesn't match for example and also maybe the service should be named `maintenance`, as above.\r\n\r\nAlso, I had a doubt about this line `This isolated service contains only an nginx container, with our generic Maintenance page preloaded.`... \r\nIf I am not mistaken the nginx container exists now, but how can I preload a maintenance page? With `apply` and some config? sshing into the nginx container and creating it?\r\n\r\nJust a start...","created_at":"2019-07-02T22:47:17Z","updated_at":"2019-07-02T22:47:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Human-Connection/Human-Connection/pulls/956/commits","review_comments_url":"https://api.github.com/repos/Human-Connection/Human-Connection/pulls/956/comments","review_comment_url":"https://api.github.com/repos/Human-Connection/Human-Connection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Human-Connection/Human-Connection/issues/956/comments","statuses_url":"https://api.github.com/repos/Human-Connection/Human-Connection/statuses/b93ee1f79bcc8dad29f4880051451d710b304a97","head":{"label":"Human-Connection:906-maintenace-mode","ref":"906-maintenace-mode","sha":"b93ee1f79bcc8dad29f4880051451d710b304a97","user":{"login":"Human-Connection","id":18350713,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MzUwNzEz","avatar_url":"https://avatars1.githubusercontent.com/u/18350713?v=4","gravatar_id":"","url":"https://api.github.com/users/Human-Connection","html_url":"https://github.com/Human-Connection","followers_url":"https://api.github.com/users/Human-Connection/followers","following_url":"https://api.github.com/users/Human-Connection/following{/other_user}","gists_url":"https://api.github.com/users/Human-Connection/gists{/gist_id}","starred_url":"https://api.github.com/users/Human-Connection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Human-Connection/subscriptions","organizations_url":"https://api.github.com/users/Human-Connection/orgs","repos_url":"https://api.github.com/users/Human-Connection/repos","events_url":"https://api.github.com/users/Human-Connection/events{/privacy}","received_events_url":"https://api.github.com/users/Human-Connection/received_events","type":"Organization","site_admin":false},"repo":{"id":112590397,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI1OTAzOTc=","name":"Human-Connection","full_name":"Human-Connection/Human-Connection","private":false,"owner":{"login":"Human-Connection","id":18350713,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MzUwNzEz","avatar_url":"https://avatars1.githubusercontent.com/u/18350713?v=4","gravatar_id":"","url":"https://api.github.com/users/Human-Connection","html_url":"https://github.com/Human-Connection","followers_url":"https://api.github.com/users/Human-Connection/followers","following_url":"https://api.github.com/users/Human-Connection/following{/other_user}","gists_url":"https://api.github.com/users/Human-Connection/gists{/gist_id}","starred_url":"https://api.github.com/users/Human-Connection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Human-Connection/subscriptions","organizations_url":"https://api.github.com/users/Human-Connection/orgs","repos_url":"https://api.github.com/users/Human-Connection/repos","events_url":"https://api.github.com/users/Human-Connection/events{/privacy}","received_events_url":"https://api.github.com/users/Human-Connection/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Human-Connection/Human-Connection","description":"Free and open-source social network for active citizenship.","fork":false,"url":"https://api.github.com/repos/Human-Connection/Human-Connection","forks_url":"https://api.github.com/repos/Human-Connection/Human-Connection/forks","keys_url":"https://api.github.com/repos/Human-Connection/Human-Connection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Human-Connection/Human-Connection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Human-Connection/Human-Connection/teams","hooks_url":"https://api.github.com/repos/Human-Connection/Human-Connection/hooks","issue_events_url":"https://api.github.com/repos/Human-Connection/Human-Connection/issues/events{/number}","events_url":"https://api.github.com/repos/Human-Connection/Human-Connection/events","assignees_url":"https://api.github.com/repos/Human-Connection/Human-Connection/assignees{/user}","branches_url":"https://api.github.com/repos/Human-Connection/Human-Connection/branches{/branch}","tags_url":"https://api.github.com/repos/Human-Connection/Human-Connection/tags","blobs_url":"https://api.github.com/repos/Human-Connection/Human-Connection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Human-Connection/Human-Connection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Human-Connection/Human-Connection/git/refs{/sha}","trees_url":"https://api.github.com/repos/Human-Connection/Human-Connection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Human-Connection/Human-Connection/statuses/{sha}","languages_url":"https://api.github.com/repos/Human-Connection/Human-Connection/languages","stargazers_url":"https://api.github.com/repos/Human-Connection/Human-Connection/stargazers","contributors_url":"https://api.github.com/repos/Human-Connection/Human-Connection/contributors","subscribers_url":"https://api.github.com/repos/Human-Connection/Human-Connection/subscribers","subscription_url":"https://api.github.com/repos/Human-Connection/Human-Connection/subscription","commits_url":"https://api.github.com/repos/Human-Connection/Human-Connection/commits{/sha}","git_commits_url":"https://api.github.com/repos/Human-Connection/Human-Connection/git/commits{/sha}","comments_url":"https://api.github.com/repos/Human-Connection/Human-Connection/comments{/number}","issue_comment_url":"https://api.github.com/repos/Human-Connection/Human-Connection/issues/comments{/number}","contents_url":"https://api.github.com/repos/Human-Connection/Human-Connection/contents/{+path}","compare_url":"https://api.github.com/repos/Human-Connection/Human-Connection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Human-Connection/Human-Connection/merges","archive_url":"https://api.github.com/repos/Human-Connection/Human-Connection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Human-Connection/Human-Connection/downloads","issues_url":"https://api.github.com/repos/Human-Connection/Human-Connection/issues{/number}","pulls_url":"https://api.github.com/repos/Human-Connection/Human-Connection/pulls{/number}","milestones_url":"https://api.github.com/repos/Human-Connection/Human-Connection/milestones{/number}","notifications_url":"https://api.github.com/repos/Human-Connection/Human-Connection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Human-Connection/Human-Connection/labels{/name}","releases_url":"https://api.github.com/repos/Human-Connection/Human-Connection/releases{/id}","deployments_url":"https://api.github.com/repos/Human-Connection/Human-Connection/deployments","created_at":"2017-11-30T09:12:41Z","updated_at":"2019-07-02T22:31:08Z","pushed_at":"2019-07-02T22:36:43Z","git_url":"git://github.com/Human-Connection/Human-Connection.git","ssh_url":"git@github.com:Human-Connection/Human-Connection.git","clone_url":"https://github.com/Human-Connection/Human-Connection.git","svn_url":"https://github.com/Human-Connection/Human-Connection","homepage":"https://human-connection.org","size":30057,"stargazers_count":67,"watchers_count":67,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":186,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":28,"open_issues":186,"watchers":67,"default_branch":"master"}},"base":{"label":"Human-Connection:master","ref":"master","sha":"47732b3e137a9591624f42c9d4e5bf7fbe8a5971","user":{"login":"Human-Connection","id":18350713,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MzUwNzEz","avatar_url":"https://avatars1.githubusercontent.com/u/18350713?v=4","gravatar_id":"","url":"https://api.github.com/users/Human-Connection","html_url":"https://github.com/Human-Connection","followers_url":"https://api.github.com/users/Human-Connection/followers","following_url":"https://api.github.com/users/Human-Connection/following{/other_user}","gists_url":"https://api.github.com/users/Human-Connection/gists{/gist_id}","starred_url":"https://api.github.com/users/Human-Connection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Human-Connection/subscriptions","organizations_url":"https://api.github.com/users/Human-Connection/orgs","repos_url":"https://api.github.com/users/Human-Connection/repos","events_url":"https://api.github.com/users/Human-Connection/events{/privacy}","received_events_url":"https://api.github.com/users/Human-Connection/received_events","type":"Organization","site_admin":false},"repo":{"id":112590397,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI1OTAzOTc=","name":"Human-Connection","full_name":"Human-Connection/Human-Connection","private":false,"owner":{"login":"Human-Connection","id":18350713,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MzUwNzEz","avatar_url":"https://avatars1.githubusercontent.com/u/18350713?v=4","gravatar_id":"","url":"https://api.github.com/users/Human-Connection","html_url":"https://github.com/Human-Connection","followers_url":"https://api.github.com/users/Human-Connection/followers","following_url":"https://api.github.com/users/Human-Connection/following{/other_user}","gists_url":"https://api.github.com/users/Human-Connection/gists{/gist_id}","starred_url":"https://api.github.com/users/Human-Connection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Human-Connection/subscriptions","organizations_url":"https://api.github.com/users/Human-Connection/orgs","repos_url":"https://api.github.com/users/Human-Connection/repos","events_url":"https://api.github.com/users/Human-Connection/events{/privacy}","received_events_url":"https://api.github.com/users/Human-Connection/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Human-Connection/Human-Connection","description":"Free and open-source social network for active citizenship.","fork":false,"url":"https://api.github.com/repos/Human-Connection/Human-Connection","forks_url":"https://api.github.com/repos/Human-Connection/Human-Connection/forks","keys_url":"https://api.github.com/repos/Human-Connection/Human-Connection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Human-Connection/Human-Connection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Human-Connection/Human-Connection/teams","hooks_url":"https://api.github.com/repos/Human-Connection/Human-Connection/hooks","issue_events_url":"https://api.github.com/repos/Human-Connection/Human-Connection/issues/events{/number}","events_url":"https://api.github.com/repos/Human-Connection/Human-Connection/events","assignees_url":"https://api.github.com/repos/Human-Connection/Human-Connection/assignees{/user}","branches_url":"https://api.github.com/repos/Human-Connection/Human-Connection/branches{/branch}","tags_url":"https://api.github.com/repos/Human-Connection/Human-Connection/tags","blobs_url":"https://api.github.com/repos/Human-Connection/Human-Connection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Human-Connection/Human-Connection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Human-Connection/Human-Connection/git/refs{/sha}","trees_url":"https://api.github.com/repos/Human-Connection/Human-Connection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Human-Connection/Human-Connection/statuses/{sha}","languages_url":"https://api.github.com/repos/Human-Connection/Human-Connection/languages","stargazers_url":"https://api.github.com/repos/Human-Connection/Human-Connection/stargazers","contributors_url":"https://api.github.com/repos/Human-Connection/Human-Connection/contributors","subscribers_url":"https://api.github.com/repos/Human-Connection/Human-Connection/subscribers","subscription_url":"https://api.github.com/repos/Human-Connection/Human-Connection/subscription","commits_url":"https://api.github.com/repos/Human-Connection/Human-Connection/commits{/sha}","git_commits_url":"https://api.github.com/repos/Human-Connection/Human-Connection/git/commits{/sha}","comments_url":"https://api.github.com/repos/Human-Connection/Human-Connection/comments{/number}","issue_comment_url":"https://api.github.com/repos/Human-Connection/Human-Connection/issues/comments{/number}","contents_url":"https://api.github.com/repos/Human-Connection/Human-Connection/contents/{+path}","compare_url":"https://api.github.com/repos/Human-Connection/Human-Connection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Human-Connection/Human-Connection/merges","archive_url":"https://api.github.com/repos/Human-Connection/Human-Connection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Human-Connection/Human-Connection/downloads","issues_url":"https://api.github.com/repos/Human-Connection/Human-Connection/issues{/number}","pulls_url":"https://api.github.com/repos/Human-Connection/Human-Connection/pulls{/number}","milestones_url":"https://api.github.com/repos/Human-Connection/Human-Connection/milestones{/number}","notifications_url":"https://api.github.com/repos/Human-Connection/Human-Connection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Human-Connection/Human-Connection/labels{/name}","releases_url":"https://api.github.com/repos/Human-Connection/Human-Connection/releases{/id}","deployments_url":"https://api.github.com/repos/Human-Connection/Human-Connection/deployments","created_at":"2017-11-30T09:12:41Z","updated_at":"2019-07-02T22:31:08Z","pushed_at":"2019-07-02T22:36:43Z","git_url":"git://github.com/Human-Connection/Human-Connection.git","ssh_url":"git@github.com:Human-Connection/Human-Connection.git","clone_url":"https://github.com/Human-Connection/Human-Connection.git","svn_url":"https://github.com/Human-Connection/Human-Connection","homepage":"https://human-connection.org","size":30057,"stargazers_count":67,"watchers_count":67,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":186,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":28,"open_issues":186,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Human-Connection/Human-Connection/pulls/956"},"html":{"href":"https://github.com/Human-Connection/Human-Connection/pull/956"},"issue":{"href":"https://api.github.com/repos/Human-Connection/Human-Connection/issues/956"},"comments":{"href":"https://api.github.com/repos/Human-Connection/Human-Connection/issues/956/comments"},"review_comments":{"href":"https://api.github.com/repos/Human-Connection/Human-Connection/pulls/956/comments"},"review_comment":{"href":"https://api.github.com/repos/Human-Connection/Human-Connection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Human-Connection/Human-Connection/pulls/956/commits"},"statuses":{"href":"https://api.github.com/repos/Human-Connection/Human-Connection/statuses/b93ee1f79bcc8dad29f4880051451d710b304a97"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":14,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"mattwr18"}}