Knative developer experience, docs, reference Knative CLI implementation
Go to file
Knative Automation 85642ecac7
upgrade to latest dependencies (#1878)
bumping knative.dev/eventing 034bec9...7de3ecc:
  > 7de3ecc [release-1.10] Upgrade to latest dependencies (# 7144)
  > 1b3281e [release-1.10] Fix edit role aggregation (# 7129)
  > a4373f9 [release-1.10] Upgrade to latest dependencies (# 7122)
  > 76982bf [release-1.10] Function CopySecretWithName for creating secrets with specific name (# 7094)
  > e9544dd [release-1.10] Upgrade to latest dependencies (# 6976)
  > a0537ac [release-1.10] Use random names in Channel tests (# 6972)
bumping knative.dev/pkg dfad48e...df28fea:
  > df28fea Bumped x/net to v0.17.0 to fix cve-2023-44487 on release-1.10 (# 2862)
bumping knative.dev/networking e5d04e8...0b0f210:
  > 0b0f210 [release-1.10] bump x/net to v0.17 (# 879)
bumping knative.dev/serving 2c1bb07...60754c3:
  > 60754c3 [release-1.10] fix securityContext for Knative Service Pod (user-container and queue-proxy) (# 14377)
  > 500756c [release-1.10] RandomChoice 2 policy wasn't random when the number of targets is 2 (with equal weight) (# 14052)
  > cdac06e drop safe to evict annotations (# 14051)
  > fc055b1 Min TLS for tag to digest defaults to 1.2 again and is configurable (# 13963)

Signed-off-by: Knative Automation <automation@knative.team>
2023-10-12 11:56:18 +00:00
.github
cmd/kn
config
conventions
docs
hack
lib
pkg
test
third_party/VENDOR-LICENSE
tools/knb
vendor
.codecov.yaml
.gitignore
.golangci.yaml
.ko.yaml
CHANGELOG.adoc
CODE-OF-CONDUCT.md
CONTRIBUTING.md
DEVELOPMENT.md
LICENSE
OWNERS
OWNERS_ALIASES
README.md
go.mod
go.sum

README.md

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.