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: data:
prometheus.yml: | prometheus.yml: |
global: global:
scrape_interval: 15s scrape_interval: 5s
rule_files: rule_files:
- "/etc/prometheus-rules/alert.rules" - "/etc/prometheus-rules/alert.rules"
scrape_configs: scrape_configs:

View File

@ -17,11 +17,9 @@ spec:
name: user-load name: user-load
spec: spec:
containers: containers:
- args: - name: user-load
- -h image: weaveworksdemos/load-test:0.1.1
- front-end:80 command: ["/bin/sh"]
- -r 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"]
- "9999999"
image: weaveworksdemos/load-test
imagePullPolicy: Always imagePullPolicy: Always
name: user-load