github.com/m3db/m3@v1.5.0/scripts/vagrant/provision/manifests/promremotebench-zero.yaml (about) 1 apiVersion: apps/v1 2 kind: StatefulSet 3 metadata: 4 name: promremotebench 5 labels: 6 app: promremotebench 7 spec: 8 serviceName: "promremotebench" 9 replicas: 0 10 selector: 11 matchLabels: 12 app: promremotebench 13 template: 14 metadata: 15 labels: 16 app: promremotebench 17 spec: 18 containers: 19 - name: promremotebench 20 image: quay.io/m3db/promremotebench:latest 21 env: 22 - name: PROMREMOTEBENCH_TARGET 23 value: "http://m3coordinator-dedicated-test-cluster:7201/api/v1/prom/remote/write" 24 - name: PROMREMOTEBENCH_NUM_HOSTS 25 value: "1000" 26 - name: PROMREMOTEBENCH_INTERVAL 27 value: "10" 28 - name: PROMREMOTEBENCH_BATCH 29 value: "128" 30 - name: PROMREMOTEBENCH_POD_NAME 31 valueFrom: 32 fieldRef: 33 fieldPath: metadata.name 34 - name: PROMREMOTEBENCH_LABELS_JSON_ENV 35 value: '{"generator":"PROMREMOTEBENCH_POD_NAME"}' 36 - name: PROMREMOTEBENCH_QUERY 37 value: "false" 38 - name: PROMREMOTEBENCH_QUERY_TARGET 39 value: http://m3coordinator-dedicated-test-cluster:7201/api/v1/query_range 40 - name: PROMREMOTEBENCH_QUERY_CONCURRENCY 41 value: "15" 42 - name: PROMREMOTEBENCH_QUERY_NUM_SERIES 43 value: "5000" 44 - name: PROMREMOTEBENCH_QUERY_STEP 45 value: 1m 46 - name: PROMREMOTEBENCH_QUERY_RANGE 47 value: 12h 48 - name: PROMREMOTEBENCH_QUERY_AGGREGATION 49 value: sum 50 - name: PROMREMOTEBENCH_QUERY_LABELS_JSON_ENV 51 value: '{"generator":"PROMREMOTEBENCH_POD_NAME"}' 52 - name: PROMREMOTEBENCH_QUERY_SLEEP 53 value: "100ms" 54 - name: PROMREMOTEBENCH_QUERY_DEBUG 55 value: "true"