Skip to content

Investigate ways to increase CI tunnel performance

From https://staging.gitlab.com/twatson-test-group/agent-configuration-test/-/jobs/39357308:

$ time kubectl get pods --all-namespaces
NAMESPACE            NAME                                         READY   STATUS    RESTARTS        AGE
kube-system          coredns-78fcd69978-mn8z7                     1/1     Running   5 (4m11s ago)   5d6h
kube-system          coredns-78fcd69978-q7mhh                     1/1     Running   5 (4m11s ago)   5d6h
kube-system          etcd-kind-control-plane                      1/1     Running   5 (4m11s ago)   5d6h
kube-system          kindnet-2pxgr                                1/1     Running   5 (4m11s ago)   5d6h
kube-system          kube-apiserver-kind-control-plane            1/1     Running   5 (4m11s ago)   5d6h
kube-system          kube-controller-manager-kind-control-plane   1/1     Running   5 (4m11s ago)   5d6h
kube-system          kube-proxy-8ptm2                             1/1     Running   5 (4m11s ago)   5d6h
kube-system          kube-scheduler-kind-control-plane            1/1     Running   5 (4m11s ago)   5d6h
local-path-storage   local-path-provisioner-85494db59d-4wk78      1/1     Running   8 (4m11s ago)   5d6h
real	0m18.339s
user	0m0.116s
sys	0m0.028s

Of course some of the above is just kas<->agent latency (US<->Australia) in this particular test, but still. Locally I'm getting:

kubectl get pods --all-namespaces  0.10s user 0.13s system 16% cpu 1.350 total

Ideas:

p.s. discovery is already concurrent.

Edited by Mikhail Mazurskiy