Cluster agent down - kubectl cant connect - GUI Failed to communicate with API server

Cluster is up and running but I cant not manage it via kubctl or GUI
I suspect that the cluster agent has failed or has been stopped.
I cant download the kubeconfig files from the GUI or run the Kubectl from the GUI.
I have created a custom kubeconfig file using other cluster kubeconfig as examples but I still cant connect to the cluster.

and one know how I can startup the cluster agent with out using kubctl or the GUI ?

Hello maybe you can recreate agents. Use method 3. Maybe it will help you.

HI Iptarik , unfortunate I cant try this work around . I cant get kubectl to connect. I keep getting the error below when trying to connect .

kubectl --v=5 --insecure-skip-tls-verify=true get svc
I0805 15:42:38.103129 18630 cached_discovery.go:121] skipped caching discovery info due to Get “https://rkem.office.co.za/k8s/clusters/c-9dzxt/api?timeout=32s”: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
I0805 15:43:10.107212 18630 cached_discovery.go:121] skipped caching discovery info due to Get “https://rkem.office.co.za/k8s/clusters/c-9dzxt/api?timeout=32s”: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
I0805 15:43:10.107271 18630 shortcut.go:89] Error loading discovery information: Get “https://rkem.office.co.za/k8s/clusters/c-9dzxt/api?timeout=32s”: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
I0805 15:43:42.111287 18630 cached_discovery.go:121] skipped caching discovery info due to Get “https://rkem.office…co.za/k8s/clusters/c-9dzxt/api?timeout=32s”: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
I0805 15:44:12.952423 18630 request.go:1347] body was not decodable (unable to check for Status): Object ‘Kind’ is missing in ‘error trying to reach service: waiting for cluster [c-9dzxt] agent to connect’
I0805 15:44:12.952454 18630 cached_discovery.go:121] skipped caching discovery info due to an error on the server (“error trying to reach service: waiting for cluster [c-9dzxt] agent to connect”) has prevented the request from succeeding
I0805 15:44:44.954184 18630 cached_discovery.go:121] skipped caching discovery info due to Get “https://rkem.office…co.za/k8s/clusters/c-9dzxt/api?timeout=32s”: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
I0805 15:44:44.954259 18630 helpers.go:234] Connection error: Get https://rkem.office.co.za/k8s/clusters/c-9dzxt/api?timeout=32s: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
Unable to connect to the server: net/http: request canceled (Client.Timeout exceeded while awaiting headers)