I have set up a couple of clusters on GKE in asia-southeast. Living in Europe, 
I know that the latency won't be great whatever I do.

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?

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.

Any advice would be helpful. For what it's worth, this is an idle two-node 
cluster, so it cannot possibly be under load.

-- 
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 kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
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