3.4. Upgrading the Knative CLI with locked version
You can manually upgrade the Knative (kn) CLI version that has previously been version-locked.
Procedure
Check whether upgraded packages are available:
# dnf search --showduplicates openshift-serverless-clients-
Remove the version lock of
kn:
# dnf versionlock delete openshift-serverless-clients
-
Lock
knto the new version:
# dnf versionlock add --raw 'openshift-serverless-clients-1.8.*'
+ This example uses the kn version that is based on Knative 1.8.
Upgrade to the new available version:
# dnf install --upgrade openshift-serverless-clients