Transport client connections frequently closed in Kubernetes?


(Chris Gatihi) #1

Hi,

We recently moved to kubernetes our running services that use the Transport client to connect to ES . Our code keeps our transport client connection open unless we have a specific reason to close it (e.g. NoNodeAvailableException) but prior to moving to kubernetes we didn't see these connections being closed (if so, very rarely).

Once we moved to kubernetes, we started seeing these connections being closed frequently and thus we are constantly needing to open new transport client connections.

Has anyone seen such issues with transport client connections being closed in kubernetes? If so, is there a known resolution?

Thanks,
Chris