kubernetes / k8s.io

Code and configuration to manage Kubernetes project infrastructure, including various *.k8s.io sites
https://git.k8s.io/community/sig-k8s-infra
Apache License 2.0
730 stars 808 forks source link

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

Open spiffxp opened 3 years ago

spiffxp commented 3 years ago

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:

The sketch is something like:

Which project/bucket to use:

How to sync:

Seeing the delta in traffic:

My preferences would be:

/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

justaugustus commented 3 years ago

(Opened https://github.com/kubernetes/k8s.io/pull/1857 for dl.k8s.io/ci.)

spiffxp commented 3 years ago

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 commented 3 years ago

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

spiffxp commented 3 years ago

/milestone v1.23 Definitely not doing this before v1.22 goes out the door.

I've pointed more things at dl.k8s.io as part of migrating away from hardcoding kubernetes-release-dev in URIs.

I'm going to edit the description to put this under the umbrella issue I've created for gs://kubernetes-release deprecation and migration

spiffxp commented 3 years ago

We have concerns that we should hold off on this until we tackle cross-cloud promotion

Would also like to understand why the cost of this is so much larger than cost of container images

spiffxp commented 3 years ago

Make a followup issue for dl.k8s.io log analysis, or look into temporarily enabling access logs and provide a sanitized version

spiffxp commented 3 years ago

Blocked on https://github.com/kubernetes/k8s.io/issues/1375

spiffxp commented 2 years ago

/milestone v1.24

k8s-triage-robot commented 2 years ago

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

This bot triages issues and PRs according to the following rules:

You can:

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

/lifecycle stale

ameukam commented 2 years ago

/remove-lifecycle stale

ameukam commented 2 years ago

/lifecycle frozen /milestone clear

ameukam commented 2 years ago

/remove-lifecycle frozen /milestone v1.26

k8s-triage-robot commented 1 year ago

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

This bot triages issues and PRs according to the following rules:

You can:

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

/lifecycle stale

ameukam commented 1 year ago

/remove-lifecycle stale /milestone v1.27 /remove-priority /priority important-longterm

Pending AWS credits (announced here) and decision from Fastly.

k8s-ci-robot commented 1 year ago

@ameukam: Those labels are not set on the issue: priority/important-longterm

In response to [this](https://github.com/kubernetes/k8s.io/issues/1569#issuecomment-1326779496): >/remove-lifecycle stale >/milestone v1.27 >/remove-priority >/priority important-longterm > >Pending AWS credits (announced [here](https://twitter.com/dims/status/1585621637512286211)) and decision from Fastly. Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
ameukam commented 1 year ago

Postponed to v1.28

/milestone v1.28

k8s-triage-robot commented 1 year ago

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

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

You can:

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

/lifecycle stale

ameukam commented 1 year ago

/remove-lifecycle stale

BenTheElder commented 1 year ago

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 commented 1 year ago

/milestone v1.29

k8s-triage-robot commented 7 months ago

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

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

You can:

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

/lifecycle stale

ameukam commented 7 months ago

/remove-lifecycle stale

ameukam commented 5 months ago

/milestone v1.31

k8s-triage-robot commented 2 months ago

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

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

You can:

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

/lifecycle stale

ameukam commented 2 months ago

/remove-lifecycle stale

ameukam commented 1 month ago

/milestone v1.32