-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Podman load docker images #1766
Conversation
aojea
commented
Aug 6, 2020
the kind load docker-image was not working in podman because it was using docker commands directly. This moves the helper functions used by the kind command to methods in the Provider interface, so it works both for podman and docker.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: aojea The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign @BenTheElder @amwat |
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
/hold |
@@ -45,4 +45,8 @@ type Provider interface { | |||
GetAPIServerInternalEndpoint(cluster string) (string, error) | |||
// CollectLogs will populate dir with cluster logs and other debug files | |||
CollectLogs(dir string, nodes []nodes.Node) error | |||
// SaveImage saves image to dest, as in `docker save` | |||
SaveImage(image, dest string) error |
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.
Node providers cannot all provide this anyhow, if I have a kubectl
+ pods based provider, then I want the images to come from the local machine.
Instead we need to cover all the local machine when obtaining images. We can provide a unified UX for that.
test |
@aojea: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@BenTheElder how do you suggest to move on with this? |