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.fridr...@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 >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju