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
Cluster support with Kitchen #905
Comments
tl;dr This is not possible with test-kitchen currently. Longer version: |
Just to throw out how you might accomplish this today is to use the kitchen-nodes plugin that will allow nodes to use chef search and find each other in kitchen runs. The clunky thing is you do need to create/converge the nodes separately. You can orchestrate this in a rakefile. Something like this:
Clunky but it works. I blogged about doing this with kitchen/docker/couchbase here. |
Thanks for the responses. Still wish it was supported with TK. Are there any other tool, you guys aware of will help in this space outside TK? Matt, will try out the kitchen-nodes. Thanks for the pointer to the blog. |
We all, at various points, wish it was supported as well but it's a drastic divergence from our core competence. We'd love to add it but the effort/dedication required is significant not to mention there is plenty of debt that needs to be paid off first. There really aren't any great alternatives that I am aware of but the related projects may be helpful even if dated. Related projects: |
Ok, Thanks for the pointers Seth |
Closing this in favor of #873 |
i'm doing this with kitchen-ansible but that's because ansible support remote ssh. see http://ec2dream.blogspot.co.uk/2015/12/automated-devops-with-test-kitchen.html |
Interesting way to connect, thanks for sharing. To get around the cluster limitation, I ended up creating 2 flows in my
Also as I didn't want to maintain separate test cases for both the flows, I On Fri, Feb 12, 2016 at 11:24 AM, Neill Turner notifications@github.com
|
For you ansible fans, check out molecule. This solves your particular issues with test-kitchen. |
I have a use case where I need to spin off a cluster (A Master and multiple Slaves) and run test suites against them.
So far I could get both Master & Slave deployed on a single Instance with kitchen and run my test suites. However I am interested to have Kitchen launch separate instance for Master & Slave and run test suites. Is this possible with Kitchen? Any pointers are appreciated.
The text was updated successfully, but these errors were encountered: