This is a cache of https://docs.openshift.com/container-platform/4.9/cli_reference/kn-cli-tools.html. It is a snapshot of the page at 2024-11-22T18:17:15.807+0000.
Knative <strong>cli</strong> (kn) for use with OpenShift Serverless | <strong>cli</strong> tools | OpenShift Container Platform 4.9
×

The Knative (kn) cli enables simple interaction with Knative components on OpenShift Container Platform.

Key features

The Knative (kn) cli is designed to make serverless computing tasks simple and concise. Key features of the Knative cli include:

  • Deploy serverless applications from the command line.

  • Manage features of Knative Serving, such as services, revisions, and traffic-splitting.

  • Create and manage Knative Eventing components, such as event sources and triggers.

  • Create sink bindings to connect existing Kubernetes applications and Knative services.

  • Extend the Knative cli with flexible plugin architecture, similar to the kubectl cli.

  • Configure autoscaling parameters for Knative services.

  • Scripted usage, such as waiting for the results of an operation, or deploying custom rollout and rollback strategies.

Installing the Knative cli