Kubernetes Master goes to not reachable state

Problem

Kubectl commands throws error regarding API and host port connectivity.

Cause

Kubernetes Master goes down when RAM's utilization is maximum and when no enough disk space is available.

Fix

Free up the RAM memory and clean the unwanted files. Mostly tomcat log files consumes much space.