This is not currently configurable at install time, but you should be able to 
modify the object on the cluster that you already have running. Change the 
limit parameter from 2GB down to like 500MB or something, and then update 
-storage.local.target-heap-size to be 50% of that.

Once you save, the pod should get scheduled.

For anyone following along, note that these types of changes are not generally 
recommended/supported and there are no guarantees that they will preserved upon 
a software update.

 - Rob

> On May 24, 2017, at 11:01 AM, Arve Knudsen <[email protected]> wrote:
> 
> Thanks for letting me know, Rob. I'm bringing this cluster up for testing 
> though, so I don't think you'll need much history. How can I configure 
> Promotheus to use a certain amount of memory?
> 
> Thanks,
> Arve
> 
> On Wed, May 24, 2017 at 7:36 PM Rob Szumski <[email protected] 
> <mailto:[email protected]>> wrote:
> Its default limit is 2GB, which allows it to keep a decent amount of history. 
> 3-4GB should be good. I use the t2.medium on AWS which has 4GB.
> 
> > On May 24, 2017, at 8:51 AM, Arve Knudsen <[email protected] 
> > <mailto:[email protected]>> wrote:
> >
> > How much memory does the prometheus-k8s-0 pod require? I've spun up a 
> > Kubernetes cluster of 4 workers with 1 GB of memory on DigitalOcean, and 
> > prometheus-k8s-0 won't schedule anywhere on account of its memory 
> > requirements not being met.
> >
> > Thanks,
> > Arve
> >
> >
> 

Reply via email to