Can't access API server after abrupt server power failure

I have a SNO cluster and everytime there is a power failure or the server powers down abruptly, I am not able to login to the api server after restartng and gets the following error when I try:

$ oc login -udeveloper -pdeveloper
error: dial tcp connect: connection refused - verify you have provided the correct host and port and that the server is currently running.

$ oc status
The connection to the server was refused - did you specify the right host or port?

If I access the node via the console using the core user and run (netstat -nltp | grep kubeapi-server), it shows that kube-apiserver is not running.

How dow I restart this process and get it running again?



Labels (2)
0 Replies
Join the discussion
You must log in to join this conversation.