Closed stephenmoloney closed 6 years ago
An alternative approach which I sort of like due to the long wait time to dowload the kubenow image is to add the kubenow image to the docker image... At least then it doesn't have to be downloaded on every time kn apply
runs the docker container. I started some work on that alternative approach here
@stephenmoloney thanks for opening this PR. I think that the image gets downloaded only the first time, and then there should be a check that skips the download if the image is already present in the tenancy. So, I'd rather keep this current approach, as we should try to keep the Docker image as light as possible. Please let me know when you have something working, so I can review and enable the CI.
@carmat88, @andersla any ideas on this?
If the image gets downloaded every time it might be due to recent breaking developments with security updates for images. @carmat88 do I need to merge anything to make this not happening?
@mcapuccini No, the currently queued PR in the image repo is not meant to fix any breakings. Also we do not have any cron-job running for the time being. Though I've noticed various PRs for Kubenow, so I wonder if there was anything there meant to be a fix?
@carmat88 Yep, exactly. @andersla merged a fix recently that solves the issue of image re-download. I will make a 0.3.2 stable that will sort things out.
I can confirm that the image doesn't keep downloading provided it has been successfully uploaded... sorry if that is a bit misleading.... I think not putting the image inside the docker image is reasonable to keep the docker image small..
But if the server does not accept a qcow2
disc_format, I'm not sure best approach. Perhaps, making a raw
image and a qcow2
image available on aws is an option.
That would look something like this -- But I'm not entirely sure about this either because of the potential huge size of the raw
file. Perhaps, it could be condensed though.
closing in favour of this PR instead
Change content and motivation
qcow2
disc_format is potentially incompatible with some cloud providersWhat does this MR do?
disc_format
as an optionWhat is there to be completed
qcow2
default format.qcow2