{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/25908","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/25908/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/25908/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/25908/events","html_url":"https://github.com/kubernetes/kubernetes/issues/25908","id":155832874,"number":25908,"title":"Better support for sidecar containers in batch jobs","user":{"login":"a-robinson","id":7085343,"avatar_url":"https://avatars3.githubusercontent.com/u/7085343?v=4","gravatar_id":"","url":"https://api.github.com/users/a-robinson","html_url":"https://github.com/a-robinson","followers_url":"https://api.github.com/users/a-robinson/followers","following_url":"https://api.github.com/users/a-robinson/following{/other_user}","gists_url":"https://api.github.com/users/a-robinson/gists{/gist_id}","starred_url":"https://api.github.com/users/a-robinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-robinson/subscriptions","organizations_url":"https://api.github.com/users/a-robinson/orgs","repos_url":"https://api.github.com/users/a-robinson/repos","events_url":"https://api.github.com/users/a-robinson/events{/privacy}","received_events_url":"https://api.github.com/users/a-robinson/received_events","type":"User","site_admin":false},"labels":[{"id":136892195,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/batch","name":"area/batch","color":"0052cc","default":false},{"id":483268648,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/workload-api/job","name":"area/workload-api/job","color":"0052cc","default":false},{"id":778118403,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/lifecycle/frozen","name":"lifecycle/frozen","color":"d3e2f0","default":false},{"id":404091735,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/apps","name":"sig/apps","color":"d2b48c","default":false},{"id":173493665,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/node","name":"sig/node","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":44,"created_at":"2016-05-19T20:55:20Z","updated_at":"2018-02-13T10:30:59Z","closed_at":null,"author_association":"MEMBER","body":"Consider a Job with two containers in it -- one which does the work and then terminates, and another which isn't designed to ever explicitly exit but provides some sort of supporting functionality like log or metric collection.\n\nWhat options exist for doing something like this? What options should exist?\n\nCurrently the Job will keep running as long as the second container keeps running, which means that the user has to modify the second container in some way to detect when the first one is done so that it can cleanly exit as well.\n\nThis [question was asked on Stack Overflow](http://stackoverflow.com/questions/36208211/sidecar-containers-in-kubernetes-jobs) a while ago with no better answer than to modify the second container to be more Kubernetes-aware, which isn't ideal. Another customer has recently brought this up to me as a pain point for them.\n\n@kubernetes/goog-control-plane @erictune \n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/365221557","html_url":"https://github.com/kubernetes/kubernetes/issues/25908#issuecomment-365221557","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/25908","id":365221557,"user":{"login":"Draiken","id":287889,"avatar_url":"https://avatars0.githubusercontent.com/u/287889?v=4","gravatar_id":"","url":"https://api.github.com/users/Draiken","html_url":"https://github.com/Draiken","followers_url":"https://api.github.com/users/Draiken/followers","following_url":"https://api.github.com/users/Draiken/following{/other_user}","gists_url":"https://api.github.com/users/Draiken/gists{/gist_id}","starred_url":"https://api.github.com/users/Draiken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Draiken/subscriptions","organizations_url":"https://api.github.com/users/Draiken/orgs","repos_url":"https://api.github.com/users/Draiken/repos","events_url":"https://api.github.com/users/Draiken/events{/privacy}","received_events_url":"https://api.github.com/users/Draiken/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T10:30:59Z","updated_at":"2018-02-13T10:30:59Z","author_association":"NONE","body":"Is there anything we can do to get some traction on this issue?\r\nIt's been open for almost 2 years and still we only have workarounds\r\n\r\nI suspect even if I volunteer myself to implement this I won't be able to since it needs some approval from the internal guys regarding which solution to implement, API changes, etc.\r\n\r\nAnything I can do to help get this done?"}}
{"actor":{"display_login":"Draiken"}}