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>
[email protected] <mailto:[email protected]>
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 <[email protected] <mailto:[email protected]>> 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
    [email protected] <mailto:[email protected]>
    Modify settings or unsubscribe at:
    https://lists.ubuntu.com/mailman/listinfo/juju



-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to