-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Deprecate HostConfig at container start #20615
Deprecate HostConfig at container start #20615
Conversation
Labelling this PR as size/L |
GCE e2e test build/test passed for commit 4a386f8. |
podHasSELinuxLabel := pod.Spec.SecurityContext != nil && pod.Spec.SecurityContext.SELinuxOptions != nil | ||
binds := makeMountBindings(opts.Mounts, podHasSELinuxLabel) | ||
|
||
// The reason we create and mount the log file in here (not in kubelet) is because |
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.
The TODO comment doesn't make sense anymore. Could you update them?
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.
Sure.
LGTM overall with nits |
4a386f8
to
8118092
Compare
@yujuhong Addressed comments and squashed. |
GCE e2e test build/test passed for commit 8118092. |
@dchen1107, FYI |
Reassign to @dchen1107 so she can take a proper look before merging. |
Sorry for holding the pr for last check. LGTM. Thanks for fixing. |
Travis continuous integration appears to have missed, closing and re-opening to trigger it |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test failed for commit 8118092. |
@Random-Liu |
GCE e2e build/test failed for commit 8118092. |
GCE e2e test build/test passed for commit 8118092. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit 8118092. |
Automatic merge from submit-queue |
…tainer-start Auto commit by PR queue bot
…e-node-address-logic-from-upstream Backport retrieve node address logic from upstream Origin-commit: 3c717d73258620724d602ae5b6db99e2edeef995
…e-node-address-logic-from-upstream Backport retrieve node address logic from upstream Origin-commit: 3c717d73258620724d602ae5b6db99e2edeef995
For #20454 and #20583.
This PR changes the docker manager to set
HostConfig
when container creating instead of starting. ForStartContainer()
we just passnil
into it now.