Skip to content

add fastly purging logic to krel and purge all related markers everytime a new marker is pushed#4280

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
upodroid:group-markers
Feb 24, 2026
Merged

add fastly purging logic to krel and purge all related markers everytime a new marker is pushed#4280
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
upodroid:group-markers

Conversation

@upodroid
Copy link
Copy Markdown
Member

What type of PR is this?

/kind feature

What this PR does / why we need it:

We are caching the release markers at dl.k8s.io. Details are at https://kubernetes.slack.com/archives/CJH2GBF7Y/p1770744489128559

This PR does a few things:

  1. Adds Surrogate-Key: [prod|ci]-markers headers when uploading markers, which allows Fastly to track these files with these headers and purge them together.
  2. We look for the FASTLY_SERVICE_NAME env variable. If it's set, we attempt to purge the specific keys mentioned, and it should take effect immediately.
  3. I amended the marker verification to now check every 20 seconds for 3 minutes and fail if the markers don't match. In theory, it should be instant, but this should help keep the pipeline robust.
  4. I already added a purge-only token for Fastly to the k8s-release project.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/release-eng Issues or PRs related to the Release Engineering subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority release-note-none Denotes a PR that doesn't merit a release note. sig/release Categorizes an issue or PR as relevant to SIG Release. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants