{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/9612","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/9612/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/9612/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/9612/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/9612","id":87112530,"number":9612,"title":"[DO NOT MERGE] Autoscaler implementation","user":{"login":"ramr","id":928868,"avatar_url":"https://avatars.githubusercontent.com/u/928868?v=3","gravatar_id":"","url":"https://api.github.com/users/ramr","html_url":"https://github.com/ramr","followers_url":"https://api.github.com/users/ramr/followers","following_url":"https://api.github.com/users/ramr/following{/other_user}","gists_url":"https://api.github.com/users/ramr/gists{/gist_id}","starred_url":"https://api.github.com/users/ramr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramr/subscriptions","organizations_url":"https://api.github.com/users/ramr/orgs","repos_url":"https://api.github.com/users/ramr/repos","events_url":"https://api.github.com/users/ramr/events{/privacy}","received_events_url":"https://api.github.com/users/ramr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/cla:%20no","name":"cla: no","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"davidopp","id":8264113,"avatar_url":"https://avatars.githubusercontent.com/u/8264113?v=3","gravatar_id":"","url":"https://api.github.com/users/davidopp","html_url":"https://github.com/davidopp","followers_url":"https://api.github.com/users/davidopp/followers","following_url":"https://api.github.com/users/davidopp/following{/other_user}","gists_url":"https://api.github.com/users/davidopp/gists{/gist_id}","starred_url":"https://api.github.com/users/davidopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidopp/subscriptions","organizations_url":"https://api.github.com/users/davidopp/orgs","repos_url":"https://api.github.com/users/davidopp/repos","events_url":"https://api.github.com/users/davidopp/events{/privacy}","received_events_url":"https://api.github.com/users/davidopp/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2015-06-10T21:24:41Z","updated_at":"2015-06-30T23:21:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/9612","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/9612","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/9612.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/9612.patch"},"body":"This is step 2 of the autoscaler implementation - building on the types defined by @pweil-  in https://github.com/GoogleCloudPlatform/kubernetes/pull/5492 \r\nand the original autoscaler proposal from @smarterclayton at: #2863\r\n\r\nTo test, define a replication controller and an autoscaler configuration - example at: https://github.com/ramr/autoscaler-k8s-test/blob/master/test-as.json\r\nand the replication controller gets scaled automatically to the min/max limits set in the autoscaler spec.\r\n\r\nOr you can use the test repo at https://github.com/ramr/autoscaler-k8s-test\r\n```  \r\ngit clone https://github.com/ramr/autoscaler-k8s-test  \r\ncd autoscaler-k8s-test  \r\nmake K8S_SOURCE_DIR=~/work/kubernetes test  \r\n```\r\nand the replicas for the sample replication controller ```cluster/kubectl.sh  get rc```, should scale upto a limit of 6 replicas.\r\n\r\nPTAL - Any comments/feedback greatly appreciated. Thx\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/117370990","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/9612#issuecomment-117370990","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/9612","id":117370990,"user":{"login":"k8s-bot","id":12551979,"avatar_url":"https://avatars.githubusercontent.com/u/12551979?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-bot","html_url":"https://github.com/k8s-bot","followers_url":"https://api.github.com/users/k8s-bot/followers","following_url":"https://api.github.com/users/k8s-bot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-bot/subscriptions","organizations_url":"https://api.github.com/users/k8s-bot/orgs","repos_url":"https://api.github.com/users/k8s-bot/repos","events_url":"https://api.github.com/users/k8s-bot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-bot/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T23:21:44Z","updated_at":"2015-06-30T23:21:44Z","body":"GCE e2e build/test **passed** for commit beb8d3414eb907ea2bf64332aea16780a9490f69.\n* [Build Log](https://storage.cloud.google.com/kubernetes-jenkins/pr-logs/beb8d3414eb907ea2bf64332aea16780a9490f69/kubernetes-pull-build-test-e2e-gce/1399/build-log.txt)\n* [Test Artifacts](https://console.developers.google.com/storage/browser/kubernetes-jenkins/pr-logs/beb8d3414eb907ea2bf64332aea16780a9490f69/kubernetes-pull-build-test-e2e-gce/1399/_artifacts/)\n* [Internal Jenkins Results](http://goto.google.com/prkubekins/job/kubernetes-pull-build-test-e2e-gce//1399)\n"}}