-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
K8s-Guestbook-IP #73
Comments
Some thoughts. Does this mean from an external host [ over a public ip ] or from within the k8s cluster? If we assume that the k8s cluster is using flannel, we can separate the problem into two different pieces. cloudinit configuration for etcd2
flannel drop in for cloudinit [systemd]
coreos-cloudinit --from-file etcd.yaml
These are directly routeable via the host routing table
So flannel fixes container to container and host to containers connectivity via ip. |
kubectl exec redis-master-xwjsb env
All of the internal redirects that are dynamically inserted are curl can connect to the services and members on their service ip / ports from a From a remote host [ with port redirection and a exposing ports to a The internal lookup for redis it appears isn't using the environment
So it looks like for this step the guest book is assuming that the cluster has |
https://github.com/kubernetes/kubernetes/blob/v1.0.3/cluster/addons/dns/README.md It appears that there was a missing parameter in the yaml for dns.
Without the kube master defined there were errors in the log. similar to this issue:
But the example nslookup in a busybox cluster member pod fails.
Edit
Though it seems that some number of times the lookup fails, possibly due to etcd entry timeout configurations A failed lookup
A successful lookup
|
About service discovery. It depends which deployment you are used to preform testing. If you used this automation, then service discovery (kube-dns addon) must work OOB, if not - it's a bug. |
This was on a non-standard install to coreos instances with coreos-cloudinit. It seems that this crosses over with #12 Automated IP Assignment - Design in that the problem described says there's a problem with DNS. The guestbook works with kubedns/skydns and cluster discovery. If this is working OOB, should this be closed? |
As a tenant, when I run the guestbook example I can easily reach the guestbook itself so that the platform is easy to introduce to new tenants
Additional Info: Currently, this needs /etc/host modifications and other workarounds. It should be possible to enable a good experience
The text was updated successfully, but these errors were encountered: