Skip to content

docs(upgrade): give default-variant operators the HTTPCache freeze - #764

Open
myasnikovdaniil wants to merge 1 commit into
mainfrom
docs/upgrade-v1.7-httpcache-default
Open

myasnikovdaniil wants to merge 1 commit into
mainfrom
docs/upgrade-v1.7-httpcache-default

Conversation

@myasnikovdaniil

Copy link
Copy Markdown
Contributor

Upgrade page from #757 says that on default variant the steps of migrations 54 to 59 for SeaweedFS, VM volume hotplug and HTTPCache are the operator's to take before the upgrade. SeaweedFS and hotplug got a procedure and a line in "Before you upgrade", HTTPCache got neither: checklist doesn't mention it and its entry only says to look for instances with kubectl get httpcaches.apps.cozystack.io -A.

HTTPCache leaves the platform in v1.7, so the upgrade prunes its PackageSource, ArtifactGenerator and both ExternalArtifacts go with it, and http-cache-rd with every tenant http-cache-<name> release stay Ready=False for good. Migration 58 prevents that on other variants by freezing the PackageSource on the packages artifact the cluster already runs, or by removing the application where no instance exists.

HTTPCache now has its own section next to SeaweedFS with the same steps for a default cluster: instance listing, removal commands when the listing is empty, and otherwise the digest read, the pinned cozystack-packages-http-cache copy, PackageSource and Package patches and the cozy:tenant:admin:http-cache-frozen ClusterRole. Commands are taken from migrations/58 with name variables written out and the version stamp dropped, same way the SeaweedFS section reuses migration 57. Checklist default line and row 58 of the migrations table link to the new section.

I ran the instance listing and the digest read on a live cluster, listing was empty there and digest read printed a sha256: value. Freeze and removal are checked against the script only, not run on a default variant cluster.

Only next/ changed, it is not promoted to v1.7/ yet. Checked locally: Hugo 0.164.0 build, in-page anchors, i18n checks.

The v1.7 upgrade page says the HTTPCache steps of migration 58 fall to
the operator on the default variant, yet its pre-upgrade checklist
never mentions HTTPCache and the entry offered a check with no action.
Left alone, the upgrade prunes the HTTPCache PackageSource and leaves
http-cache-rd and every tenant release Ready=False for good.

HTTPCache now has its own section carrying the migration's steps, so a
default cluster can freeze its instances, or remove the application
where none exist, before it upgrades.

Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
@netlify

netlify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cozystack ready!

Name Link
🔨 Latest commit 08c4c83
🔍 Latest deploy log https://app.netlify.com/projects/cozystack/deploys/6ad89b2f293e3a53124854f9
😎 Deploy Preview https://deploy-preview-764--cozystack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 44116cd4-fd07-4476-90ff-e3fc6c5aeddd
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant