Skip to content

oc status must show monopods - #8184

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
fabianofranz:issues_1696
Mar 23, 2016
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
fabianofranz:issues_1696

Conversation

@fabianofranz

Copy link
Copy Markdown
Contributor

Single pods (not part of deployments or builds and not directly exposed by a service) must also appear in oc status, like they do in the web console overview page.

Fixes #1696.

@deads2k PTAL. I'm doing this in describe level since it seems like a display-only change, no changes required to the actual graph (pods are actually already there).

Sample output:

In project test1 on server https://192.168.2.200:8443

svc/database - 172.30.196.168:5434 -> 3306
  dc/database deploys docker.io/openshift/mysql-55-centos7:latest 
    deployment #2 deployed 3 days ago - 1 pod
    deployment #1 deployed 3 days ago

https://www.example.com (svc/frontend)
  dc/frontend deploys istag/origin-ruby-sample:latest <-
    bc/ruby-sample-build builds https://github.com/openshift/ruby-hello-world.git with test1/ruby-22-centos7:latest 
      build #1 succeeded 5 days ago - bd94cbb: Merge pull request #52 from bparees/stdout (Ben Parees <[email protected]>)
    deployment #3 pending on image or update
    deployment #7 deployed 3 days ago - 0 pods
    deployment #3 deployed 3 days ago - 2 pods
    deployment #2 failed 3 days ago: cancelled as a newer deployment was found running

svc/hello-openshift - 172.30.40.82:8080
  pod/hello-openshift runs openshift/hello-openshift

pod/pod-volume-downward-api runs fedora/nginx

pod/pod-volume-config-map runs fedora/nginx

(...)

@fabianofranz

Copy link
Copy Markdown
Contributor Author

[test]

@fabianofranz
fabianofranz force-pushed the issues_1696 branch 2 times, most recently from 70d1f2d to 3950bde Compare March 22, 2016 04:20
Comment thread pkg/cmd/cli/describe/projectstatus.go Outdated
}
}

func filterInternalPods(pods []graphview.Pod) ([]graphview.Pod, error) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is filtering more than internal. FilterBoringPods?

@deads2k

deads2k commented Mar 22, 2016

Copy link
Copy Markdown
Contributor

Nits. Add a test and then lgtm.

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to d4a6203

@fabianofranz

Copy link
Copy Markdown
Contributor Author

[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5410/) (Image: devenv-rhel7_3804)

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to d4a6203

@openshift-bot

Copy link
Copy Markdown
Contributor

@openshift-bot
openshift-bot merged commit c8cde97 into openshift:master Mar 23, 2016
@smarterclayton

Copy link
Copy Markdown
Contributor

We should come back to this once we show scheduled jobs, daemon sets, etc.

@smarterclayton

Copy link
Copy Markdown
Contributor

I'm reverting this due to #8487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants