{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/23587064","id":23587064,"diff_hunk":"@@ -143,23 +110,86 @@ Currently, the Kubernetes documentation does not provide an example of a Pod's J\n }\n ----\n <1> The labels are stored in key/value format in the `annotation` hash. The original label in this example is `deployment=docker-registry-1`.\n-<2> The docker image(s) that define the Pod are listed are provided in the `containers` list along with related environment variable mappings.\n+<2> The Docker image(s) that define the pod are provided in the `containers` list along with related environment variable mappings.\n \n == Label\n \n-Labels are used to organize and filter resources. Pods are \"tagged\" with labels, and then Services and ReplicationControllers use labels to indicate which pods they relate to. This abstraction makes it possible for Services and ReplicationControllers to reference whole groups of Pods, and also to treat Pods with potentially different docker containers as like entities. For instance, consider:\n+Labels are used to organize, group, or select objects and resources, such as pods. Pods are \"tagged\" with labels, and then services and replication controllers use labels to indicate the pods they relate to. This makes it possible for services and replication controllers to reference whole groups of pods, or treat pods with potentially different Docker containers as similar entities.\n+\n+Labels are a Key/Value pair, and shown in the following example:\n+\n+----\n+\n+\"labels\": {\n+  \"key1\" : \"value1\",\n+  \"key2\" : \"value2\"\n+}\n+----\n+\n+Consider:\n \n-* A Pod consisting of an nginx docker container, with the label \"role=webserver\"\n-* A Pod consisting of an apache docker container, with the same label \"role=webserver\"\n+* A pod consisting of an nginx Docker container, with the label \"role=webserver\"\n+* A pod consisting of an Apache Docker container, with the same label \"role=webserver\"\n \n-A Service or ReplicationController that is defined to use Pods with the \"role=webserver\" label will treat both of these pods as part of the same group.\n+A service or replication controller that is defined to use pods with the \"role=webserver\" label will treat both of these pods as part of the same group. \n \n-For more information on Labels, refer to the https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/labels.md[Kubernetes documentation].\n+For more information on labels, refer to the https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/labels.md[Kubernetes documentation]. ","path":"architecture/kubernetes_model.adoc","position":87,"original_position":87,"commit_id":"378823269ba6e171c19eb11686fb1faca12c6d1b","original_commit_id":"378823269ba6e171c19eb11686fb1faca12c6d1b","user":{"login":"CowboysFan","id":5652976,"avatar_url":"https://avatars.githubusercontent.com/u/5652976?v=3","gravatar_id":"","url":"https://api.github.com/users/CowboysFan","html_url":"https://github.com/CowboysFan","followers_url":"https://api.github.com/users/CowboysFan/followers","following_url":"https://api.github.com/users/CowboysFan/following{/other_user}","gists_url":"https://api.github.com/users/CowboysFan/gists{/gist_id}","starred_url":"https://api.github.com/users/CowboysFan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CowboysFan/subscriptions","organizations_url":"https://api.github.com/users/CowboysFan/orgs","repos_url":"https://api.github.com/users/CowboysFan/repos","events_url":"https://api.github.com/users/CowboysFan/events{/privacy}","received_events_url":"https://api.github.com/users/CowboysFan/received_events","type":"User","site_admin":false},"body":"s/refer to/see","created_at":"2015-01-27T04:49:53Z","updated_at":"2015-01-27T04:49:53Z","html_url":"https://github.com/openshift/openshift-docs/pull/82#discussion_r23587064","pull_request_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/82","_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/23587064"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/82#discussion_r23587064"},"pull_request":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/82","id":27895702,"html_url":"https://github.com/openshift/openshift-docs/pull/82","diff_url":"https://github.com/openshift/openshift-docs/pull/82.diff","patch_url":"https://github.com/openshift/openshift-docs/pull/82.patch","issue_url":"https://api.github.com/repos/openshift/openshift-docs/issues/82","number":82,"state":"closed","locked":false,"title":"added previous edits","user":{"login":"bfallonf","id":5474938,"avatar_url":"https://avatars.githubusercontent.com/u/5474938?v=3","gravatar_id":"","url":"https://api.github.com/users/bfallonf","html_url":"https://github.com/bfallonf","followers_url":"https://api.github.com/users/bfallonf/followers","following_url":"https://api.github.com/users/bfallonf/following{/other_user}","gists_url":"https://api.github.com/users/bfallonf/gists{/gist_id}","starred_url":"https://api.github.com/users/bfallonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfallonf/subscriptions","organizations_url":"https://api.github.com/users/bfallonf/orgs","repos_url":"https://api.github.com/users/bfallonf/repos","events_url":"https://api.github.com/users/bfallonf/events{/privacy}","received_events_url":"https://api.github.com/users/bfallonf/received_events","type":"User","site_admin":false},"body":"Added to files in architecture directory","created_at":"2015-01-23T01:57:14Z","updated_at":"2015-01-27T04:49:53Z","closed_at":"2015-01-27T04:12:32Z","merged_at":"2015-01-27T04:12:32Z","merge_commit_sha":"610ade2868c8a222a611687d3c53d7115d006e10","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/82/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/82/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/82/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-docs/statuses/378823269ba6e171c19eb11686fb1faca12c6d1b","head":{"label":"bfallonf:testbranch","ref":"testbranch","sha":"378823269ba6e171c19eb11686fb1faca12c6d1b","user":{"login":"bfallonf","id":5474938,"avatar_url":"https://avatars.githubusercontent.com/u/5474938?v=3","gravatar_id":"","url":"https://api.github.com/users/bfallonf","html_url":"https://github.com/bfallonf","followers_url":"https://api.github.com/users/bfallonf/followers","following_url":"https://api.github.com/users/bfallonf/following{/other_user}","gists_url":"https://api.github.com/users/bfallonf/gists{/gist_id}","starred_url":"https://api.github.com/users/bfallonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfallonf/subscriptions","organizations_url":"https://api.github.com/users/bfallonf/orgs","repos_url":"https://api.github.com/users/bfallonf/repos","events_url":"https://api.github.com/users/bfallonf/events{/privacy}","received_events_url":"https://api.github.com/users/bfallonf/received_events","type":"User","site_admin":false},"repo":{"id":29709118,"name":"openshift-docs","full_name":"bfallonf/openshift-docs","owner":{"login":"bfallonf","id":5474938,"avatar_url":"https://avatars.githubusercontent.com/u/5474938?v=3","gravatar_id":"","url":"https://api.github.com/users/bfallonf","html_url":"https://github.com/bfallonf","followers_url":"https://api.github.com/users/bfallonf/followers","following_url":"https://api.github.com/users/bfallonf/following{/other_user}","gists_url":"https://api.github.com/users/bfallonf/gists{/gist_id}","starred_url":"https://api.github.com/users/bfallonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfallonf/subscriptions","organizations_url":"https://api.github.com/users/bfallonf/orgs","repos_url":"https://api.github.com/users/bfallonf/repos","events_url":"https://api.github.com/users/bfallonf/events{/privacy}","received_events_url":"https://api.github.com/users/bfallonf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bfallonf/openshift-docs","description":"OpenShift Documentation","fork":true,"url":"https://api.github.com/repos/bfallonf/openshift-docs","forks_url":"https://api.github.com/repos/bfallonf/openshift-docs/forks","keys_url":"https://api.github.com/repos/bfallonf/openshift-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bfallonf/openshift-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bfallonf/openshift-docs/teams","hooks_url":"https://api.github.com/repos/bfallonf/openshift-docs/hooks","issue_events_url":"https://api.github.com/repos/bfallonf/openshift-docs/issues/events{/number}","events_url":"https://api.github.com/repos/bfallonf/openshift-docs/events","assignees_url":"https://api.github.com/repos/bfallonf/openshift-docs/assignees{/user}","branches_url":"https://api.github.com/repos/bfallonf/openshift-docs/branches{/branch}","tags_url":"https://api.github.com/repos/bfallonf/openshift-docs/tags","blobs_url":"https://api.github.com/repos/bfallonf/openshift-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bfallonf/openshift-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bfallonf/openshift-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/bfallonf/openshift-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bfallonf/openshift-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/bfallonf/openshift-docs/languages","stargazers_url":"https://api.github.com/repos/bfallonf/openshift-docs/stargazers","contributors_url":"https://api.github.com/repos/bfallonf/openshift-docs/contributors","subscribers_url":"https://api.github.com/repos/bfallonf/openshift-docs/subscribers","subscription_url":"https://api.github.com/repos/bfallonf/openshift-docs/subscription","commits_url":"https://api.github.com/repos/bfallonf/openshift-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/bfallonf/openshift-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/bfallonf/openshift-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/bfallonf/openshift-docs/issues/comments/{number}","contents_url":"https://api.github.com/repos/bfallonf/openshift-docs/contents/{+path}","compare_url":"https://api.github.com/repos/bfallonf/openshift-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bfallonf/openshift-docs/merges","archive_url":"https://api.github.com/repos/bfallonf/openshift-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bfallonf/openshift-docs/downloads","issues_url":"https://api.github.com/repos/bfallonf/openshift-docs/issues{/number}","pulls_url":"https://api.github.com/repos/bfallonf/openshift-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/bfallonf/openshift-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/bfallonf/openshift-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bfallonf/openshift-docs/labels{/name}","releases_url":"https://api.github.com/repos/bfallonf/openshift-docs/releases{/id}","created_at":"2015-01-23T00:54:27Z","updated_at":"2015-01-27T04:21:12Z","pushed_at":"2015-01-27T04:22:10Z","git_url":"git://github.com/bfallonf/openshift-docs.git","ssh_url":"git@github.com:bfallonf/openshift-docs.git","clone_url":"https://github.com/bfallonf/openshift-docs.git","svn_url":"https://github.com/bfallonf/openshift-docs","homepage":null,"size":1348,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"e3a1504372f5142b9a1e3c4d8d01969bed17ebfa","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}","created_at":"2014-07-11T15:14:42Z","updated_at":"2015-01-27T04:12:33Z","pushed_at":"2015-01-27T04:12:32Z","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":null,"size":1348,"stargazers_count":11,"watchers_count":11,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":3,"forks":31,"open_issues":3,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/82"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/82"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/82"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/82/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/82/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-docs/statuses/378823269ba6e171c19eb11686fb1faca12c6d1b"}}}}