juju 1.x add machine command: how to specify flavors in an openstack environment

Eddy Truyen Eddy.Truyen at cs.kuleuven.be
Fri May 13 09:24:12 UTC 2016


Thanks Samuel,

it worked!

Best

Eddy

Op 4/05/2016 om 20:46 schreef Samuel Cozannet:
> Hi Eddy,
>
> Thanks for using Juju :)
>
> You can do
>
> juju deploy <service name> --constraints "mem=8G cpu-cores=4 
> root-disk=32G"
> then
> juju set-constraints <service name> "mem=8G..."
>
> You can find the list of available constraints here : 
> https://jujucharms.com/docs/1.25/reference-constraints
>
> (for Juju 1.X)
>
> and there: https://jujucharms.com/docs/devel/reference-constraints
> (for Juju 2.X)
>
> Best,
> Samuel
>
>
> --
> Samuel Cozannet
> Cloud, Big Data and IoT Strategy Team
> Business Development - Cloud and ISV Ecosystem
> Changing the Future of Cloud
> Ubuntu <http://ubuntu.com>  / Canonical UK LTD 
> <http://canonical.com> / Juju <https://jujucharms.com>
> samuel.cozannet at canonical.com <mailto:samuel.cozannet at canonical.com>
> mob: +33 616 702 389
> skype: samnco
> Twitter: @SaMnCo_23
> View Samuel Cozannet's profile on LinkedIn 
> <https://es.linkedin.com/in/scozannet>
>
> On Wed, May 4, 2016 at 8:41 PM, Eddy Truyen 
> <Eddy.Truyen at cs.kuleuven.be <mailto:Eddy.Truyen at cs.kuleuven.be>> wrote:
>
>     Hey,
>
>     How can I  specify in juju1 in the `juju machine add` command the
>     type of flavor (number of virtual cpus, GB of RAM).?
>
>     I work in an openstack environment. As far as I can see I can only
>     specify desired memory: juju machine add --constraints mem=8G
>
>     but how do I specify the number of virtual cpus?
>
>     Best
>
>     Eddy
>
>     -- 
>     Juju mailing list
>     Juju at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
>     Modify settings or unsubscribe at:
>     https://lists.ubuntu.com/mailman/listinfo/juju
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160513/63f3f857/attachment.html>


More information about the Juju mailing list