Is there a limitation on 'concurrent tcp connections number' of google container engine's pod?

5/18/2016

I would like to have 100k tcp connections with single pod on google container engine.

Below is my test.

  1. create 2 cluster : cluster-1( at asia-east1-c ), cluster-2( at us-central1-b )
  2. cluster-1 : service, rc with replicas 1, so one pod which is tcp server
  3. cluster-2 : just rc with replicas 2, so two pods which is tcp client
  4. kubectl exec -it 'cluster-1 pod' -- /bin/bash
    within that pod
    ifconfig => ip address : 10.121.0.7
    ss -tanp => remote peer : 10.121.0.1

Upper result means that single pod cannot have more than 64K tcp connection because remote peer ip address is fixed at 10.121.0.1 regardless of real clients' ip addresses.

Is there any way to get 100k tcp connections with single pod at google container engine?

-- Bigcapital
google-kubernetes-engine
kubernetes

0 Answers