Knative developer experience, docs, reference Knative CLI implementation
Go to file
David Simansky 75d62a3618
Add default SecurityContext to every new ksvc (#1821)
* Add default SecurityContext to every new ksvc

* Add basic seccon config flag

* Fix export e2e tests

* Fix unit test
2023-07-13 08:01:14 +00:00
.github Update actions (#1807) 2023-04-13 13:45:53 +00:00
cmd/kn Fixing errors related to Go 1.20 (#1779) 2023-02-17 11:07:52 +00:00
config Use ko's strict mode for better errors messages (#706) 2020-03-07 12:11:27 -08:00
conventions Fix various misspellings and linter items (#1057) 2020-10-12 21:24:30 -07:00
docs Add default SecurityContext to every new ksvc (#1821) 2023-07-13 08:01:14 +00:00
hack fix: Use go_run from common lib (#1793) 2023-04-24 09:35:42 +00:00
lib Add default SecurityContext to every new ksvc (#1821) 2023-07-13 08:01:14 +00:00
pkg Add default SecurityContext to every new ksvc (#1821) 2023-07-13 08:01:14 +00:00
test Add default SecurityContext to every new ksvc (#1821) 2023-07-13 08:01:14 +00:00
third_party/VENDOR-LICENSE upgrade to latest dependencies (#1823) 2023-07-11 11:07:12 +00:00
tools/knb Update knb to recognize drop-in module replace (#1736) 2022-09-22 14:01:12 +00:00
vendor upgrade to latest dependencies (#1823) 2023-07-11 11:07:12 +00:00
.codecov.yaml Align codecov config with rest of the org (#1649) 2022-04-12 10:55:08 +00:00
.gitignore feat: Add knb plugin build tool (#1226) 2021-03-08 00:22:21 -08:00
.golangci.yaml Enable gosec linter and fix existing issues (#1228) 2021-02-16 02:17:26 -08:00
.ko.yaml Fix display version in OCI image (#1662) 2022-04-28 09:08:00 +00:00
CHANGELOG.adoc Update changelog for 1.5 release (#1680) 2022-05-31 16:28:37 +00:00
CODE-OF-CONDUCT.md Adding code of conduct to reference knative/community's CoC (#1634) 2022-03-21 04:18:46 -07:00
CONTRIBUTING.md Update code-of-conduct, readme and contrib files (#1429) 2021-08-16 04:06:54 -07:00
DEVELOPMENT.md Update and reorganise kn cli setup docs (#1799) 2023-04-12 12:43:49 +00:00
LICENSE Initial commit 2018-12-12 16:45:51 -08:00
OWNERS Add knative-release-leads to OWNERS (#1317) 2021-05-17 09:45:24 -07:00
OWNERS_ALIASES Update community files (#1827) 2023-07-12 13:30:14 +00:00
README.md Update and reorganise kn cli setup docs (#1799) 2023-04-12 12:43:49 +00:00
go.mod Add default SecurityContext to every new ksvc (#1821) 2023-07-13 08:01:14 +00:00
go.sum upgrade to latest dependencies (#1823) 2023-07-11 11:07:12 +00:00

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.