Knative developer experience, docs, reference Knative CLI implementation
Go to file
Gunjan Vyas bb7fd73821
Added pull-policy flag to service (#1644)
* Added pull-policy flag to service

* Added unit tests

* Added test to increase coverage

* Added unit test and made --pull-policy case insensitive

* Added config_changes test cases to increase coverage

* Improve help message for pull-policy flag

* Move image pull policy processing to podspec.go

* Add negative test case for pull policy
2022-04-13 08:15:08 +00:00
.github Update actions (#1651) 2022-04-13 07:26:09 +00:00
cmd/kn remove hardcoded kn for usage and error (#1603) 2022-02-17 02:07:13 -08: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 Added pull-policy flag to service (#1644) 2022-04-13 08:15:08 +00:00
hack change display versions (#1601) 2022-03-01 05:25:42 -08:00
lib Added eventtype support (#1598) 2022-03-02 03:48:43 -08:00
pkg Added pull-policy flag to service (#1644) 2022-04-13 08:15:08 +00:00
test Fix latest release CI setup (#1647) 2022-04-11 19:46:06 +00:00
third_party/VENDOR-LICENSE [main] Upgrade to latest dependencies (#1632) 2022-03-22 07:14:12 -07:00
tools/knb feat: Add knb plugin build tool (#1226) 2021-03-08 00:22:21 -08:00
vendor upgrade to latest dependencies (#1650) 2022-04-12 17:13:08 +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 build test images for e2e (#974) 2020-08-20 04:42:13 -07:00
CHANGELOG.adoc Update changelog for 1.3 release (#1619) 2022-03-08 03:05:06 -08: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
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 (#1646) 2022-04-11 13:17:56 +00:00
README.md Update code-of-conduct, readme and contrib files (#1429) 2021-08-16 04:06:54 -07:00
go.mod upgrade to latest dependencies (#1650) 2022-04-12 17:13:08 +00:00
go.sum upgrade to latest dependencies (#1650) 2022-04-12 17:13:08 +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

Start with 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. For more information, have a look at:

  • User guide
    • Installation - How to install kn and run on your machine
    • Examples - Use case based examples
  • Reference Manual - all possible commands and options with usage examples

Additionally you can visit knative.dev for more examples.

Developers

If you are interested in contributing, see CONTRIBUTING.md and DEVELOPMENT.md.