pulumi / kubespy

Tools for observing Kubernetes resources in real time, powered by Pulumi.
https://pulumi.com/
Apache License 2.0
2.89k stars 92 forks source link

kubespy only outputs watching status #50

Closed rakidu closed 4 years ago

rakidu commented 5 years ago

I installed kubespy on y k8s master server. however when i run kubespy commands all i get is output watching status. nothing else.

hausdorff commented 5 years ago

@rakidu it is going to be very hard to respond to this issue without more context. :) What command did you run? What pods and services exist in your cluster?

rakidu commented 5 years ago

Hi I am using an ACS kubernetes cluster with 3 masters & 3 nodes. Installed kubespy and running on one of the masters.

I ran kubespy trace & Kubespy status it only outputs watching status. kubespy trace svc [namespace/]varnish5-sterile-active-service Waiting for Service '[namespace/]varnish5-sterile-active-service'

When I run the same command as root user i am getting below error kubespy trace svc [sce-dms-drupal/]varnish5-sterile-active-service Unable to read kubectl config: invalid configuration: no configuration has been provided

Hope this helps

hausdorff commented 5 years ago

For the second error, it says it can't find your kubeconfig file. We use the official Kubernetes Go client under the hood, so if it's saying that, it probably means it really doesn't exist.

For the first error, can you give me the exact command you ran, and the exact output when you kubectl get the object?

rakidu commented 5 years ago

kubespy trace svc [sce-dms-drupal/]varnish5-sterile-active-service Waiting for Service '[sce-dms-drupal/]varnish5-sterile-active-service'

its getting struck here

hausdorff commented 5 years ago

I need the exact command you ran (i.e., without the [ and ] characters), and also the kubectl get output.

leezen commented 4 years ago

Closing stale issue