Side effects of resizing a juju machine

Akshat Jiwan Sharma akshatjiwan at gmail.com
Thu Nov 16 07:49:20 UTC 2017


Thanks Junien, unfortunately I found out about constraints only after
deploying my apps.
Based on my understanding constraints just manage the minimum
specifications.
I need to have an upper bound on the maximum because in my case the auto
selected machine
configurations are already more than what I need.

Is there a way to control the max config that I may have missed?

something like --mem=2g such that a machine can't have more than 2gb of
memory?

Best,
Akshat



On Thu, Nov 16, 2017 at 12:21 PM, Junien Fridrick <
junien.fridrick at canonical.com> wrote:

> On Thu, Nov 16, 2017 at 09:07:42AM +0530, Akshat Jiwan Sharma wrote:
> > Hi everyone,
> >
> > A couple of times I've noticed that the capacity of a machine provisioned
> > by juju is much more than what I require for my workload. I was wondering
> > that  if I were to manually resize the machine would it break any of juju
> > services?
>
> Hi Akshat,
>
> Are you specifying constraints when you deploy your applications ? You
> should able to control the size of the machines deployed by juju with
> them.
>
> See https://jujucharms.com/docs/stable/charms-constraints and
> https://jujucharms.com/docs/stable/reference-constraints
>
> Cheers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171116/0245e943/attachment.html>


More information about the Juju mailing list