k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/prow/cluster/build/boskos-janitor.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: boskos-janitor-nongke 5 labels: 6 app: boskos-janitor-nongke 7 namespace: test-pods 8 spec: 9 replicas: 12 # 12 distributed janitor instances for non-gke 10 selector: 11 matchLabels: 12 app: boskos-janitor-nongke 13 template: 14 metadata: 15 labels: 16 app: boskos-janitor-nongke 17 spec: 18 terminationGracePeriodSeconds: 300 19 serviceAccountName: boskos-janitor 20 containers: 21 - name: boskos-janitor-nongke 22 image: gcr.io/k8s-staging-boskos/janitor:v20240416-59dbd6c 23 args: 24 - --boskos-url=http://boskos.test-pods.svc.cluster.local. 25 - --resource-type=gce-project,gpu-project,ingress-project,istio-project,scalability-presubmit-project,scalability-presubmit-5k-project,scalability-project,node-e2e-project 26 - --pool-size=20 27 - -- 28 - --hours=0 29 --- 30 apiVersion: apps/v1 31 kind: Deployment 32 metadata: 33 name: boskos-janitor-aws 34 labels: 35 app: boskos-janitor-aws 36 namespace: test-pods 37 spec: 38 replicas: 4 # 4 distributed janitor instances 39 selector: 40 matchLabels: 41 app: boskos-janitor-aws 42 template: 43 metadata: 44 labels: 45 app: boskos-janitor-aws 46 spec: 47 terminationGracePeriodSeconds: 300 48 containers: 49 - name: boskos-janitor-aws 50 image: gcr.io/k8s-staging-boskos/aws-janitor-boskos:v20240416-59dbd6c 51 args: 52 - --boskos-url=http://boskos.test-pods.svc.cluster.local. 53 --- 54 apiVersion: v1 55 kind: ServiceAccount 56 metadata: 57 annotations: 58 # TODO(fejta): consider a better project, but this is what service-account uses now 59 iam.gke.io/gcp-service-account: pr-kubekins@kubernetes-jenkins-pull.iam.gserviceaccount.com 60 name: boskos-janitor 61 namespace: test-pods