-
Notifications
You must be signed in to change notification settings - Fork 460
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
Pass pod config when pulling image during create #541
Conversation
Welcome @kevpar! |
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
52792b4
to
c968c63
Compare
@Random-Liu - Why is this code ever here? We do not allow CRI to pull the image at |
This is client side change only for crictl. In Kubelet, the image would be pulled before creating the container; while in crictl, image is also pulled to make crictl easier to use. |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feiskyer, kevpar The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@feiskyer - Thanks! |
Could this have caused #548 ? |
@cgwalters - Seems very likely yes. |
Signed-off-by: Kevin Parsons kevpar@microsoft.com
The change to pull image as part of container create broke LCOW (Linux Containers on Windows), as it depends on knowing the pod config at pull time to select the correct snapshotter. We already have the pull config available in this function, so this change just passes it through to the pull operation.