fast containers & dev workflow with juju 1.18

Kapil Thangavelu kapil.thangavelu at canonical.com
Tue Apr 8 14:16:48 UTC 2014


Hi Folks,

instructions on getting a speedy workflow with local provider (a container
per second)

with juju's builtin local provider (running 1.18) if you have btrfs @
/var/lib/lxc and install squid-deb-proxy on the host, and run juju set-env
apt-http-proxy="http://10.0.3.1:8000"  you should be able to use the local
provider with significant speed improvements. (clone for containers package
caches, you also need to modify the squid deb proxy conf to allow for ppa
access).  that won't include nested containers or device access (open juju
bugs for hat) you can however use add-machine kvm:0 to get a kvm machine in
local provider for greater machine access on particular workloads. you'll
need to configure the 'network-bridge' option in environments.yaml to point
to virbr0 so lxc and kvm come up on the same network. The first container
will see some lag as juju downloads and populates the lxc cloud images into
/var/cache/lxc and creates a template container for subsequent cloning.

cheers,

Kapil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140408/b97067e2/attachment.html>


More information about the Juju mailing list