{"action":"created","issue":{"url":"https://api.github.com/repos/sagansystems/build-harness/issues/23","repository_url":"https://api.github.com/repos/sagansystems/build-harness","labels_url":"https://api.github.com/repos/sagansystems/build-harness/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/sagansystems/build-harness/issues/23/comments","events_url":"https://api.github.com/repos/sagansystems/build-harness/issues/23/events","html_url":"https://github.com/sagansystems/build-harness/pull/23","id":151263755,"number":23,"title":"WIP: Support kubernetes deployment type","user":{"login":"osterman","id":52489,"avatar_url":"https://avatars.githubusercontent.com/u/52489?v=3","gravatar_id":"","url":"https://api.github.com/users/osterman","html_url":"https://github.com/osterman","followers_url":"https://api.github.com/users/osterman/followers","following_url":"https://api.github.com/users/osterman/following{/other_user}","gists_url":"https://api.github.com/users/osterman/gists{/gist_id}","starred_url":"https://api.github.com/users/osterman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osterman/subscriptions","organizations_url":"https://api.github.com/users/osterman/orgs","repos_url":"https://api.github.com/users/osterman/repos","events_url":"https://api.github.com/users/osterman/events{/privacy}","received_events_url":"https://api.github.com/users/osterman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-26T23:33:19Z","updated_at":"2016-04-27T16:08:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sagansystems/build-harness/pulls/23","html_url":"https://github.com/sagansystems/build-harness/pull/23","diff_url":"https://github.com/sagansystems/build-harness/pull/23.diff","patch_url":"https://github.com/sagansystems/build-harness/pull/23.patch"},"body":"## what\r\n* introduce support for `Deployment` type\r\n* list deployments on circleci deploy\r\n\r\n## why\r\n* deployments eliminate the need for us to use the `SERIAL` variable to manage generations of a `ReplicationController`. Behind the scenes kubernetes now does this for us.\r\n* deployments make it easier to rollback to any previous generation\r\n* deployments won't clobber each other; if a deployment is currently underway and another deployment is triggered, the latest one will win and current deployment underway aborted\r\n* deployments history makes it easy to review what changes to a cluster have been made\r\n\r\n##who\r\n@darend \r\n\r\nDEV-4784"},"comment":{"url":"https://api.github.com/repos/sagansystems/build-harness/issues/comments/215133323","html_url":"https://github.com/sagansystems/build-harness/pull/23#issuecomment-215133323","issue_url":"https://api.github.com/repos/sagansystems/build-harness/issues/23","id":215133323,"user":{"login":"darend","id":1302480,"avatar_url":"https://avatars.githubusercontent.com/u/1302480?v=3","gravatar_id":"","url":"https://api.github.com/users/darend","html_url":"https://github.com/darend","followers_url":"https://api.github.com/users/darend/followers","following_url":"https://api.github.com/users/darend/following{/other_user}","gists_url":"https://api.github.com/users/darend/gists{/gist_id}","starred_url":"https://api.github.com/users/darend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darend/subscriptions","organizations_url":"https://api.github.com/users/darend/orgs","repos_url":"https://api.github.com/users/darend/repos","events_url":"https://api.github.com/users/darend/events{/privacy}","received_events_url":"https://api.github.com/users/darend/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T16:08:11Z","updated_at":"2016-04-27T16:08:11Z","body":"> deployments make it easier to rollback to any previous generation\r\n\r\nFrom http://kubernetes.io/docs/user-guide/deployments/#rolling-back-a-deployment\r\n\r\n> Now we’ve decided to undo the current rollout and rollback to the previous revision:\r\n$ kubectl rollout undo deployment/nginx-deployment\r\ndeployment \"nginx-deployment\" rolled back\r\n\r\n🎉 "}}