Decrease scrape interval (#15865)

1. remove scrape interval to use default one

2. remove the not used limit values for better reading

Signed-off-by: Jenny Li <jing.li@zilliz.com>
pull/15868/head
Jenny Li 2022-03-04 13:59:56 +08:00 committed by GitHub
parent 3e862ecdfb
commit c04c1825ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 114 deletions

View File

@ -1,8 +1,6 @@
metrics:
serviceMonitor:
enabled: true
interval: "5s"
scrapeTimeout: "5s"
pulsar:
bookkeeper:
volumes:

View File

@ -1,77 +1,52 @@
metrics:
serviceMonitor:
enabled: true
interval: "5s"
scrapeTimeout: "5s"
proxy:
resources:
requests:
cpu: "0.3"
memory: "256Mi"
# limits:
# cpu: "0.5"
# memory: "512Mi"
rootCoordinator:
resources:
requests:
cpu: "0.3"
memory: "256Mi"
# limits:
# cpu: "0.6"
# memory: "512Mi"
queryCoordinator:
resources:
requests:
cpu: "0.4"
memory: "100Mi"
# limits:
# cpu: "1.1"
# memory: "256Mi"
queryNode:
resources:
requests:
cpu: "2"
memory: "500Mi"
limits:
# cpu: "2"
# memory: "1.5Gi"
indexCoordinator:
resources:
requests:
cpu: "0.1"
memory: "50Mi"
# limits:
# cpu: "0.1"
# memory: "100Mi"
indexNode:
resources:
requests:
cpu: "4"
memory: "500Mi"
# limits:
# cpu: "4"
# memory: "1.5Gi"
dataCoordinator:
resources:
requests:
cpu: "0.1"
memory: "50Mi"
# limits:
# cpu: "0.2"
# memory: "100Mi"
dataNode:
resources:
requests:
cpu: "0.5"
memory: "500Mi"
# limits:
# cpu: "1.2"
# memory: "1.5Gi"
pulsar:
proxy:
configData:
@ -80,25 +55,16 @@ pulsar:
requests:
cpu: "1"
memory: "2Gi"
# limits:
# cpu: "1"
# memory: "4Gi"
# Resources for the websocket proxy
wsResources:
requests:
memory: "512Mi"
cpu: "0.3"
# limits:
# memory: "512Mi"
# cpu: "0.3"
broker:
resources:
requests:
cpu: "1.5"
memory: "4Gi"
# limits:
# cpu: "1.5"
# memory: "8Gi"
configData:
PULSAR_MEM: "\"-Xms4096m -Xmx4096m -XX:MaxDirectMemorySize=8192m -Dio.netty.leakDetectionLevel=disabled -Dio.netty.recycler.linkCapacity=1024 -XX:+ParallelRefProcEnabled -XX:+UnlockExperimentalVMOptions -XX:+AggressiveOpts -XX:+DoEscapeAnalysis -XX:ParallelGCThreads=32 -XX:ConcGCThreads=32 -XX:G1NewSizePercent=50 -XX:+DisableExplicitGC -XX:-ResizePLAB -XX:+ExitOnOutOfMemoryError -XX:+PerfDisableSharedMem\""
@ -124,26 +90,19 @@ pulsar:
requests:
cpu: 1
memory: "4Gi"
# limits:
# cpu: 1
# memory: "8Gi"
bastion:
resources:
requests:
cpu: "0.3"
memory: "50Mi"
# limits:
# cpu: "0.3"
# memory: "50Mi"
autorecovery:
resources:
requests:
cpu: "1"
memory: "512Mi"
# limits:
# cpu: "1"
# memory: "1Gi"
zookeeper:
volumes:
data:
@ -154,25 +113,16 @@ pulsar:
requests:
cpu: "0.3"
memory: "1Gi"
# limits:
# cpu: "0.3"
# memory: "2Gi"
etcd:
resources:
requests:
cpu: "0.1"
memory: "100Mi"
# limits:
# cpu: "0.1"
# memory: "300Mi"
minio:
resources:
requests:
cpu: "0.3"
memory: "512Mi"
# limits:
# cpu: "0.6"
# memory: "512Mi"
standalone:
persistence:
persistentVolumeClaim:
@ -181,6 +131,3 @@ standalone:
requests:
cpu: "1"
memory: "3.5Gi"
# limits:
# cpu: "2.6"
# memory: "8.5Gi"

View File

@ -1,102 +1,69 @@
metrics:
serviceMonitor:
enabled: true
interval: "5s"
scrapeTimeout: "5s"
proxy:
resources:
requests:
cpu: "0.3"
memory: "256Mi"
# limits:
# cpu: "0.5"
# memory: "512Mi"
rootCoordinator:
resources:
requests:
cpu: "0.3"
memory: "256Mi"
# limits:
# cpu: "0.6"
# memory: "512Mi"
queryCoordinator:
resources:
requests:
cpu: "0.4"
memory: "100Mi"
# limits:
# cpu: "1.1"
# memory: "256Mi"
queryNode:
resources:
requests:
cpu: "2"
memory: "500Mi"
limits:
# cpu: "2"
# memory: "1.5Gi"
indexCoordinator:
resources:
requests:
cpu: "0.1"
memory: "50Mi"
# limits:
# cpu: "0.1"
# memory: "100Mi"
indexNode:
resources:
requests:
cpu: "4"
memory: "500Mi"
# limits:
# cpu: "4"
# memory: "1.5Gi"
dataCoordinator:
resources:
requests:
cpu: "0.1"
memory: "50Mi"
# limits:
# cpu: "0.2"
# memory: "100Mi"
dataNode:
resources:
requests:
cpu: "0.5"
memory: "500Mi"
# limits:
# cpu: "1.2"
# memory: "1.5Gi"
pulsar:
proxy:
resources:
requests:
cpu: "1"
memory: "2Gi"
# limits:
# cpu: "1"
# memory: "4Gi"
# Resources for the websocket proxy
wsResources:
requests:
memory: "512Mi"
cpu: "0.3"
# limits:
# memory: "512Mi"
# cpu: "0.3"
broker:
resources:
requests:
cpu: "1.5"
memory: "4Gi"
# limits:
# cpu: "1.5"
# memory: "8Gi"
bookkeeper:
volumes:
ledgers:
@ -105,25 +72,18 @@ pulsar:
requests:
cpu: 1
memory: "4Gi"
# limits:
# cpu: 1
# memory: "8Gi"
bastion:
resources:
requests:
cpu: "0.3"
memory: "50Mi"
# limits:
# cpu: "0.3"
# memory: "50Mi"
autorecovery:
resources:
requests:
cpu: "1"
memory: "512Mi"
# limits:
# cpu: "1"
# memory: "1Gi"
zookeeper:
volumes:
data:
@ -132,30 +92,20 @@ pulsar:
requests:
cpu: "0.3"
memory: "1Gi"
# limits:
# cpu: "0.3"
# memory: "2Gi"
etcd:
resources:
requests:
cpu: "0.1"
memory: "100Mi"
# limits:
# cpu: "0.1"
# memory: "300Mi"
minio:
resources:
requests:
cpu: "0.3"
memory: "512Mi"
# limits:
# cpu: "0.6"
# memory: "512Mi"
standalone:
resources:
requests:
cpu: "1"
memory: "3.5Gi"
# limits:
# cpu: "2.6"
# memory: "8.5Gi"