Open pnrao1983 opened 1 week ago
Thank you @pnrao1983 for linking to the other relevant discussions!
Kubernetes has a special behavior by using SPDY PING frames behind the scenes as a keep-alive mechanism. For connection monitoring, this activity ensures the connection remains active and is never terminated.
The PING frames are sent every 10s, so the connection is marked as active and never terminated.
Expected behavior: The
client_idle_timeout=30s
configuration works as expected for SSH and database (DB) resources, disconnecting clients after the specified idle time. However, this timeout does not work with Kubernetes (kube) resources when using. Current behavior: SSH, DB, Desktop, and App resources are getting disconnected after the 30s idle timeout but not with kube sessions: Observed that the session remains active beyond the 30-second idle timeout.Additional Context: Testing with kubectl exec confirms that the timeout does not apply to Kube resources. Here is the output for SSH session which work as expected:
The timeout does work correctly for database connections, as shown by the following: sql
Bug details: