{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/90665395","pull_request_review_id":11184660,"id":90665395,"diff_hunk":"@@ -0,0 +1,98 @@\n+[[dev-guide-event-notifications]]\n+= Event Notifications\n+{product-author}\n+{product-version}\n+:data-uri:\n+:icons:\n+:experimental:\n+:toc: macro\n+:toc-title:\n+\n+toc::[]\n+\n+== Overview\n+For each of your projects, you can choose to receive email notifications about\n+various xref:../dev_guide/events.adoc#dev-guide-events[events], including:\n+\n+* _Dead deployment_: A failed deployment in which no other deployment in the\n+rollout history is able to remain active. The related deployment configuration\n+has no deployments with active replicas.\n+\n+* _Failed deployment_: A new deployment fails and another deployment in the\n+rollout history is now active. The related deployment configuration has one\n+active deployment, but it is not the latest deployment.\n+\n+* _Stuck deployment_: A deployment in which the active replicas are less than the\n+replicas defined by the deployment configuration for a significant amount of\n+time.\n+\n+* _Dead build_: Occurs when automatically triggered builds are failing for a\n+specified build configuration that previously had successful builds.\n+\n+* _Dead persistent volume claim_: A claim that is in the pending state for longer\n+than some reasonable amount of time. These are claims whose resource requests\n+likely do not match with any existing persistent volumes in the cluster.\n+\n+* _Lost persistent volume claim_: A claim that is bound to a backing persistent\n+volume, but the persistent volume has unexpectedly gone away.\n+\n+[[event-notifications-how-it-works]]\n+== How It Works\n+\n+The Event Notifications feature continually monitors resources across the\n+cluster. When problems are detected, notifications are sent to the email address\n+of the project creator, designated in the `requester` field of the project.\n+These notifications are throttled so that the recipient is not overwhelmed with\n+email messages.\n+\n+[[event-notifications-configuring-notifications]]\n+== Configuring Notifications via the Web Console\n+\n+From the web console:\n+\n+. Select *Monitoring* from the left-hand navigation.\n+\n+. Select *Notifications* from the *Monitoring* dropdown menu.\n++\n+image::monitoring_menu.png[Monitoring Menu]\n+\n+. Select your preferences on the *Notifications* page.\n++\n+image::notifications_UI.png[Notifications Menu]\n+\n+. Click the *Save* button at the bottom of the page.\n++\n+Once your options are successfully saved, this message will appear at the top of\n+the page:\n++\n+image::success_message.png[Success Message]\n+\n+[[event-notifications-storing-preferences]]\n+== Storing Preferences\n+\n+The Event Notifications feature uses a\n+xref:../dev_guide/configmaps.adoc#dev-guide-configmaps[ConfigMap] named\n+`openshift-online-notifications` in each namespace to store preferences. The\n+preferences allow users to specify which resources they would like to receive\n+notifications for. An interface is provided in the web console to easily\n+xref:event-notifications-configuring-notifications[modify these preferences].\n+\n+.Example ConfigMap for Event Notification Preferences\n+----\n+{\n+    \"kind\": \"ConfigMap\",\n+    \"apiVersion\": \"v1\",\n+    \"metadata\": {\n+        \"name\": \"openshift-online-notifications\",\n+        \"namespace\": \"example\",\n+    },\n+    \"data\": {\n+        \"builds-enabled\": \"true\",\n+        \"deployments-enabled\": \"true\",\n+        \"storage-enabled\": \"true\"\n+    }\n+}\n+----","path":"dev_guide/event_notifications.adoc","position":95,"original_position":95,"commit_id":"7d0fba5971256ca5d905e4d3b7ad5918712844ce","original_commit_id":"7d0fba5971256ca5d905e4d3b7ad5918712844ce","user":{"login":"tiwillia","id":5197933,"avatar_url":"https://avatars.githubusercontent.com/u/5197933?v=3","gravatar_id":"","url":"https://api.github.com/users/tiwillia","html_url":"https://github.com/tiwillia","followers_url":"https://api.github.com/users/tiwillia/followers","following_url":"https://api.github.com/users/tiwillia/following{/other_user}","gists_url":"https://api.github.com/users/tiwillia/gists{/gist_id}","starred_url":"https://api.github.com/users/tiwillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiwillia/subscriptions","organizations_url":"https://api.github.com/users/tiwillia/orgs","repos_url":"https://api.github.com/users/tiwillia/repos","events_url":"https://api.github.com/users/tiwillia/events{/privacy}","received_events_url":"https://api.github.com/users/tiwillia/received_events","type":"User","site_admin":false},"body":"Here ya go:\r\n```\r\n---\r\nkind: ConfigMap\r\napiVersion: v1\r\nmetadata:\r\n  name: openshift-online-notifications\r\n  namespace: example\r\ndata:\r\n  builds-enabled: 'true'\r\n  deployments-enabled: 'true'\r\n  storage-enabled: 'true'\r\n```","created_at":"2016-12-02T15:49:17Z","updated_at":"2016-12-02T15:49:17Z","html_url":"https://github.com/openshift/openshift-docs/pull/3290#discussion_r90665395","pull_request_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/3290","_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/90665395"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/3290#discussion_r90665395"},"pull_request":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/3290"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/3290","id":95569248,"html_url":"https://github.com/openshift/openshift-docs/pull/3290","diff_url":"https://github.com/openshift/openshift-docs/pull/3290.diff","patch_url":"https://github.com/openshift/openshift-docs/pull/3290.patch","issue_url":"https://api.github.com/repos/openshift/openshift-docs/issues/3290","number":3290,"state":"open","locked":false,"title":"Bug 1399149, new Event Notifications topic","user":{"login":"ahardin-rh","id":16197393,"avatar_url":"https://avatars.githubusercontent.com/u/16197393?v=3","gravatar_id":"","url":"https://api.github.com/users/ahardin-rh","html_url":"https://github.com/ahardin-rh","followers_url":"https://api.github.com/users/ahardin-rh/followers","following_url":"https://api.github.com/users/ahardin-rh/following{/other_user}","gists_url":"https://api.github.com/users/ahardin-rh/gists{/gist_id}","starred_url":"https://api.github.com/users/ahardin-rh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahardin-rh/subscriptions","organizations_url":"https://api.github.com/users/ahardin-rh/orgs","repos_url":"https://api.github.com/users/ahardin-rh/repos","events_url":"https://api.github.com/users/ahardin-rh/events{/privacy}","received_events_url":"https://api.github.com/users/ahardin-rh/received_events","type":"User","site_admin":false},"body":"https://bugzilla.redhat.com/show_bug.cgi?id=1399149\r\n\r\nPreview Build: http://file.rdu.redhat.com/~ahardin/112816/notifications/dev_guide/event_notifications.html","created_at":"2016-11-28T20:18:46Z","updated_at":"2016-12-02T15:49:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41ff1eb84e00f7ae745115c2cfed8ddc0395812e","assignee":{"login":"ahardin-rh","id":16197393,"avatar_url":"https://avatars.githubusercontent.com/u/16197393?v=3","gravatar_id":"","url":"https://api.github.com/users/ahardin-rh","html_url":"https://github.com/ahardin-rh","followers_url":"https://api.github.com/users/ahardin-rh/followers","following_url":"https://api.github.com/users/ahardin-rh/following{/other_user}","gists_url":"https://api.github.com/users/ahardin-rh/gists{/gist_id}","starred_url":"https://api.github.com/users/ahardin-rh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahardin-rh/subscriptions","organizations_url":"https://api.github.com/users/ahardin-rh/orgs","repos_url":"https://api.github.com/users/ahardin-rh/repos","events_url":"https://api.github.com/users/ahardin-rh/events{/privacy}","received_events_url":"https://api.github.com/users/ahardin-rh/received_events","type":"User","site_admin":false},"assignees":[{"login":"ahardin-rh","id":16197393,"avatar_url":"https://avatars.githubusercontent.com/u/16197393?v=3","gravatar_id":"","url":"https://api.github.com/users/ahardin-rh","html_url":"https://github.com/ahardin-rh","followers_url":"https://api.github.com/users/ahardin-rh/followers","following_url":"https://api.github.com/users/ahardin-rh/following{/other_user}","gists_url":"https://api.github.com/users/ahardin-rh/gists{/gist_id}","starred_url":"https://api.github.com/users/ahardin-rh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahardin-rh/subscriptions","organizations_url":"https://api.github.com/users/ahardin-rh/orgs","repos_url":"https://api.github.com/users/ahardin-rh/repos","events_url":"https://api.github.com/users/ahardin-rh/events{/privacy}","received_events_url":"https://api.github.com/users/ahardin-rh/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/openshift/openshift-docs/milestones/6","html_url":"https://github.com/openshift/openshift-docs/milestones/Future%20Release","labels_url":"https://api.github.com/repos/openshift/openshift-docs/milestones/6/labels","id":1435997,"number":6,"title":"Future Release","description":"Tracker for content relevant to latest Origin code, but still targeting a future release of Enterprise, Dedicated, and/or Online.","creator":{"login":"adellape","id":3442316,"avatar_url":"https://avatars.githubusercontent.com/u/3442316?v=3","gravatar_id":"","url":"https://api.github.com/users/adellape","html_url":"https://github.com/adellape","followers_url":"https://api.github.com/users/adellape/followers","following_url":"https://api.github.com/users/adellape/following{/other_user}","gists_url":"https://api.github.com/users/adellape/gists{/gist_id}","starred_url":"https://api.github.com/users/adellape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adellape/subscriptions","organizations_url":"https://api.github.com/users/adellape/orgs","repos_url":"https://api.github.com/users/adellape/repos","events_url":"https://api.github.com/users/adellape/events{/privacy}","received_events_url":"https://api.github.com/users/adellape/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":64,"state":"open","created_at":"2015-11-30T20:14:06Z","updated_at":"2016-12-01T16:49:55Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/3290/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/3290/comments","review_comment_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/openshift-docs/issues/3290/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-docs/statuses/7d0fba5971256ca5d905e4d3b7ad5918712844ce","head":{"label":"ahardin-rh:notifications","ref":"notifications","sha":"7d0fba5971256ca5d905e4d3b7ad5918712844ce","user":{"login":"ahardin-rh","id":16197393,"avatar_url":"https://avatars.githubusercontent.com/u/16197393?v=3","gravatar_id":"","url":"https://api.github.com/users/ahardin-rh","html_url":"https://github.com/ahardin-rh","followers_url":"https://api.github.com/users/ahardin-rh/followers","following_url":"https://api.github.com/users/ahardin-rh/following{/other_user}","gists_url":"https://api.github.com/users/ahardin-rh/gists{/gist_id}","starred_url":"https://api.github.com/users/ahardin-rh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahardin-rh/subscriptions","organizations_url":"https://api.github.com/users/ahardin-rh/orgs","repos_url":"https://api.github.com/users/ahardin-rh/repos","events_url":"https://api.github.com/users/ahardin-rh/events{/privacy}","received_events_url":"https://api.github.com/users/ahardin-rh/received_events","type":"User","site_admin":false},"repo":{"id":47579606,"name":"openshift-docs","full_name":"ahardin-rh/openshift-docs","owner":{"login":"ahardin-rh","id":16197393,"avatar_url":"https://avatars.githubusercontent.com/u/16197393?v=3","gravatar_id":"","url":"https://api.github.com/users/ahardin-rh","html_url":"https://github.com/ahardin-rh","followers_url":"https://api.github.com/users/ahardin-rh/followers","following_url":"https://api.github.com/users/ahardin-rh/following{/other_user}","gists_url":"https://api.github.com/users/ahardin-rh/gists{/gist_id}","starred_url":"https://api.github.com/users/ahardin-rh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahardin-rh/subscriptions","organizations_url":"https://api.github.com/users/ahardin-rh/orgs","repos_url":"https://api.github.com/users/ahardin-rh/repos","events_url":"https://api.github.com/users/ahardin-rh/events{/privacy}","received_events_url":"https://api.github.com/users/ahardin-rh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahardin-rh/openshift-docs","description":"OpenShift Documentation","fork":true,"url":"https://api.github.com/repos/ahardin-rh/openshift-docs","forks_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/forks","keys_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/teams","hooks_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/hooks","issue_events_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/issues/events{/number}","events_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/events","assignees_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/assignees{/user}","branches_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/branches{/branch}","tags_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/tags","blobs_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/languages","stargazers_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/stargazers","contributors_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/contributors","subscribers_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/subscribers","subscription_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/subscription","commits_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/contents/{+path}","compare_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/merges","archive_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/downloads","issues_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/issues{/number}","pulls_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/labels{/name}","releases_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/releases{/id}","deployments_url":"https://api.github.com/repos/ahardin-rh/openshift-docs/deployments","created_at":"2015-12-07T21:14:47Z","updated_at":"2016-11-08T21:20:47Z","pushed_at":"2016-12-01T19:43:32Z","git_url":"git://github.com/ahardin-rh/openshift-docs.git","ssh_url":"git@github.com:ahardin-rh/openshift-docs.git","clone_url":"https://github.com/ahardin-rh/openshift-docs.git","svn_url":"https://github.com/ahardin-rh/openshift-docs","homepage":null,"size":23126,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"546d2a115fed5a4d6c7eb46c52709e3a22855c24","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":21740844,"name":"openshift-docs","full_name":"openshift/openshift-docs","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/openshift-docs","description":"OpenShift Documentation","fork":false,"url":"https://api.github.com/repos/openshift/openshift-docs","forks_url":"https://api.github.com/repos/openshift/openshift-docs/forks","keys_url":"https://api.github.com/repos/openshift/openshift-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/openshift-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/openshift-docs/teams","hooks_url":"https://api.github.com/repos/openshift/openshift-docs/hooks","issue_events_url":"https://api.github.com/repos/openshift/openshift-docs/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/openshift-docs/events","assignees_url":"https://api.github.com/repos/openshift/openshift-docs/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/openshift-docs/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/openshift-docs/tags","blobs_url":"https://api.github.com/repos/openshift/openshift-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/openshift-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/openshift-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/openshift-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/openshift-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/openshift-docs/languages","stargazers_url":"https://api.github.com/repos/openshift/openshift-docs/stargazers","contributors_url":"https://api.github.com/repos/openshift/openshift-docs/contributors","subscribers_url":"https://api.github.com/repos/openshift/openshift-docs/subscribers","subscription_url":"https://api.github.com/repos/openshift/openshift-docs/subscription","commits_url":"https://api.github.com/repos/openshift/openshift-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/openshift-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/openshift-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/openshift-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/openshift-docs/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/openshift-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/openshift-docs/merges","archive_url":"https://api.github.com/repos/openshift/openshift-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/openshift-docs/downloads","issues_url":"https://api.github.com/repos/openshift/openshift-docs/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/openshift-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/openshift-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/openshift-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/openshift-docs/labels{/name}","releases_url":"https://api.github.com/repos/openshift/openshift-docs/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/openshift-docs/deployments","created_at":"2014-07-11T15:14:42Z","updated_at":"2016-11-30T19:30:16Z","pushed_at":"2016-12-02T14:52:02Z","git_url":"git://github.com/openshift/openshift-docs.git","ssh_url":"git@github.com:openshift/openshift-docs.git","clone_url":"https://github.com/openshift/openshift-docs.git","svn_url":"https://github.com/openshift/openshift-docs","homepage":"https://docs.openshift.org/latest/welcome/index.html","size":32776,"stargazers_count":62,"watchers_count":62,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":273,"mirror_url":null,"open_issues_count":214,"forks":273,"open_issues":214,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/3290"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/3290"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/3290"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/3290/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/3290/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/3290/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-docs/statuses/7d0fba5971256ca5d905e4d3b7ad5918712844ce"}}}}
{"actor":{"display_login":"tiwillia"}}