Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decommission gke-project-pool #23778

Closed
spiffxp opened this issue Sep 27, 2021 · 6 comments
Closed

Decommission gke-project-pool #23778

spiffxp opened this issue Sep 27, 2021 · 6 comments
Labels
area/boskos Issues or PRs related to code in /boskos area/jobs kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/testing Categorizes an issue or PR as relevant to SIG Testing.
Milestone

Comments

@spiffxp
Copy link
Member

spiffxp commented Sep 27, 2021

What should be cleaned up or changed:
We shouldn't be using gke-specific projects to run prowjobs for kubernetes. We have mostly stopped running jobs that require these, it's time to decommission the pool and identify whether jobs that still use these projects can use gce-project or should be running elsewhere.

Provide any links for context:
Related to:

/sig testing
/priority important-longterm
/area boskos
/area jobs
/milestone v1.23

@spiffxp spiffxp added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Sep 27, 2021
@k8s-ci-robot k8s-ci-robot added sig/testing Categorizes an issue or PR as relevant to SIG Testing. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. area/boskos Issues or PRs related to code in /boskos labels Sep 27, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.23 milestone Sep 27, 2021
@spiffxp
Copy link
Member Author

spiffxp commented Sep 29, 2021

Inspecting output of ripgrep -l gke config/jobs I believe the remaining offending jobs are:

  • ci-kubernetes-e2e-gke-canary
  • application-periodic-default-gke
  • ci-kustomize-periodic-default-gke
  • pull-sig-storage-local-static-provisioner-e2e-gke
  • ci-sig-storage-local-static-provisioner-master-gke-default

Jobs I'm less certain about:

  • pull-kubetest2-gke-up-down-singlecluster
  • pull-kubetest2-gke-up-down-multicluster

@spiffxp
Copy link
Member Author

spiffxp commented Sep 29, 2021

Another way of surveying which jobs are actually using the projects

gcloud logging read \
  --project=k8s-prow-builds \
  --format=json \
  --limit=100 \
  --freshness=1d \
  '
  jsonPayload.component="boskos"
  jsonPayload.msg=~"Request for a free gke-project from"
  ' \
| jq -r 'map(.jsonPayload.msg)[]' \
| sort \
| uniq -c
  12 Request for a free gke-project from application-periodic-default-gke, dest busy
  48 Request for a free gke-project from ci-kubernetes-e2e-gke-canary, dest busy
  12 Request for a free gke-project from ci-kustomize-periodic-default-gke, dest busy
   6 Request for a free gke-project from ci-sig-storage-local-static-provisioner-master-gke-default-kubetest2, dest busy

@spiffxp
Copy link
Member Author

spiffxp commented Sep 29, 2021

Jobs to decomission or replace with alternatives:

@spiffxp
Copy link
Member Author

spiffxp commented Oct 4, 2021

Last 30d
Screen Shot 2021-10-04 at 10 06 06 AM

All known jobs using this pool have been removed, going to open a final PR to remove the pool entirely

@spiffxp
Copy link
Member Author

spiffxp commented Oct 5, 2021

/close
Pool has been decommissioned

@k8s-ci-robot
Copy link
Contributor

@spiffxp: Closing this issue.

In response to this:

/close
Pool has been decommissioned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/boskos Issues or PRs related to code in /boskos area/jobs kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/testing Categorizes an issue or PR as relevant to SIG Testing.
Projects
None yet
Development

No branches or pull requests

2 participants