Skip to content
/ client Public

Knative developer experience, docs, reference Knative CLI implementation

License

Notifications You must be signed in to change notification settings

knative/client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9baddba · Jan 20, 2025
Jul 18, 2024
Sep 3, 2024
Mar 7, 2020
Oct 13, 2020
Sep 25, 2024
Nov 28, 2024
Jan 20, 2025
Sep 3, 2024
Sep 3, 2024
Aug 29, 2024
Mar 8, 2021
Feb 16, 2021
Apr 28, 2022
May 31, 2022
Mar 21, 2022
Aug 16, 2021
Apr 12, 2023
Dec 13, 2018
May 17, 2021
Jan 9, 2025
Nov 28, 2023
Nov 20, 2023
Jan 20, 2025
Jan 20, 2025
Nov 20, 2024
Jan 20, 2025

Kn

go.dev reference Go Report Card Releases LICENSE Slack Status codecov

The Knative client kn is your door to the Knative world. It allows you to create Knative resources interactively from the command line or from within scripts.

kn offers you:

  • Full support for managing all features of Knative Serving (services, revisions, traffic splits)
  • Growing support for Knative eventing, closely following its development (managing of sources & triggers)
  • A plugin architecture similar to that of kubectl plugins
  • A thin client-specific API in golang which helps with tasks like synchronously waiting on Knative service write operations.
  • An easy integration of Knative into Tekton Pipelines by using kn in a Tekton Task.

This client uses the Knative Serving and Knative Eventing APIs exclusively so that it will work with any Knative installation, even those that are not Kubernetes based. It does not help with installing Knative itself though. Please refer to the various Knative installation options for how to install Knative with its prerequisites.

Documentation

Refer to the user's guide to learn more. You can read about common use cases, get detailed documentation on each command, and learn how to extend the kn CLI.

Following are some useful resources for getting-started using kn CLI:

Additionally you can visit knative.dev for more examples.

Developers

If you are interested in contributing, see CONTRIBUTING.md and DEVELOPMENT.md. For a list of help wanted issues in Knative, check out CLOTRIBUTOR