k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/testing/watch-list/config.yaml (about)

     1  {{$enableWatchListFeature := DefaultParam .CL2_ENABLE_WATCH_LIST_FEATURE false}}
     2  {{$testDuration := "5m"}}
     3  {{$customApiCallThresholds := DefaultParam .CUSTOM_API_CALL_THRESHOLDS ""}}
     4  name: watch-list
     5  namespace:
     6    number: 1
     7    prefix: "watch-list"
     8  tuningSets:
     9  - name: Uniform10qps
    10    qpsLoad:
    11      qps: 10
    12  steps:
    13  - name: Create secrets
    14    phases:
    15    - namespaceRange:
    16        min: 1
    17        max: 1
    18        basename: watch-list
    19      replicasPerNamespace: 400
    20      tuningSet: Uniform10qps
    21      objectBundle:
    22      - basename: huge-secret
    23        objectTemplatePath: "secret.yaml"
    24  - name: Start measurements
    25    measurements:
    26      - Identifier: TestMetrics
    27        Method: TestMetrics
    28        Params:
    29          action: start
    30      - Identifier: WaitForFinishedJobs
    31        Method: WaitForFinishedJobs
    32        Params:
    33          action: start
    34          labelSelector: group = watch-list
    35      - Identifier: APIResponsivenessPrometheusSimple
    36        Method: APIResponsivenessPrometheus
    37        Params:
    38          action: start
    39  - name: Start the secret informers
    40    phases:
    41      - namespaceRange:
    42          min: 1
    43          max: 1
    44          basename: watch-list
    45        # TODO(p0lyn0mial): bring back 2 replicas
    46        replicasPerNamespace: 1
    47        tuningSet: Uniform10qps
    48        objectBundle:
    49          - basename: watch-list-secret
    50            objectTemplatePath: role.yaml
    51          - basename: watch-list-secret
    52            objectTemplatePath: roleBinding.yaml
    53          - basename: watch-list
    54            objectTemplatePath: "job.yaml"
    55            templateFillMap:
    56              Duration: {{$testDuration}}
    57              EnableWatchListFeature: {{$enableWatchListFeature}}
    58  - name: Wait for the secret informer job to finish
    59    measurements:
    60      - Identifier: WaitForFinishedJobs
    61        Method: WaitForFinishedJobs
    62        Params:
    63          action: gather
    64          timeout: 10m
    65  - name: Collecting test measurements
    66    measurements:
    67      - Identifier: TestMetrics
    68        Method: TestMetrics
    69        Params:
    70          action: gather
    71      - Identifier: APIResponsivenessPrometheusSimple
    72        Method: APIResponsivenessPrometheus
    73        Params:
    74          action: gather
    75          enableViolations: true
    76          useSimpleLatencyQuery: true
    77          summaryName: APIResponsivenessPrometheus_simple
    78          customThresholds: {{YamlQuote $customApiCallThresholds 4}}