Kubectl Exec Times Out After 4 Hours
Problem
The *kubectl exec
*command is timing out after exactly 4 hours.
Below is the output of the default config map:
Environment
- Platform9 Managed Kubernetes - All Versions
Cause
The value for streaming-connection-idle-timeout parameter is not set in Kubelet configuration which is responsible for the maximum time a streaming connection can be idle before the connection is automatically closed. The value "0" indicates no timeout. As the value is not defined the command kubectl exec is timing out after 4 hours.
Resolution
Update the configmap and set the value of streamingConnectionIdleTimeout and verify if the change is successful.
Additional Information
Refer the Dynamic Kubelet Configuration for more information.
Was this page helpful?