Repository navigation
Bug 1261548 - oc run --attach support for DeploymentConfig - #5271
Conversation
|
[test] |
There was a problem hiding this comment.
For this var, do you intend to retrieve the deployer pod or the first pod of the first deployment's RC? As of now, the intent for oc logs dc/foo is to show the deployer pod's logs.
@Kargakis if you have opinions.
There was a problem hiding this comment.
This should be consistent with oc logs dc/foo so I think returning the deployer pod here is the right thing to do.
There was a problem hiding this comment.
I'm not confident it should be the deployer pod. If you do oc run nginx --image=nginx --attach aren't you expecting to attach to the actual nginx pod? In fact you may not even know a deployment is involved in this oc run operation. @liggitt opinion?
There was a problem hiding this comment.
@fabianofranz, had a closer look to oc run and I think you are right.
373b619 to
48b66fc
Compare
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6193/) |
|
Why do we want this? |
|
@smarterclayton If you try for example That's because we override |
48b66fc to
54a472e
Compare
54a472e to
d53042b
Compare
d53042b to
36c5d90
Compare
36c5d90 to
61b4764
Compare
61b4764 to
65775d3
Compare
|
Other comments? |
|
Evaluated for origin test up to 65775d3 |
|
Open a follow up to make this logic cleaner (a condition that waits until there is a pod in the replication controller, in upstream pkg/client/conditions.go). |
|
LGTM [merge] |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6193/) (Image: devenv-rhel7_2589) |
|
Evaluated for origin merge up to 65775d3 |
Merged by openshift-bot
|
@smarterclayton thanks. added #5484 |
No description provided.