github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/scripts/vagrant/provision/manifests/promremotebench-multi.yaml (about)

     1  ---
     2  apiVersion: apps/v1
     3  kind: StatefulSet
     4  metadata:
     5    name: promremotebench
     6    labels:
     7      app: promremotebench
     8  spec:
     9    serviceName: "promremotebench"
    10    replicas: 0
    11    selector:
    12      matchLabels:
    13        app: promremotebench
    14    template:
    15      metadata:
    16        labels:
    17          app: promremotebench
    18      spec:
    19        containers:
    20        - name: promremotebench
    21          image: quay.io/m3db/promremotebench:latest
    22          ports:
    23            - name: debug
    24              containerPort: 7203
    25              protocol: TCP
    26          env:
    27          - name: PROMREMOTEBENCH_TARGET
    28            value: "M3COORDINATOR_WRITE_TARGETS"
    29          - name: PROMREMOTEBENCH_NUM_HOSTS
    30            value: "1000"
    31          - name: PROMREMOTEBENCH_INTERVAL
    32            value: "10"
    33          - name: PROMREMOTEBENCH_BATCH
    34            value: "128"
    35          - name: PROMREMOTEBENCH_POD_NAME
    36            valueFrom:
    37              fieldRef:
    38                fieldPath: metadata.name
    39          - name: PROMREMOTEBENCH_LABELS_JSON_ENV
    40            value: '{"generator":"PROMREMOTEBENCH_POD_NAME"}'
    41          - name: PROMREMOTEBENCH_QUERY
    42            value: "false"
    43          - name: PROMREMOTEBENCH_QUERY_TARGET
    44            value: "M3COORDINATOR_QUERY_TARGETS"
    45          - name: PROMREMOTEBENCH_QUERY_CONCURRENCY
    46            value: "15"
    47          - name: PROMREMOTEBENCH_QUERY_NUM_SERIES
    48            value: "5000"
    49          - name: PROMREMOTEBENCH_QUERY_STEP
    50            value: 1m
    51          - name: PROMREMOTEBENCH_QUERY_RANGE
    52            value: 12h
    53          - name: PROMREMOTEBENCH_QUERY_AGGREGATION
    54            value: sum
    55          - name: PROMREMOTEBENCH_QUERY_LABELS_JSON_ENV
    56            value: '{"generator":"PROMREMOTEBENCH_POD_NAME"}'
    57          - name: PROMREMOTEBENCH_QUERY_SLEEP
    58            value: "100ms"
    59          - name: PROMREMOTEBENCH_QUERY_DEBUG
    60            value: "true"
    61          - name: PROMREMOTEBENCH_QUERY_DEBUG_LENGTH
    62            value: "0"
    63  
    64  ---
    65  apiVersion: v1
    66  kind: Service
    67  metadata:
    68    labels:
    69      app: promremotebench
    70    name: promremotebench
    71  spec:
    72    ports:
    73    - name: debug
    74      port: 7203
    75      targetPort: debug
    76    selector:
    77      app: promremotebench