-
Notifications
You must be signed in to change notification settings - Fork 41.5k
mesos/docker automated local cluster deployment #10049
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
Conversation
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
👍 |
Who would be a good reviewer for this PR? |
I'll be having my team at mesosphere review it before I ask for external review. |
e2e test log: https://gist.githubusercontent.com/karlkfi/4f4a5b0519c9fc77e93c/raw/kubernetes-docker-mesos-e2e.log
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can go to v1 directly here. v1beta3 will be unsupported soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added to todo list in top comment
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
Rebase to fix the dns.go e2e tests which failed before due to lower-case "tcp" protocol in the service definition. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really want to describe how to install 3rdparty software here? I fear that this will always be outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a valid concern. boot2docker is nearly outdated already, with the new docker machine. I just wanted to document what I use that I know works. In the future, I want to have unit & integration tests run in a docker container so that go and etcd aren't required locally. But git and docker are always going to be required...
Getting closer. Added instructions to expose boot2docker container IPs to the host. YAY! DNS tests also pass now:
|
This PR is ready for review. @davidopp who would be a good reviewer? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how this change got in here. Maybe in need of rebase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is merged on master. Just rebase and skip that patch.
@davidopp was out sick, unfortunately - I'm sorry I didn't see this early. I hope he'll be able to get to this tomorrow, since the rest of the (US) week is basically a merge freeze. |
I just finished a first pass and with the exception of the |
GCE e2e build/test passed for commit 7310ef14a0ce61775154c64118972e5ac6737b1e. |
I've extracted the mesos-slave image to our mesosphere/docker-containers repo: mesosphere-backup/docker-containers#21 |
Squashed commits. |
GCE e2e build/test passed for commit a2cb184b4f063c5f299572c9eb5a09fa800a0e2a. |
GCE e2e build/test passed for commit 3c377348f794ada1baa7f712547ce16c465d3aee. |
GCE e2e build/test passed for commit 304737b0166a134d2433b8118bc5248ff2e5758b. |
GCE e2e build/test passed for commit 2d27fb4d341a082794a24802e45ef9a6a54cdf14. |
CLAs look good, thanks! |
GCE e2e build/test passed for commit 706646901eb0db4e34d7dcceb61d1f5766660479. |
GCE e2e build/test passed for commit f5fa688. |
Sorry, give me one sec to re-review. |
Just did a quick pass for obvious stuff. I think we're good. |
👍 P.S. Comment 200! |
mesos/docker automated local cluster deployment
Adds "mesos/docker" cluster provider (
KUBERNETES_PROVIDER=mesos/docker
).See the mesos/docker getting started guide for the commands to run the e2e tests.
Integration Points:
KUBE_SERVER
inhack/ginkgo-e2e.sh
to allow overriding scheme (uses https by default, overridden bydetect-master
incluster/mesos/docker/util.sh
)validate-cluster
function to be provided by clusterutil.sh
with a default impl incluster/kube-util.sh
.cluster/kube-util.sh
go to STDERR to avoid breaking usage in functions that use STDOUT../cluster/test-e2e.sh
to delegate to./hack/ginkgo-e2e.sh
. (This is not technically required for this PR, but seems to add legitimacy to the e2e scripts in./hack
. They should perhaps be moved instead, but I didn't want to tackle that in this PR.)./hack/ginkgo-e2e.sh
to improve ctrl-c responsivenessdocs/getting-started-guides/README.md
(affected every line in the table)Progress:
./docker/build/build.sh
in kubernetes-mesos:docker-compose)./build/release.sh
ormake
instead of kubernetes-mesos-build./docker/km/build.sh
in kubernetes-mesos:docker-compose)./docker/test/build.sh
in kubernetes-mesos:docker-compose)./cluster/kube-up.sh
./cluster/kube-down.sh
make test_e2e
go run hack/e2e.go -test
Deferred Features:
xref: d2iq-archive/kubernetes-mesos#305