Knative Client release v0.18.0
Pre-release
Pre-release
·
6 commits
to release-0.18
since this release
Release 0.18.0 of the Knative client kn comes with some bug fixes plus some additional support for Knative eventing features
Meta
The compile dependencies have been updated to Knative Serving 0.18.0 and Knative Eventing 0.18.0.
Eventing support
The kn channel support has been extended by a kn channel list-types which shows you all the channel types that are available in the cluster.
This information can be used to select the type when creating a channel with kn channel create.
Subscriptions which connect a sink with a channel can now be fully managed with kn subscription commands.
Aliases
For a better user experience we added some aliases for commonly used commands:
| command | alias |
|---|---|
| service | ksvc |
| service | services |
| revision | revisions |
| route | routes |
| source | sources |
| broker | brokers |
| trigger | triggers |
| channel | channels |
| subscription | subscriptions |
| subscription | sub |
| plugin | plugins |
| list | ls |
Other
Some other minor features has been added:
- You can use now
--annotation-serviceand--annotation-revisionto select the part of Knative service where you want to put an annotation on. With--annotationyou add an annotation to both parts, the Knative service's annotation and to the annotation of the Pod template used to create revisions. - A new option
--scale-initallows to specify the initial number of pods that should be created when a Knative service is created. By default this number is one, but you can set it to 0 if you don't want to create a pod during service creation.
You can find the full list of changes in the CHANGELOG.