--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6dd76cb9-1f91-43c8-8ca2-51a6503deded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, a large query can load a lot of data into memory for a short period of time. This is unavoidable in Prometheus 1.x.Running Prometheus in K8s is just fine. I would recommend giving your Prometheus server a little more memory slack to avoid the crashes.I would also remove the limit, or set it much higher and rely on the normal request size for scheduling the Prometheus pod(s).
On Mon, Nov 6, 2017 at 3:38 PM, Khusro Jaleel <kerne...@gmail.com> wrote:
Hi there,I have a second question about running Prometheus (1.6.2) in our Kubernetes cluster (1.7.8). I am using GKE for this.I have used Helm to install it and given the pods 2Gi of memory (both request and limits are the same), and I've told Prometheus to use a heap size of around 1.4Gi only as the maximum. However I do sometimes see Kubernetes killing the pod because it suddenly spiked up to 2.6Gi of memory for example, I think that might be because someone did an expensive query? Is that possible? And if so, is there a way to tune it so it doesn't try to burst to such a high usage?On a separate note, I'm wondering if it's recommended to run Prometheus inside a K8 cluster at all? Is it generally more stable to run it externally, as long as it can access all the pods directly?Thanks for any insights.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/ec738855-aefe-4941-8783-146854f21a24%40googlegroups.com.
--
On Monday, 6 November 2017 16:40:31 UTC, Ben Kochie wrote:Yes, a large query can load a lot of data into memory for a short period of time. This is unavoidable in Prometheus 1.x.Running Prometheus in K8s is just fine. I would recommend giving your Prometheus server a little more memory slack to avoid the crashes.I would also remove the limit, or set it much higher and rely on the normal request size for scheduling the Prometheus pod(s).On Mon, Nov 6, 2017 at 3:38 PM, Khusro Jaleel <kerne...@gmail.com> wrote:Hi there,--I have a second question about running Prometheus (1.6.2) in our Kubernetes cluster (1.7.8). I am using GKE for this.I have used Helm to install it and given the pods 2Gi of memory (both request and limits are the same), and I've told Prometheus to use a heap size of around 1.4Gi only as the maximum. However I do sometimes see Kubernetes killing the pod because it suddenly spiked up to 2.6Gi of memory for example, I think that might be because someone did an expensive query? Is that possible? And if so, is there a way to tune it so it doesn't try to burst to such a high usage?On a separate note, I'm wondering if it's recommended to run Prometheus inside a K8 cluster at all? Is it generally more stable to run it externally, as long as it can access all the pods directly?Thanks for any insights.
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6dd76cb9-1f91-43c8-8ca2-51a6503deded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/51131f98-edd4-4c58-9ff6-1a9a76c42b0b%40googlegroups.com.