This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new eb747c4  Reduce memory reserved for prometheus (#2857)
eb747c4 is described below

commit eb747c48e44ae7861771565c8e46f8ed6c8d6e48
Author: Sanjeev Kulkarni <sanjee...@gmail.com>
AuthorDate: Fri Oct 26 22:06:42 2018 -0700

    Reduce memory reserved for prometheus (#2857)
---
 .../java/org/apache/pulsar/functions/runtime/KubernetesRuntime.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/KubernetesRuntime.java
 
b/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/KubernetesRuntime.java
index 80eb840..7f3f72d 100644
--- 
a/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/KubernetesRuntime.java
+++ 
b/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/KubernetesRuntime.java
@@ -66,7 +66,7 @@ class KubernetesRuntime implements Runtime {
     private static final Integer GRPC_PORT = 9093;
     private static final Integer PROMETHEUS_PORT = 9094;
     private static final Double prometheusMetricsServerCpu = 0.1;
-    private static final Long prometheusMetricsServerRam = 250000000l;
+    private static final Long prometheusMetricsServerRam = 125000000l;
     public static final Pattern VALID_POD_NAME_REGEX =
             
Pattern.compile("[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*",
                     Pattern.CASE_INSENSITIVE);

Reply via email to