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

     1  periodics:
     2  - name: maintenance-ci-shared-aws-janitor
     3    cluster: eks-prow-build-cluster
     4    interval: 1h
     5    labels:
     6      preset-service-account: "true"
     7      preset-aws-ssh: "true"
     8      preset-aws-credential-aws-shared-testing: "true"
     9    decorate: true
    10    spec:
    11      containers:
    12      - command:
    13        - /app
    14        args:
    15        - --ttl=6h
    16        - --path=s3://cloud-provider-aws-shared-e2e/objs.json
    17        - --exclude-tags=Shared=Ignore
    18        image: gcr.io/k8s-staging-boskos/aws-janitor:v20240416-59dbd6c
    19        resources:
    20          requests:
    21            cpu: 1
    22            memory: "2Gi"
    23          limits:
    24            cpu: 1
    25            memory: "2Gi"
    26    annotations:
    27      testgrid-dashboards: sig-testing-maintenance
    28      testgrid-tab-name: ci-shared-aws-janitor
    29      description: Deletes old AWS resources for shared jobs
    30  
    31  - interval: 1h
    32    name: maintenance-ci-aws-janitor
    33    labels:
    34      preset-service-account: "true"
    35      preset-aws-ssh: "true"
    36      preset-aws-credential: "true"
    37    decorate: true
    38    spec:
    39      containers:
    40      - command:
    41        - /app
    42        args:
    43        - --ttl=2h30m
    44        - --path=s3://k8s-kops-prow/objs.json
    45        - --exclude-tags=Shared=Ignore
    46        image: gcr.io/k8s-staging-boskos/aws-janitor:v20240416-59dbd6c
    47    annotations:
    48      testgrid-dashboards: sig-testing-maintenance
    49      testgrid-tab-name: ci-aws-janitor
    50      description: Deletes old AWS resources
    51  
    52  - interval: 24h
    53    name: maintenance-ci-janitor
    54    labels:
    55      preset-service-account: "true"
    56    decorate: true
    57    extra_refs:
    58    - org: kubernetes
    59      repo: test-infra
    60      base_ref: master
    61      path_alias: k8s.io/test-infra
    62    spec:
    63      containers:
    64      - command:
    65        - runner.sh
    66        args:
    67        - go
    68        - run
    69        - experiment/ci-janitor/main.go
    70        - --config-path=config/prow/config.yaml
    71        - --job-config-path=config/jobs
    72        - --janitor-path=boskos/cmd/janitor/gcp_janitor.py
    73        image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    74        resources:
    75          requests:
    76            cpu: 5
    77            memory: "8Gi"
    78    annotations:
    79      testgrid-dashboards: sig-testing-maintenance
    80      testgrid-tab-name: ci-janitor
    81      description: Deletes old GCP resources from periodic jobs
    82  
    83  - interval: 1h
    84    name: maintenance-pull-janitor
    85    labels:
    86      preset-service-account: "true"
    87    decorate: true
    88    decoration_config:
    89      timeout: 30m
    90    extra_refs:
    91    - org: kubernetes
    92      repo: test-infra
    93      base_ref: master
    94      path_alias: k8s.io/test-infra
    95      workdir: true
    96    spec:
    97      containers:
    98      - command:
    99        - runner.sh
   100        - /home/prow/go/src/k8s.io/test-infra/scenarios/kubernetes_janitor.py
   101        args:
   102        - --mode=pr
   103        env:
   104        image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-experimental
   105        resources:
   106          requests:
   107            cpu: 5
   108            memory: "8Gi"
   109    annotations:
   110      testgrid-dashboards: sig-testing-maintenance
   111      testgrid-tab-name: pull-janitor
   112      description: Deletes old GCP resources from presubmit jobs