Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal deis doctor data model #79

Closed
smothiki opened this issue Jun 27, 2016 · 4 comments
Closed

Proposal deis doctor data model #79

smothiki opened this issue Jun 27, 2016 · 4 comments
Assignees
Labels

Comments

@smothiki
Copy link
Contributor

RIght now we are just sending the cluster data model encapsulated inside deis doctor datamodel. details in the swaggerspec.
Below are the proposal what should go along with cluster data model.

  • Any comments the user sends while sending deis doctor info.
  • Logs of the deis cluster component(s) -- either N number of lines or for the last N mins time frame.

Please pitch in more ideas about what information can be sent using deis doctor that might help optimizing issue debug time.
This is exclusively for what to send in when a user runs deis doctor.
For more deis doctor proposals
refer #76 for more deis doctor proposals.

@smothiki smothiki self-assigned this Jun 27, 2016
@smothiki
Copy link
Contributor Author

cc @helgi @jackfrancis @kmala

@helgi
Copy link

helgi commented Jun 27, 2016

We need to also remember that initial focus for the data model would be what is in the deis namespace (svc, rc, po, ds), their current states and events, in addition to the nodes in the cluster and their states/events.

@jackfrancis
Copy link
Member

@helgi and I are thinking the same thing. Here's a starting point for the kind of info we could repackage, from my dev deis cluster:

$ kubectl get nodes --namespace=deis
NAME                                     STATUS    AGE
gke-francis-default-pool-0e781ee9-1xz6   Ready     13d
gke-francis-default-pool-0e781ee9-9j80   Ready     13d
gke-francis-default-pool-0e781ee9-z02l   Ready     13d
$ kubectl get services --namespace=deis
NAME                     CLUSTER-IP      EXTERNAL-IP       PORT(S)                            AGE
deis-builder             10.79.250.155   <none>            2222/TCP                           1h
deis-controller          10.79.241.14    <none>            80/TCP                             1h
deis-database            10.79.241.124   <none>            5432/TCP                           1h
deis-logger              10.79.253.97    <none>            80/TCP,514/UDP                     1h
deis-minio               10.79.244.235   <none>            9000/TCP                           1h
deis-monitor-grafana     10.79.246.197   <none>            80/TCP                             1h
deis-monitor-influxapi   10.79.254.166   <none>            80/TCP                             1h
deis-monitor-influxui    10.79.250.28    <none>            80/TCP                             1h
deis-monitor-stdout      10.79.240.26    <none>            514/UDP                            1h
deis-registry            10.79.248.195   <none>            80/TCP                             1h
deis-router              10.79.247.156   104.155.177.121   80/TCP,443/TCP,2222/TCP,9090/TCP   1h
deis-workflow-manager    10.79.241.230   <none>            80/TCP                             1h
$ kubectl get pods --namespace=deis
NAME                          READY     STATUS    RESTARTS   AGE
deis-builder-p8t75            1/1       Running   1          1h
deis-controller-ncffp         1/1       Running   1          1h
deis-database-zjw6i           1/1       Running   0          1h
deis-logger-fluentd-d2p35     1/1       Running   0          1h
deis-logger-fluentd-kk59p     1/1       Running   0          1h
deis-logger-fluentd-ozhv7     1/1       Running   0          1h
deis-logger-oii56             1/1       Running   0          1h
deis-minio-29q09              1/1       Running   0          1h
deis-monitor-grafana-gko6p    1/1       Running   0          1h
deis-monitor-influxdb-dxuym   1/1       Running   0          1h
deis-monitor-stdout-09qtx     1/1       Running   0          1h
deis-monitor-telegraf-0n5a5   1/1       Running   0          1h
deis-monitor-telegraf-fwfxt   1/1       Running   0          1h
deis-monitor-telegraf-zfuul   1/1       Running   0          1h
deis-registry-j41st           1/1       Running   2          1h
deis-router-2qwpi             1/1       Running   0          1h
deis-workflow-manager-5cu0h   1/1       Running   0          1h
$ kubectl get daemonsets --namespace=deis
NAME                    DESIRED   CURRENT   NODE-SELECTOR   AGE
deis-logger-fluentd     3         3         <none>          1h
deis-monitor-telegraf   3         3         <none>          1h

@helgi
Copy link

helgi commented Jun 27, 2016

We'd also want to want to return the describe version of things (state and events).

It could be a fair bit of information and we may want to think about how to slice and dice all of that up into the data model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants