This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.1.4. Release Notes for Red Hat OpenShift Serverless 1.8.0
1.4.1. New features 复制链接链接已复制到粘贴板!
- OpenShift Serverless now uses Knative Serving 0.14.1.
- OpenShift Serverless now uses Knative Serving Operator 0.14.0.
-
OpenShift Serverless now uses Knative
knCLI 0.14.0. - OpenShift Serverless uses Knative Eventing 0.14.2.
- OpenShift Serverless now uses Knative Eventing Operator 0.14.0.
- OpenShift Serverless now uses Kourier 0.14.1.
1.4.2. Known issues 复制链接链接已复制到粘贴板!
Knative Serving has a fixed, minimum CPU request of
25mfor thequeue-proxysetting. If your cluster has any value set that conflicts with this, for example, if you have set a minimum CPU request fordefaultRequestof more than25m, the Knative service fails to deploy. As a workaround, you can configure theresourcePercentageannotation individually for your Knative services.Example resourcePercentage configuration
spec: template: metadata: annotations: queue.sidecar.serving.knative.dev/resourcePercentage: "10"spec: template: metadata: annotations: queue.sidecar.serving.knative.dev/resourcePercentage: "10"1 Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
queue.sidecar.serving.knative.dev/resourcePercentageis the percentage of user container resources to be used forqueue-proxy. This can be between a range of 0.1 - 100.
On OpenShift Container Platform 4.5 and newer versions, deploying a Knative service with traffic distribution shows an invalid URL for the general service address in the Developer perspective of the web console.
The correct URL is shown in YAML resources and CLI command outputs.
-
If you use a ping source with OpenShift Serverless, after you uninstall and delete all other Knative Eventing components, the
pingsource-jobrunnerDeploymentresource is not deleted. If you delete a sink before you delete the sink binding connected to it, the
SinkBindingobject deletion might hang.As a workaround, you can edit the
SinkBindingobject and remove the finalizer that causes the hanging:finalizers: - sinkbindings.sources.knative.dev
finalizers: - sinkbindings.sources.knative.devCopy to Clipboard Copied! Toggle word wrap Toggle overflow The sink binding behavior has changed in OpenShift Serverless 1.8.0, which breaks backwards compatibility.
To use sink binding, cluster administrators must now label the namespace configured in the
SinkBindingobject withbindings.knative.dev/include:"true".Resources configured in the
SinkBindingobject must also be labeled withbindings.knative.dev/include:"true"; however, this task can be completed by any OpenShift Serverless user.As a cluster administrator, you can label the namespace by entering the following command:
oc label namespace <namespace> bindings.knative.dev/include=true
$ oc label namespace <namespace> bindings.knative.dev/include=trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow Users must manually add a
bindings.knative.dev/include=truelabel to resources.For example, to add this label to a
CronJobobject, add the following lines to the Job resource YAML definition:jobTemplate: metadata: labels: app: heartbeat-cron bindings.knative.dev/include: "true"jobTemplate: metadata: labels: app: heartbeat-cron bindings.knative.dev/include: "true"Copy to Clipboard Copied! Toggle word wrap Toggle overflow