My kubernetes cluster is deploying the pod in the node which is not in my cluster

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.16.2
Cloud being used: (put bare-metal if not on a public cloud) AWS
Installation method: from scratch
Host OS: CentOs
CNI and version:
CRI and version:

Type Reason Age From Message

Warning FailedScheduling default-scheduler node “ip-10-0-.ec2.internal” not found in cache

the node is not in the cluster but still it is picking the node which is not in the cluster for deployment

Can you check details of available nodes?

kubectl get nodes -owide

Is it as per expectations?

kubectl get pods -owide