{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/7678","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/7678/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/7678/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/7678/events","html_url":"https://github.com/openshift/origin/pull/7678","id":136917137,"number":7678,"title":"[WIP] Support autoscaling in the web console","user":{"login":"spadgett","id":1167259,"avatar_url":"https://avatars.githubusercontent.com/u/1167259?v=3","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/component/web","name":"component/web","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"jwforres","id":1467629,"avatar_url":"https://avatars.githubusercontent.com/u/1467629?v=3","gravatar_id":"","url":"https://api.github.com/users/jwforres","html_url":"https://github.com/jwforres","followers_url":"https://api.github.com/users/jwforres/followers","following_url":"https://api.github.com/users/jwforres/following{/other_user}","gists_url":"https://api.github.com/users/jwforres/gists{/gist_id}","starred_url":"https://api.github.com/users/jwforres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwforres/subscriptions","organizations_url":"https://api.github.com/users/jwforres/orgs","repos_url":"https://api.github.com/users/jwforres/repos","events_url":"https://api.github.com/users/jwforres/events{/privacy}","received_events_url":"https://api.github.com/users/jwforres/received_events","type":"User","site_admin":false},"milestone":null,"comments":43,"created_at":"2016-02-27T13:10:22Z","updated_at":"2016-03-12T09:46:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/7678","html_url":"https://github.com/openshift/origin/pull/7678","diff_url":"https://github.com/openshift/origin/pull/7678.diff","patch_url":"https://github.com/openshift/origin/pull/7678.patch"},"body":"Not ready for code review.\r\n\r\nWork in progress PR that adds autoscaling to the web console (reopened from #6552).\r\n\r\nhttps://trello.com/c/SRc3zRmO\r\n\r\nTODO:\r\n\r\n- [x] Edit or create autoscalers after creation\r\n- [x] Delete autoscalers\r\n- [x] Show autoscaling on overview\r\n- [ ] Show autoscaling warnings on overview\r\n- [x] Warn when no CPU request for autoscaling in web console create form\r\n- [x] Warn when no CPU request on standalone autoscaling form\r\n- [x] Handle default values\r\n- [x] Warn when more than one HPA for the same scalable\r\n- [x] Handle autoscaling with limit/request overrides\r\n- [x] Support autoscaling RCs with no DC\r\n- [x] Don't show DC HPAs for on RC page for old deployments\r\n- [x] Warn when autoscaling is set, but CPU request is not\r\n- [x] Warn when metrics not configured\r\n- [x] Warn when two HPAs scale the same resource\r\n- [x] Warn when an RC is scaled by both an HPA and a DC\r\n- [x] Use alert styles for inline warnings\r\n- [ ] Spec tests for ApplicationGenerator changes\r\n- [x] Update online-extensions.js for new doc link\r\n\r\n/cc @jwforres @DirectXMan12 @ajacobs21e "},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/195703039","html_url":"https://github.com/openshift/origin/pull/7678#issuecomment-195703039","issue_url":"https://api.github.com/repos/openshift/origin/issues/7678","id":195703039,"user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars.githubusercontent.com/u/3900799?v=3","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T09:46:47Z","updated_at":"2016-03-12T09:46:47Z","body":"> just thought of something, because we don't surface HPAs as their own resource, what happens when you delete a DC (or RC) that has an HPA associated with it?\r\n\r\nI asked about reaping those as well upstream https://github.com/kubernetes/kubernetes/pull/22466#issuecomment-192228463. @liggitt @deads2k how does that sound? Makes sense to me..."}}