{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/109509918","pull_request_review_id":30617097,"id":109509918,"diff_hunk":"@@ -0,0 +1,87 @@\n+[[scaling-performance-compute-resources]]\n+= Optimizing Compute Resources\n+{product-author}\n+{product-version}\n+:data-uri:\n+:icons:\n+:experimental:\n+\n+[[scaling-performance-overcomitting]]\n+== Overcommitting\n+\n+You can use overcommit procedures so that resources such as CPU and memory are\n+more accessible to the parts of your cluster that need them.\n+\n+Note that when you overcommit, there is a risk that another application may\n+not have access to the resources it requires when it needs them, which will\n+result in reduced performance. However, this may be an acceptable tradeoff in\n+favor of increased density and reduced costs. For example, development, QA or\n+test environments may be overcommited, whereas production might not be.\n+\n+{product-title} implements resource management through the compute resource model and\n+quota system. See the documentation for more information about the\n+xref:../dev_guide/compute_resources.html[OpenShift resource model].\n+\n+For more information and strategies for overcommiting, see the\n+xref:../admin_guide/overcommit.html[Overcommitting documentation in the Cluster\n+Administration Guide].\n+\n+[[scaling-performance-image-considerations]]\n+== Image Considerations\n+\n+[[scaling-performance-gold-image]]\n+=== Using a Gold Image to Improve Efficiency\n+\n+You can create a base {product-title} image with a number of tasks built-in to\n+improve efficiency, maintain configuration consistency on all node hosts, and\n+reduce repetitive tasks.\n+\n+For example, because every node requires the `ose-pod` image in order to run\n+pods, each node has to periodically connect to the Docker registry in order to\n+pull the latest image. This can become problematic when you have one hundred\n+nodes attempting this at the same time, and can lead to resource contention on\n+the image registry, waste of network bandwidth, and increased pod launch times.\n+\n+To build a gold image:\n+\n+* Create an instance of the type and size required.\n+* Ensure a dedicated storage device is available for Docker local image/container storage, separate from any persistent volumes for containers.\n+* Fully update the system, and ensure Docker is installed.\n+* Ensure the host has access to all yum repos.\n+* link:https://access.redhat.com/documentation/en/red-hat-enterprise-linux-atomic-host/7/getting-started-with-containers/chapter-8-managing-storage-with-docker-formatted-containers[Set up thin-provisioned LVM storage].\n+* Pre-seed your commonly used images (such as the rhel7 base image), as well as\n+ {product-title} infrastructure container images (ose-pod, ose-deployer, etc.)\n+ into your gold image.\n+\n+Ensure that gold images are configured for any appropriate cluster\n+configurations, for example, able to run on OpenStack, or AWS.\n+\n+[[scaling-performance-prepulling-images]]\n+=== Pre-pulling Images\n+\n+To efficiently produce images, you can pre-pull any necessary container images\n+to all node hosts. This means the image does not have to be initially pulled,\n+which saves time and performance over slow connections, especially for images,\n+such as s2i, metrics, and logging, which can be large.\n+\n+This is also useful for machines that can't access the registry for security\n+purposes.\n+\n+[[scaling-performance-debugging]]\n+== Debugging {product-title} Using the RHEL Tools Container\n+\n+Red Hat distributes a `rhel-tools` container, which:","path":"scaling_performance/optimizing_compute_resources.adoc","position":73,"original_position":73,"commit_id":"9960f131c6068c42070bbe08a25552412b9f0866","original_commit_id":"9960f131c6068c42070bbe08a25552412b9f0866","user":{"login":"ahardin-rh","id":16197393,"avatar_url":"https://avatars2.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":"    *rhel-tools* (name of a container)","created_at":"2017-04-03T19:58:44Z","updated_at":"2017-04-03T19:58:44Z","html_url":"https://github.com/openshift/openshift-docs/pull/3881#discussion_r109509918","pull_request_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/3881","_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/comments/109509918"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/3881#discussion_r109509918"},"pull_request":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/3881"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-docs/pulls/3881","id":109407662,"html_url":"https://github.com/openshift/openshift-docs/pull/3881","diff_url":"https://github.com/openshift/openshift-docs/pull/3881.diff","patch_url":"https://github.com/openshift/openshift-docs/pull/3881.patch","issue_url":"https://api.github.com/repos/openshift/openshift-docs/issues/3881","number":3881,"state":"open","locked":false,"title":"[WIP] Added the Scaling and Performance Guide","user":{"login":"bfallonf","id":5474938,"avatar_url":"https://avatars3.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":"As per: https://bugzilla.redhat.com/show_bug.cgi?id=1420956\r\n\r\nPreview: http://file.bne.redhat.com/bfallonf/03042017/planning_1420956/scaling_performance/index.html\r\n\r\nStill a lot of work to do. Creating the PR for tracking.","created_at":"2017-03-07T05:08:03Z","updated_at":"2017-04-03T19:58:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e43264411fcc7eb79747d02aa7363b5389a6370","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/3881/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-docs/pulls/3881/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/3881/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-docs/statuses/9960f131c6068c42070bbe08a25552412b9f0866","head":{"label":"bfallonf:planning_1420956","ref":"planning_1420956","sha":"9960f131c6068c42070bbe08a25552412b9f0866","user":{"login":"bfallonf","id":5474938,"avatar_url":"https://avatars3.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":30393503,"name":"openshift-docs","full_name":"bfallonf/openshift-docs","owner":{"login":"bfallonf","id":5474938,"avatar_url":"https://avatars3.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}","deployments_url":"https://api.github.com/repos/bfallonf/openshift-docs/deployments","created_at":"2015-02-06T03:37:52Z","updated_at":"2016-11-09T01:36:15Z","pushed_at":"2017-04-03T05:16:24Z","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":34411,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"b0506455963ae2ff2ecb28e56fd112c3eb85e48f","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars0.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://avatars0.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":"2017-03-31T21:39:48Z","pushed_at":"2017-04-03T19:47:50Z","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":34844,"stargazers_count":78,"watchers_count":78,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":333,"mirror_url":null,"open_issues_count":244,"forks":333,"open_issues":244,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/3881"},"html":{"href":"https://github.com/openshift/openshift-docs/pull/3881"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/3881"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/issues/3881/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-docs/pulls/3881/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/3881/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-docs/statuses/9960f131c6068c42070bbe08a25552412b9f0866"}}}}
{"actor":{"display_login":"ahardin-rh"}}