I would like to have 100k tcp connections with single pod on google container engine.
Below is my test.
- create 2 cluster : cluster-1( at asia-east1-c ), cluster-2( at us-central1-b )
- cluster-1 : service, rc with replicas 1, so one pod which is tcp server
- cluster-2 : just rc with replicas 2, so two pods which is tcp client
- 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?