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
MESOS: Decouple executor and kubelet #13036
MESOS: Decouple executor and kubelet #13036
Conversation
GCE e2e build/test passed for commit 7c00b4a948fd3529055d8c3c63c0ba56651e6694. |
GCE e2e build/test passed for commit 2453fa90905c75918a79511f7277a60a946e2fe6. |
GCE e2e build/test passed for commit c0975949369eee74b729e6e7544bc72f91f3e166. |
cc @cjcullen @a-robinson re. cloudprovider |
GCE e2e build/test passed for commit df25a5cd293f2485d87abd318f99469122902984. |
GCE e2e build/test passed for commit 5c9247f2e210bc3345e93ea8b44da6934eb64843. |
5205915
to
ac7cdb8
Compare
GCE e2e build/test passed for commit 52059153399da36cedb3ef37046ac263749c443a. |
GCE e2e build/test passed for commit ac7cdb8e1f8893882e3662b0ce5ed13a5ad42256. |
ac7cdb8
to
4f0d8e7
Compare
GCE e2e build/test failed for commit 4f0d8e76604c297d7e5946af0e807e847dbcb845. |
GCE e2e build/test passed for commit abc700b28634ece7f68ed45fdac6ef8a4cfe4085. |
@jdef this one would be ready for a high-level review. It certainly needs some clean up here and there. |
command: ~ | ||
environment: | ||
- MESOS_HOSTNAME=mesosslave1 |
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.
is this because the new dind image supports this variable?
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.
No, it was supported before, but we did not explicitly pass it to the kubelet (only indirectly as hostname). In production environment one might have real DNS names for slaves, not IPs. That's why I added it here.
This patch reduces the dependencies of the executor from the kubelet. This makes it possible launch the kubelet after the executor. This considerably reduces the complexity of the startup code. Moreover, this work is a requirement to use a standalone kubelet some day.
- simplify - rename kubeletExecutor -> executorKubelet - move executorKubelet code into kubelet.go - remove duplicated executorKubelet.ListenAndServe - fix executorKubelet.Run comment
3712bee
to
0d8384c
Compare
Rebased to lastets master, hopefully with more stable e2e tests. |
GCE e2e test build/test passed for commit 0d8384c. |
@k8s-bot test this please |
GCE e2e test build/test passed for commit 0d8384c. |
The PR builder doesn't test these changes since they are only in contrib so adding e2e-not-required |
Automatic merge from submit-queue |
Auto commit by PR queue bot
…-and-kubelet Auto commit by PR queue bot
…-and-kubelet Auto commit by PR queue bot
This is the preparation to remove a lot of duplicated code for kubelet initialization in kubernetes#13036.
…-and-kubelet Auto commit by PR queue bot
…-and-kubelet Auto commit by PR queue bot
This patch reduces the dependencies of the executor from the kubelet. This makes it possible to launch the kubelet after the executor.
This PR is the pre-requisite for
All non-mesos changes are moved into #14415