The way it is single node kubernetes on a OpenStack VM is:
VMs IP : 10.120.20.227 (from outside)
etcd version 3.0.16
kubectl --version 1.5.7
Flannel version 0.6.1
When I ssh in to the machine I could see the ip 192.168.0.5 So etcd service is running on 192.168.0.5 I could access every application launched on in the VMs from VM its self. But from out side openstack cluster I am unable to access the application using VMs Public IP.
The kube-proxy errors are
May 22 18:38:16 poc-desktop kube-proxy[1246]: I0522 18:38:16.293261 1246 server.go:215] Using iptables Proxier.
May 22 18:38:16 poc-desktop kube-proxy[1246]: W0522 18:38:16.293629 1246 server.go:468] Failed to retrieve node info: Get http://192.168.0.5:8080/api/v1/nodes/poc-desktop: dial tcp 192.168.0.5:8
May 22 18:38:16 poc-desktop kube-proxy[1246]: W0522 18:38:16.293761 1246 proxier.go:249] invalid nodeIP, initialize kube-proxy with 127.0.0.1 as nodeIP
May 22 18:38:16 poc-desktop kube-proxy[1246]: W0522 18:38:16.293773 1246 proxier.go:254] clusterCIDR not specified, unable to distinguish between internal and external traffic
If Iaunch any webservice on VM on any random port I access the web app. But if I launch application using kubectl I am unable to access from other areas Does this require any special routing ? or something is wrong with kube-proxy ?