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

Shield dl.k8s.io with Fastly #4528

Closed
3 tasks done
ameukam opened this issue Dec 7, 2022 · 5 comments
Closed
3 tasks done

Shield dl.k8s.io with Fastly #4528

ameukam opened this issue Dec 7, 2022 · 5 comments
Assignees
Labels
area/infra Infrastructure management, infrastructure design, code in infra/ 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.
Milestone

Comments

@ameukam
Copy link
Member

ameukam commented Dec 7, 2022

Part of:

Ensure we serve binaries through Fastly

Task List

  • SOW needs to be signed (cc @jeefy @joannalee333)
  • Account has to be upgraded
  • Create a TLS Certificate / Enable Domain

Rollout plan:

  • Ensure binaries can be pulled from cdn.dl.k8s.io using kubernetes-release bucket
  • Send an notice informing kubernetes binaries will now be served from cdn.dl.k8s.io
  • Setup a community-owned bucket for the binaries: k8s-release
  • Change the Fastly configuration k8s-release.

/area infra
/milestone v1.27
/priority important-longterm

@ameukam ameukam added the sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. label Dec 7, 2022
@k8s-ci-robot k8s-ci-robot added area/infra Infrastructure management, infrastructure design, code in infra/ priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Dec 7, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.27 milestone Dec 7, 2022
ameukam added a commit to ameukam/k8s.io that referenced this issue Dec 12, 2022
Part of:
  - kubernetes#4528

In order to be able to use Fastly, we will need use a subdomain
to serve the binaries built and store kubernetes-release bucket.

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue Dec 16, 2022
Related:
  - kubernetes#4528

Add Fastly configuration for cdn.dl.k8s.io

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue Dec 23, 2022
Related:
  - kubernetes#4528

Add Fastly configuration for cdn.dl.k8s.io

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
@ameukam
Copy link
Member Author

ameukam commented Feb 4, 2023

TODO:

  • Add staging bucket to use with Fastly
  • add a periodic e2e test with KUBERNETES_CI_RELEASE_URL=cdn.dl.k8s.io
  • add regional periodic e2e tests to validate Fastly shielding.

@ameukam ameukam self-assigned this Feb 4, 2023
ameukam added a commit to ameukam/k8s.io that referenced this issue Feb 10, 2023
Related:
  - kubernetes#4528

Add Fastly configuration for cdn.dl.k8s.io
Add a TLS subscription for cdn.dl.k8s.io

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue Feb 27, 2023
Related:
  - kubernetes#4528

Add Fastly configuration for cdn.dl.k8s.io
Add a TLS subscription for cdn.dl.k8s.io

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue Apr 4, 2023
Related:
  - kubernetes#4528

Add Fastly configuration for cdn.dl.k8s.io
Add a TLS subscription for cdn.dl.k8s.io

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue Apr 4, 2023
Related:
  - kubernetes#4528

Add Fastly configuration for cdn.dl.k8s.io
Add a TLS subscription for cdn.dl.k8s.io

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
@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 16, 2023
@ameukam
Copy link
Member Author

ameukam commented May 16, 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 16, 2023
@ameukam ameukam modified the milestones: v1.27, v1.28 May 16, 2023
ameukam added a commit to ameukam/k8s.io that referenced this issue May 26, 2023
Related:
  - kubernetes#4528

Add Fastly configuration for cdn.dl.k8s.io
Add a TLS subscription for cdn.dl.k8s.io

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue May 26, 2023
Related:
  - kubernetes#4528

Add Fastly configuration for cdn.dl.k8s.io
Add a TLS subscription for cdn.dl.k8s.io

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue May 26, 2023
Ref: kubernetes#4528

Ensure TF states for the fastly services are stored in a GCS bucket.

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue May 26, 2023
Ref: kubernetes#4528

Ensure TF states for the fastly services are stored in a GCS bucket.

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue May 27, 2023
Ref: kubernetes#4528

Verifiying domain ownership using ACME DNS challenge and ensure
traffic is served over IPv4 and IPv6 addresses.

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue May 27, 2023
Ref: kubernetes#4528

Verifiying domain ownership using ACME DNS challenge and ensure
traffic is served over IPv4 and IPv6 addresses.

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue May 27, 2023
Ref: kubernetes#4528

Verifiying domain ownership using ACME DNS challenge

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue Jun 1, 2023
Ref: kubernetes#4528

This endpoint ensure we serve traffic for IPv4 and IPv6 addresses and
also support encrypted traffic with Fastly TLS certificates.

The DNS entry to ensure domain delegation to Fastly needs to be deleted
since OctoDNS don't support CNAME type DNS records to coexist with other
records per [RFC 1034](https://www.ietf.org/rfc/rfc1034.txt). See octodns/octodns#414

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue Jul 21, 2023
Related to:
  - kubernetes#4528

Following guidance from https://developer.fastly.com/learning/concepts/cache-freshness/#best-practices and remove the value set
in the terraform, the first byte timeout is reduce to 15000
milliseconds.

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this issue Jul 24, 2023
Related to:
  - kubernetes#4528

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
@ameukam
Copy link
Member Author

ameukam commented Sep 4, 2023

We can consider this done. THere are a few optimisations to do and they already tracked

/close

@k8s-ci-robot
Copy link
Contributor

@ameukam: Closing this issue.

In response to this:

We can consider this done. THere are a few optimisations to do and they already tracked

/close

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/infra Infrastructure management, infrastructure design, code in infra/ 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.
Projects
Status: Done
Development

No branches or pull requests

3 participants