i have 2 clusters same config , till yesterday i was able to connect to both of them , but today i was not able to connect to one of them , all apps are working fine , i just get this error when using kubectl
«Unable to connect to the server: dial tcp IP:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.»
i tried scaling up and down my cluster from the interface ( the scaling works but still i can't use kubectl)
can someone help plz ?
It seems the kubectl lost connection to the Cluster and you can set the Cluster context by following this documentation here