operator
operator copied to clipboard
Upgrading from to Knative Serving v1.2 shows "the manifests of the target version are not available to this release"
What version of Knative?
1.1.0
Expected Behavior
Upgrade Knative Serving from v1.1 to v1.2 using the docs should be successful.
Actual Behavior
KnativeServing produces the error "the manifests of the target version 1.2 are not available to this release" and no upgrade happens.
Steps to Reproduce the Problem
- Install Knative by using Knative Operator (the latest version at the time was v1.1.0)
- Install Knative Serving custom resource with
spec.version
set to"1.1"
- Upgrade by setting
spec.version
of Knative Serving to"1.2"
- Events log shows "the manifests of the target version 1.2 are not available to this release"
It seems a little confusing to me whether I need to follow the installation steps again in "Install by using the Knative Operator" to upgrade or by following the upgrade steps in "Upgrading using the Knative Operator". Doing a fresh install is not an option at this point also.
/assign @houshengbo
cc @houshengbo
One thing to note is that v1.2 went EOL earlier this month
Yes, the idea is to upgrade incrementally up to the latest version. Thanks.
This is a little far away. If you are still on 1.1, you need to upgrade to 1.2, then to 1.3... until 1.6, which is the latest. For operator, you need to install operator 1.4 first, because the earliest version 1.4 supports is 1.1. With operator 1.4, upgrade everything incrementally to 1.4. Do not forget to run the migration job to migrate the existing CRs to v1beta1: https://github.com/knative/operator/releases/download/knative-v1.4.2/operator-post-install.yaml.
After that, install 1.6, and upgrade knative to 1.6 incrementally.
Per the discussion in the slack channel: https://knative.slack.com/archives/CEPGNPHP1/p1659142102677399. I am now thinking of merging the migration tasks into the part of the operator's reconciling job, so that the migration can be done within the operator itself.
@houshengbo Thanks for the response, managed to upgrade to operator v1.3. For upgrading operator, can we skip major versions? For example, upgrading from operator v1.3 to v1.5? I do know we have to incrementally upgrade serving.
@unzld You can install operator 1.5 over 1.3 for sure. however, you have to incrementally upgrade serving and eventing from 1.3 to 1.4 and to 1.5.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen
. Mark the issue as
fresh by adding the comment /remove-lifecycle stale
.
This issue or pull request is stale because it has been open for 90 days with no activity.
This bot triages issues and PRs according to the following rules:
- After 90d of inactivity,
lifecycle/stale
is applied - After 30d of inactivity since
lifecycle/stale
was applied, the issue is closed
You can:
- Mark this issue or PR as fresh with
/remove-lifecycle rotten
- Close this issue or PR with
/close
/lifecycle stale
I will close this issue for now. You can reopen it, if it is still a valid concern for you.
I'm having a similar issue upgrading from v1.9 to v1.10. I have an installation running v1.9.1 of the Operator, and on upgrade to v1.10.2, and upgrading Serving spec.version
to "1.10", I get the same error with manifests of the target version are not available to this release.