{"action":"created","issue":{"url":"https://api.github.com/repos/eldarion-gondor/pykube/issues/37","repository_url":"https://api.github.com/repos/eldarion-gondor/pykube","labels_url":"https://api.github.com/repos/eldarion-gondor/pykube/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/eldarion-gondor/pykube/issues/37/comments","events_url":"https://api.github.com/repos/eldarion-gondor/pykube/issues/37/events","html_url":"https://github.com/eldarion-gondor/pykube/pull/37","id":148599095,"number":37,"title":"Scale method for jobs","user":{"login":"pcm32","id":368478,"avatar_url":"https://avatars.githubusercontent.com/u/368478?v=3","gravatar_id":"","url":"https://api.github.com/users/pcm32","html_url":"https://github.com/pcm32","followers_url":"https://api.github.com/users/pcm32/followers","following_url":"https://api.github.com/users/pcm32/following{/other_user}","gists_url":"https://api.github.com/users/pcm32/gists{/gist_id}","starred_url":"https://api.github.com/users/pcm32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcm32/subscriptions","organizations_url":"https://api.github.com/users/pcm32/orgs","repos_url":"https://api.github.com/users/pcm32/repos","events_url":"https://api.github.com/users/pcm32/events{/privacy}","received_events_url":"https://api.github.com/users/pcm32/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-15T08:47:37Z","updated_at":"2016-04-25T13:31:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eldarion-gondor/pykube/pulls/37","html_url":"https://github.com/eldarion-gondor/pykube/pull/37","diff_url":"https://github.com/eldarion-gondor/pykube/pull/37.diff","patch_url":"https://github.com/eldarion-gondor/pykube/pull/37.patch"},"body":"In the current state of the k8s API, Jobs can be scaled as pods are, but the mechanism of scaling is different in terms of how the API objects are changed. This doesn't allow Job to inherit from ReplicatedAPIObject or share the same method as scale of the replication controller. Scaling of Jobs on kubernetes currently going through setting the parallelism of the Job object. Follows the same logic as the scale method of replication controller."},"comment":{"url":"https://api.github.com/repos/eldarion-gondor/pykube/issues/comments/214329042","html_url":"https://github.com/eldarion-gondor/pykube/pull/37#issuecomment-214329042","issue_url":"https://api.github.com/repos/eldarion-gondor/pykube/issues/37","id":214329042,"user":{"login":"pcm32","id":368478,"avatar_url":"https://avatars.githubusercontent.com/u/368478?v=3","gravatar_id":"","url":"https://api.github.com/users/pcm32","html_url":"https://github.com/pcm32","followers_url":"https://api.github.com/users/pcm32/followers","following_url":"https://api.github.com/users/pcm32/following{/other_user}","gists_url":"https://api.github.com/users/pcm32/gists{/gist_id}","starred_url":"https://api.github.com/users/pcm32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcm32/subscriptions","organizations_url":"https://api.github.com/users/pcm32/orgs","repos_url":"https://api.github.com/users/pcm32/repos","events_url":"https://api.github.com/users/pcm32/events{/privacy}","received_events_url":"https://api.github.com/users/pcm32/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T13:31:21Z","updated_at":"2016-04-25T13:31:21Z","body":"Hi @brosner! I was wondering if there are any particular issues with the pull for not merging it, besides test coverage. I see that coverails test coverage diminished, but then testing this requires a k8s connection (and then all of the Objects have no tests so far). Anything that I can do to make this acceptable for merging? Same with #36 . Thanks!"}}