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

Redirect dl.k8s.io traffic to a community-owned GCS bucket instead of kubernetes-release #1569

Open
spiffxp opened this issue Jan 22, 2021 · 26 comments
Labels
area/artifacts Issues or PRs related to the hosting of release artifacts for subprojects 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. sig/testing Categorizes an issue or PR as relevant to SIG Testing.
Milestone

Comments

@spiffxp
Copy link
Member

spiffxp commented Jan 22, 2021

Part of umbrella issues:

Traffic gets to gs://kubernetes-release in one of two ways:

We discussed the idea of cutting over dl.k8s.io traffic first:

  • perhaps we could end up cutting over a large chunk of traffic sooner vs. later
  • this will help us better plan how to migrate traffic that has the bucket name hardcoded

The sketch is something like:

  • decide which project/bucket to use?
  • sync from old bucket to new bucket
  • change dl.k8s.io to use new bucket instead of old bucket
  • see what the delta in traffic is
  • decide how to keep buckets in sync?

Which project/bucket to use:

  • we have k8s-release hosting gs://k8s-release
  • we could choose to use a bucket hosted in k8s-artifacts-prod (simplifies billing)
  • we could choose to block until we have similar staging/promotion process for GCS artifacts

How to sync:

Seeing the delta in traffic:

  • we'll be able to see an influx of traffic in our billing report
  • @thockin and I need to decide if/how to share the existing traffic gs://kubernetes-release is getting

My preferences would be:

  • delete/recreate the gs://k8s-release bucket in k8s-artifacts-prod
  • use sts, rely on hourly sync job first, then prowjob that periodically creates one-time syncs

/assign @thockin
since you were part of the discussion
/assign @justaugustus @hasheddan
For @kubernetes/release-engineering input

/wg k8s-infra
/sig release
/sig testing
/area artifacts
/milestone v1.21

@k8s-ci-robot k8s-ci-robot added wg/k8s-infra sig/release Categorizes an issue or PR as relevant to SIG Release. labels Jan 22, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.21 milestone Jan 22, 2021
@k8s-ci-robot k8s-ci-robot added sig/testing Categorizes an issue or PR as relevant to SIG Testing. area/artifacts Issues or PRs related to the hosting of release artifacts for subprojects labels Jan 22, 2021
@spiffxp spiffxp changed the title try redirecting dl.k8s.io to a community owned bucket Redirect dl.k8s.io traffic to a community-owned GCS bucket instead of kubernetes-release Jan 22, 2021
@spiffxp spiffxp added this to Backlog (infra to migrate) in sig-k8s-infra Jan 22, 2021
@spiffxp spiffxp added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Jan 22, 2021
@spiffxp spiffxp added this to To Triage in sig-testing issues Feb 9, 2021
@justaugustus
Copy link
Member

(Opened #1857 for dl.k8s.io/ci.)

@spiffxp
Copy link
Member Author

spiffxp commented Jul 9, 2021

I manually initiated a one-time transfer from gs://kubernetes-release/release to gs://k8s-release/release following instructions at https://cloud.google.com/storage-transfer/docs/create-manage-transfer-console to get a sense of size/cost of transfer

Screen Shot 2021-07-09 at 2 00 56 PM

@spiffxp
Copy link
Member Author

spiffxp commented Jul 9, 2021

delete/recreate the gs://k8s-release bucket in k8s-artifacts-prod

@justaugustus I would still like us to do this before we consider flipping over dl.k8s.io for real

I could be convinced to flip over temporarily to get an estimate of the amount of traffic this flips, but we should ultimately be using a similar approach as we do for GCR, with promotion from a staging bucket etc.

/assign @saschagrunert @puerco @cpanato @jeremyrickard
other SIG Release leads for input

@ameukam ameukam removed the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Nov 24, 2022
@ameukam
Copy link
Member

ameukam commented Feb 22, 2023

Postponed to v1.28

/milestone v1.28

@k8s-ci-robot k8s-ci-robot modified the milestones: v1.27, v1.28 Feb 22, 2023
@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 May 23, 2023
@ameukam
Copy link
Member

ameukam commented May 25, 2023

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 25, 2023
@BenTheElder
Copy link
Member

We're still not always redirecting away from the bucket and we have most traffic going to the bucket directly (some of which is just skipping the redirect because users have come to depend on the GCS bucket).

We need to:
a) ensure dl.k8s.io never redirects to the bucket
b) switch publishing to a new bucket, restrict access to fastly only, and send users through dl.k8s.io => cdn.dl.k8s.io

@ameukam
Copy link
Member

ameukam commented Sep 4, 2023

/milestone v1.29

@k8s-ci-robot k8s-ci-robot modified the milestones: v1.28, v1.29 Sep 4, 2023
@ameukam ameukam modified the milestones: v1.29, v1.30 Dec 8, 2023
@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 Mar 7, 2024
@ameukam
Copy link
Member

ameukam commented Mar 7, 2024

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 7, 2024
@ameukam
Copy link
Member

ameukam commented Apr 18, 2024

/milestone v1.31

@k8s-ci-robot k8s-ci-robot modified the milestones: v1.30, v1.31 Apr 18, 2024
@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 Jul 17, 2024
@ameukam
Copy link
Member

ameukam commented Jul 17, 2024

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 17, 2024
@ameukam
Copy link
Member

ameukam commented Aug 21, 2024

/milestone v1.32

@k8s-ci-robot k8s-ci-robot modified the milestones: v1.31, v1.32 Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/artifacts Issues or PRs related to the hosting of release artifacts for subprojects 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. sig/testing Categorizes an issue or PR as relevant to SIG Testing.
Projects
sig-k8s-infra
  
Blocked
Development

No branches or pull requests