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

     1  {{$LARGE_BACKEND_LB_SERVICE_COUNT := DefaultParam .CL2_LARGE_BACKEND_LB_SERVICE_COUNT 2}}
     2  {{$MEDIUM_BACKEND_LB_SERVICE_COUNT := DefaultParam .CL2_MEDIUM_BACKEND_LB_SERVICE_COUNT 2}}
     3  {{$SMALL_BACKEND_LB_SERVICE_COUNT := DefaultParam .CL2_SMALL_BACKEND_LB_SERVICE_COUNT 2}}
     4  {{$ilbQPS := DefaultParam .CL2_ILB_TEST_QPS 20}}
     5  
     6  # Test
     7  name: ilbload
     8  namespace:
     9    number: 1
    10  tuningSets:
    11  - name: ILBConstantQPS
    12    qpsLoad:
    13      qps: {{$ilbQPS}}
    14  steps:
    15  # Mesure each of the ILB services separately, this will provide insight on how long programming
    16  # ILB takes as a function of number of backends.
    17  - module:
    18      path: /modules/measurements.yaml
    19      params:
    20        action: start
    21  - name: Start measurement for running pods
    22    measurements:
    23    - Identifier: WaitForRunningDeployments
    24      Method: WaitForControlledPodsRunning
    25      Params:
    26        action: start
    27        apiVersion: apps/v1
    28        kind: Deployment
    29        labelSelector: group = ilb-load
    30        operationTimeout: 15m
    31  # Create ILBs
    32  - module:
    33      path: /modules/services.yaml
    34      params:
    35        actionName: Create
    36        largeBackendLbServiceCount: {{$LARGE_BACKEND_LB_SERVICE_COUNT}}
    37        mediumBackendLbServiceCount: {{$MEDIUM_BACKEND_LB_SERVICE_COUNT}}
    38        smallBackendLbServiceCount: {{$SMALL_BACKEND_LB_SERVICE_COUNT}}
    39  - module:
    40      path: /modules/measurements.yaml
    41      params:
    42        action: waitForReady
    43  - name: Waiting for objects creation to be completed
    44    measurements:
    45    - Identifier: WaitForRunningDeployments
    46      Method: WaitForControlledPodsRunning
    47      Params:
    48        action: gather
    49  # Delete ILBs
    50  - module:
    51      path: /modules/services.yaml
    52      params:
    53        actionName: Delete
    54        largeBackendLbServiceCount: 0
    55        mediumBackendLbServiceCount: 0
    56        smallBackendLbServiceCount: 0
    57  - name: Waiting for objects deletion to be completed
    58    measurements:
    59    - Identifier: WaitForRunningDeployments
    60      Method: WaitForControlledPodsRunning
    61      Params:
    62        action: gather
    63  - module:
    64      path: /modules/measurements.yaml
    65      params:
    66        action: gather