-
Notifications
You must be signed in to change notification settings - Fork 30
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
No service dns resolution... #33
Comments
@derailed that's expected behavior right now. You need to deploy the DNS add-on in your virtualbox kmachine. You can try to use this: |
@Runseb Thanks! I've looked into this project and after some mods still no dice. Getting invalid range on dns clusterIP 10.0.0.10. Any ideas? |
@derailed : just in case, are you connected to the good cluster with kubectl ? (Just add the same kind of issue) .... |
yes I think so. Running kubeclt get rc --namespace kube-system shows the 1- Invalid yaml - successThreshold/failureThreshold Also running ku 1.2.0a8 locally not sure if that could be an issue here?? On Tue, Mar 8, 2016 at 11:12 AM, thibault deheurles <
|
@Runseb - digging further looks like kube2sky container was failing looking up the k8s server - was able to pass in the master url env and the service is now up and running but still dns does not seems to work ;-( |
@derailed how did you install kmachine ? |
@derailed can you give me your cassandra rc and service definitions so I can try it and debug ? a gist would be fine. thanks |
Tx for looking into this @Runseb. I've spent most of the day on this As far as repro you should be able to use the cassandra sample in the k8s Sadly I would have loved to make this work but running out of time and I still feel kmachine is such a more elegant sol than spinning vagrants and FYI might also be a good idea to line up with k8s revs. ie k8s 1.1.2 = Good luck and thanks for your great support! On Wed, Mar 9, 2016 at 5:31 AM, runseb notifications@github.com wrote:
|
thanks for the detailed info @derailed , I will try the cassandra example. The basics should work but I will check with cassandra. I do agree the DNS add-on should be built-in to provide a totally out of the box solution. And I am about to change the version scheme to line up with k8s indeed. So thoughts are similar. thanks for the feedback |
To my mind, this kind of project will mostly be used by developper. I’m not I think the addons need to be in the pack. Must have:
The script are present so we need a way to maintain with some tests ... Le mer. 9 mars 2016 17:05, runseb notifications@github.com a écrit :
|
@derailed I think I found the issue, which has to do with the fact that the cassandra pods need 512mb of HEAP. kmachine by default only gets 512mb of RAM, so the containers fail to start. If you start a kmachine with enough RAM it will work. Below I am putting in a trace, where I use github.com/skippbox/configk8s to start the DNS Addon.
I did find that the cassandra nodes take a bit of time to register and |
I will put up a new version of kmachine which also works on all cloud providers and I will work to embed the DNS Add-on. |
@Runseb - Thanks! Correct about cassandra. I see you are using digitalocean
On Thu, Mar 10, 2016 at 9:35 AM, runseb notifications@github.com wrote:
|
@derailed just tested it on virtual box as well. it seems to work on my end.
|
and my scripts to deploy the DNS Add-on are at https://github.com/skippbox/configk8s |
I am going to close this one, because I tested it quite a bit. Original error seems to be due to the lack of RAM on the machine. |
Thanks @Runseb! - I'll try to circle back and give it another shot. Switch Do you have plans on supporting k8s 1.2.0 as it was just released? On Thu, Mar 17, 2016 at 3:02 PM, runseb notifications@github.com wrote:
|
yes, I pushed a change to master for 1.2.0. We are working on bundling the add ons daemon in kmachine so DNS starts automatically. |
That's excellent news. Thank you for making this happen! Also a bit on a tangent here but what are your plans (if any) to support Think it would be killer if suck a feature existed in kmachine. Thanks!! On Fri, Mar 18, 2016 at 1:41 AM, runseb notifications@github.com wrote:
|
I believe there is a registry Add-on now, but I have not tried it yet. |
Ah! I did not see that. Thank you! I'll take a look... On Fri, Mar 18, 2016 at 11:16 AM, runseb notifications@github.com wrote:
|
Hi,
Just taking km 0.5.0 out for a spin. I have a successful pure k8s aws deploy and trying out km locally reusing my k8s recipes. Having issue linking up to services. Think it's a known issue but wanted to check status/reason why this does not seem to work.
Case and point. I have a cassandra pod and service. Launch a virtualbox vm and try to access my cqlsh in my pod using cassandra service. Works with pure k8s 1.2.0a8 but fail with Name or service not known on km 0.5.0.
ku describe svc cassandra - shows the endpoint is correctly assigned and cqlsh command works with the ips but not the service name as expected.
Thank you!
The text was updated successfully, but these errors were encountered: