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

Issues with Multi-Version Upgrades and ksvc Resource Restoration in Knative #15600

Open
hzkornel opened this issue Oct 30, 2024 · 1 comment
Open
Labels
kind/question Further information is requested

Comments

@hzkornel
Copy link

hzkornel commented Oct 30, 2024

Hi,
I'm experiencing challenges with Knative Serving upgrades, I had to upgrade multiple minor versions, which proved complicated, leading me to completely remove Knative Serving and the Operator, as well as all related custom resource definitions (CRDs) from my Kubernetes cluster.

Context

  • I am using Knative Serving with the Knative Operator.
  • I needed to perform upgrades across multiple minor versions, affecting both the Operator and Serving components.
  • To avoid the complexity of incremental version upgrades, I removed all Knative Serving and Operator resources, including all CRDs, from the cluster.
  • Attempting to reapply the previously backed-up ksvc resources results in a RevisionMissing status, even though I backed up and reapplied all resources related to ksvcs.

Primary Questions

  • Is there a recommended or reasonable workaround for upgrading through multiple minor versions?
  • How can I effectively back up and restore ksvc resources? Is there a specific order or dependency that needs to be maintained when reapplying ksvc and it's related resources?
  • Can Knative be run with two different versions on the same cluster? For example, can older resources continue using the older Knative version while new resources are deployed on the updated version? My intention is to delete the old version once no resources depend on it.

Any guidance on this would be greatly appreciated! Thank you for your support!

@hzkornel hzkornel added the kind/question Further information is requested label Oct 30, 2024
@skonto
Copy link
Contributor

skonto commented Oct 30, 2024

Hi @hzkornel I think this should be opened at the knative/operator side.
cc @houshengbo could you assist here?

Attempting to reapply the previously backed-up ksvc resources results in a RevisionMissing status, even though I backed up and reapplied all resources related to ksvcs.

Pls take a look at #10926

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants