Forum Navigation
You need to log in to create posts and topics.

Running kubectl commands results timeout

Problem

User is running kubectl commands and gets the following errors

error: An error occurred while waiting for the object to be deleted: an error on the server (“unable to decode an event from the watch stream: http2: client connection lost”) has prevented the request from succeeding
Unable to connect to the server: net/http: TLS handshake timeout

check your Host resources with top command and check which pods are overloading the cluster

you can use the command

kubectl top podesĀ 

kubectl top nodes

to understand which resources are depleting your cluster