-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add functional tests #22
Comments
From @krancour on March 14, 2016 21:9 Just a quick update on this. This turns out to not be at all as easy as it looks at first glance. So far, I have encountered two major issues:
Ultimately, I think this needs to be deferred for a bit until we have improved capabilities with regard to bringing up (and bringing down) a fully containerized k8s cluster. Perhaps there is room for a new tool that makes short work of this and can be re-used across projects to enable k8s clusters for functional testing. (I'm imagining something in the same vein as micro-kube... perhaps "nano-kube".) |
From @jgmize on March 15, 2016 2:48 https://github.com/mikedanese/k8s-on-k8s or https://github.com/polvi/monokube might be helpful for this. |
From @krancour on March 9, 2016 5:42
The main barrier to this from the onset is that router requires a k8s apiserver to talk to...
I'm thinking of using a containerized, single node k8s to fulfill that requirement. See http://kubernetes.github.io/docs/getting-started-guides/docker/
Router config is driven off of annotations on the router rc, application services, and secrets. It's probably possible to see the containerized k8s with some of these things and then assert that router-generated nginx config appears as expected.
The obvious sticky point here might be that the containerized k8s needs to run privileged.
Copied from original issue: deis/router#140
The text was updated successfully, but these errors were encountered: