k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/sig-scalability/sig-scalability-cleanup.yaml (about)

     1  periodics:
     2  - interval: 24h
     3    name: ci-kubernetes-e2e-scalability-cleanup
     4    labels:
     5      preset-service-account: "true"
     6    decorate: true
     7    decoration_config:
     8      timeout: 60m
     9    extra_refs:
    10    - org: kubernetes
    11      repo: perf-tests
    12      base_ref: master
    13      path_alias: k8s.io/perf-tests
    14    - org: kubernetes
    15      repo: test-infra
    16      base_ref: master
    17      path_alias: k8s.io/test-infra
    18    annotations:
    19      testgrid-dashboards: sig-scalability-experiments
    20      testgrid-tab-name: snapshots-cleanup
    21    spec:
    22      containers:
    23      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    24        command:
    25        - runner.sh
    26        args:
    27        - $(GOPATH)/src/k8s.io/perf-tests/clusterloader2/clean-up-old-snapshots-boskos.sh
    28        # Command (list|delete)
    29        - delete
    30        # Comma-separated list of snapshot prefixes to delete
    31        - ci-kubernetes-e2e-gci-gce-scalability
    32        # Delete snapshots older than x days
    33        - "30"
    34        # Comma-separated list of boskos pools to process
    35        - scalability-project
    36        # File with boskos resource definitions
    37        - $(GOPATH)/src/k8s.io/test-infra/config/prow/cluster/build/boskos-resources/boskos-resources.yaml
    38  
    39  - name: ci-kubernetes-scalability-cleanup-golang-builds-canary
    40    cluster: k8s-infra-prow-build
    41    interval: 24h
    42    labels:
    43      preset-service-account: "true"
    44    decorate: true
    45    decoration_config:
    46      timeout: 60m
    47    extra_refs:
    48    - org: kubernetes
    49      repo: perf-tests
    50      base_ref: master
    51      path_alias: k8s.io/perf-tests
    52    annotations:
    53      # TODO(ameukam): update with email alert
    54      testgrid-dashboards: sig-k8s-infra-canaries
    55      testgrid-tab-name: golang-build-5k-project-snapshots-cleanup-canary
    56      testgrid-alert-email: ameukam@gmail.com
    57      testgrid-num-failures-to-alert: '3'
    58    spec:
    59      # TODO (ameukam): review the need of the specific service account.
    60      # https://github.com/kubernetes/k8s.io/issues/2854
    61      serviceAccountName: boskos-janitor
    62      containers:
    63      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    64        command:
    65        - runner.sh
    66        args:
    67        - $(GOPATH)/src/k8s.io/perf-tests/clusterloader2/clean-up-old-snapshots.sh
    68        # Command (list|delete)
    69        - delete
    70        # Comma-separated list of projects to process
    71        # It should match projects list for type: scalability-project in prow/cluster/boskos-resources.yaml
    72        - k8s-infra-e2e-scale-5k-project
    73        # Comma-separated list of snapshot prefixes to delete
    74        # TODO (ameukam): drop canary when migration is over: https://github.com/kubernetes/k8s.io/issues/2241
    75        - ci-golang-tip-k8s-1-18-canary
    76        # Delete snapshots older than x days
    77        - "30"
    78        resources:
    79          limits:
    80            cpu: 2
    81            memory: 4Gi
    82          requests:
    83            cpu: 2
    84            memory: 4Gi