[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Web console overview sections?



Aha, so the "app" label doesn't need to be unique? You can use it to group several services together under a single "app"?

Any other useful labels or annotations we should know/can read about? ;)

Anyway thanks for the help!

On Tue, Oct 17, 2017 at 4:20 PM, Sam Padgett <spadgett redhat com> wrote:
Daniel,

The `app` label grouping is used in the overview from 3.6 and on. For 1.4, you can group services in the UI, but only for deployment configs that have services.

Sam

On Tue, Oct 17, 2017 at 4:40 AM, Daniel Kučera <daniel kucera gmail com> wrote:
Hi Sam,

I'm also interested in this. I tried adding label app to all deploymentconfigs but they are separated on Overview page. See here:

oc get all -l app=cargo-app
NAME                  REVISION   DESIRED   CURRENT   TRIGGERED BY
dc/cargo-crond        1          1         1         config,image(cargo:latest)
dc/cargo-supervisor   1          1         1         config,image(cargo:latest)
dc/cargo-webserver    1          1         1         config,image(cargo:latest)

NAME                    DESIRED   CURRENT   READY     AGE
rc/cargo-crond-1        1         1         1         17h
rc/cargo-supervisor-1   1         1         1         17h
rc/cargo-webserver-1    1         1         1         17h

NAME        CLUSTER-IP    EXTERNAL-IP   PORT(S)    AGE
svc/cargo   172.30.7.88   <none>        8000/TCP   17h

NAME                          READY     STATUS    RESTARTS   AGE
po/cargo-crond-1-8lt5k        2/2       Running   0          17h
po/cargo-supervisor-1-ykjy3   2/2       Running   0          17h
po/cargo-webserver-1-8z9kw    2/2       Running   0          17h

Version

OpenShift Master:
    v1.4.1
Kubernetes Master:
    v1.4.0+776c994 

Screenshot:

Vnorený obrázok 1


2017-10-16 20:10 GMT+02:00 Sam Padgett <spadgett redhat com>:
Tako, anything with an `app` label is shown as an application. If you add an app label to your deployment config or pods, they should show up on the overview as an application with that name.

On Mon, Oct 16, 2017 at 12:47 PM, Tako Schotanus <tschotan redhat com> wrote:
Hi,

I just updated my minishift installation (from 1.1 to 1.7) and the web console overview page has changed again. A .yaml template that I was using before to create our services (5 pods) now puts the app's main entry point in the list of "Other Resources" while a seemingly random pod has been selected to be an "application".

Is there some documentation somewhere that I can look at that explains how the layout of the overview page is decided?

Thanks!

--

TAKO SCHOTANUS

SENIOR SOFTWARE ENGINEER

Red Hat 




_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--

S pozdravom / Best regards
Daniel Kucera.




--

TAKO SCHOTANUS

SENIOR SOFTWARE ENGINEER

Red Hat 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]