[openstack-dev] [kolla][kubernetes] Mirantis participation in kolla-mesos project and shift towards Kubernetes

Tomasz Pa ss7pro at gmail.com
Mon Apr 25 05:25:30 UTC 2016


On Mon, Apr 25, 2016 at 7:11 AM, Michał Rostecki
<michal.rostecki at gmail.com> wrote:
>
> Ummm... no?
>
> If you want to upgrade the things in containers, you should just
> rebuild them. You don't do any "yum update" action by hand in some
> middle layer. The newest updated repo metadata come from the base
> image and your layers on top of it are just installing packages as
> usual.
>
> So, the upgrade of python-nova package should come from new metadata
> in base image, and then usual "yum install" in nova layer.

Yes, you still need to build a new image, but having a separate layer
(ie: each package added with a separate RUN command) you can take
advantage of the cached layers. So rebuild is much fast than it's now.
>>
>
> Each package in it's own image layer? There will be no difference in
> image size, but there will be an impact on readability and facility.

Image size would not change, that's correct. But image build would be
much faster and by having them properly layered you'll need to
download only layer which has changed.



-- 
Tomasz Paszkowski
SS7, Asterisk, SAN, Datacenter, Cloud Computing
+48500166299



More information about the OpenStack-dev mailing list