Updated user-load manifest and Prometheus scrap time (#2397)

* update user-load manifest and prometheus scrap time

Signed-off-by: oumkale <oum.kale@mayadata.io>

* update user-load manifest and prometheus scrap time

Signed-off-by: oumkale <oum.kale@mayadata.io>
This commit is contained in:
OUM NIVRATHI KALE 2021-01-12 19:09:51 +05:30 committed by GitHub
parent ba3ad3dca0
commit ae9d1062d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
data:
prometheus.yml: |
global:
scrape_interval: 15s
scrape_interval: 5s
rule_files:
- "/etc/prometheus-rules/alert.rules"
scrape_configs:

View File

@ -17,11 +17,9 @@ spec:
name: user-load
spec:
containers:
- args:
- -h
- front-end:80
- -r
- "9999999"
image: weaveworksdemos/load-test
- name: user-load
image: weaveworksdemos/load-test:0.1.1
command: ["/bin/sh"]
args: ["-c", "while true; do locust --host http://front-end.sock-shop.svc.cluster.local -f /config/locustfile.py --clients 5 --hatch-rate 5 --num-request 100 --no-web; done"]
imagePullPolicy: Always
name: user-load