On Monday, March 19, 2018 at 10:48:59 AM UTC-7, [email protected] wrote:
> However, kubectl seems to take ages for any basic operation. For example, 
> even a simple "kubectl get pods" takes 3-5 seconds. Is this expected? Are 
> there any tips for these cases, other than me using a machine that's closer 
> to the cluster itself?

That seems like a lot of time.
 
> I have also found that when using --v=7, I can see kubectl doing quite a few 
> requests for seemingly simple operations. For example, "get pods" does two 
> GETs - one on /api/v1/namespaces/default/pods, and one on 
> /swagger-2.0.0.pb-v1. They are sequential too, which doesn't help given the 
> roundtrip.

Would you mind posting some of those v7 logs (especially the http round-trips), 
so we can have a look at the http headers (requests and responses) and the 
timestamps? Also, would you mind giving the version of the server and the 
client?

Thanks,
Antoine


-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
  • [kubernetes-u... mvdan
    • [kuberne... Keith Burdis
    • [kuberne... apelisse via Kubernetes user discussion and Q&A
      • Re: ... Daniel Martí
        • ... 'Antoine Pelisse' via Kubernetes user discussion and Q&A

Reply via email to