I am trying to install Kubernetes on my laptop by following the instructions on http://kubernetes.io/docs/getting-started-guides/centos/centos_manual_config/
I added the following IP's in /etc/hosts
192.168.121.9 centos-master
192.168.121.65 centos-minion-1
192.168.121.66 centos-minion-2
192.168.121.67 centos-minion-3
and have followed the procedure except for flannel installation.
I was going step by step of running instances with the following
for SERVICES in etcd kube-apiserver; do
systemctl restart $SERVICES
systemctl enable $SERVICES
systemctl status $SERVICES
done
etcd started well, but kube-apiserver fails with the following error:
Nov 17 14:40:11 localhost kube-apiserver: F1117 14:40:11.842367 6176 controller.go:84] Unable to perform initial IP allocation check: unable to refresh the service IP block: error #0: dial tcp 192.168.121.9:2379: i/o timeout
Tried adding 192.168.121.9 IP to the same interface in the BareMetal, but still failed.
Not sure what is the issue here..