Skip to content

gs://k8s-artifacts-cni is expensive and probably unnecessary #7584

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

Open
BenTheElder opened this issue Dec 5, 2024 · 7 comments
Open

gs://k8s-artifacts-cni is expensive and probably unnecessary #7584

BenTheElder opened this issue Dec 5, 2024 · 7 comments
Labels
lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. sig/release Categorizes an issue or PR as relevant to SIG Release.

Comments

@BenTheElder
Copy link
Member

We were digging through the GCP billing in #sig-k8s-infra today and it turns the egress bandwidth from re-hosting https://github.com/containernetworking/plugins to gs://k8s-artifacts-cni is the largest line item after compute, by far. It's easily like 17-20k/mo.
... we should phase this out and just pull from the official upstream releases for kube-up etc.

thread in https://kubernetes.slack.com/archives/C2C40FMNF/p1733349220696569

@upodroid noticed this when we were looking into the GCS spend not continuing to shrink following the full k8s.gcr.io redirect

@upodroid suggested in the thread we could start by changing the bucket type to reduce the cost

I think longterm we want to identify what little is using this (we took a peek in cs.k8s.io, kube-up is one of the main users, but also possibly kops) and instead just use the official upstream binary releases

@BenTheElder
Copy link
Member Author

/sig k8s-infra
/priority important-longterm

@k8s-ci-robot k8s-ci-robot added sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Dec 5, 2024
@BenTheElder
Copy link
Member Author

/sig release

@BenTheElder
Copy link
Member Author

@upodroid added labels so we can collect data on this more easily.

There is some dwindling cost from the GCRs in this project and also cri tools which are both already being phased out AFAIK.

@BenTheElder
Copy link
Member Author

This was discussed yesterday in SIG K8s Infra with @justinsb + SIG K8s Infra leads in particular.

We do NOT want to break anyone immediately, and we can afford not to, but we do want to exit this sort of thing (any lingering third party hosting, CI ...) long term.

Commented in kops at:
kubernetes/kops#17162 (comment)

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 16, 2025
@BenTheElder
Copy link
Member Author

/lifecycle frozen
This remains true until it is resolved.
Auto-closing the issue is unhelpful 🙄

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 16, 2025
@BenTheElder
Copy link
Member Author

I think we've migrated usage within the project?

We can think about a timeline to wind down the bucket now ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. sig/release Categorizes an issue or PR as relevant to SIG Release.
Projects
Status: Backlog
Development

No branches or pull requests

3 participants