I installed Kubernetes in AWS cloud using KOPS. In aws master node and slave nodes are running running. Now I'm trying from other instance means where i installed the kops that node.
I'm getting output for
kops get cluster and other few commands
I'm not able to connect kubernetes master server from my kops instance
when i run
Kubectl get nodes from my kops instance I'm getting
unable to resolve Kubernetes cluster API URL dns: lookup api.uswest2.suman.com on 172.31.0.2:53: no such host
Could any one help me out of this ??
- Instance 1: Installed kops in this machine and created a cluster then it launches 3 more instances below mentioned
- Instance 2: Kubernetes Master
- Instance 3: kube node
- Instance 4: kube node
Now i'm trying to run
Kubectl get nodes from instance 1. I'm getting above error unable to reslove kuberentes cluster.