Meta
The compile dependencies have been updated to Knative Serving 0.25.0, Knative Eventing 0.25.0 and Go version to 1.16.
Default plugin lookup in $PATH
The plugin lookup in $PATH
has been enabled by default. This changes should improve local plugin development and testing. Furthermore the end user installation experience of plugins though package managers like Homebrew
.
As a follow-up configuration property plugin.path-lookup
has been deprecated.
Darwin/arm64 support
The native support for Apple's ARM64 chips has been added. All the future release will be published with the corresponding native binary.
Multicontainer support (experimental)
There's been added a new command kn container add
to create Container
snippets. The add
command reuses all existing options flags manipulating Container
know from kn service create
.
In addition there's a new flag --extra-containers
available for kn service create|update|apply
that accepts YAML or JSON Containers
to pass them to a Knative Service.
The command is marked as experimental and may change in the future releases.
Example
The 'container add' represents utility command that prints YAML container spec to standard output. It's useful for
multi-container use cases to create definition with help of standard 'kn' option flags. It accepts all container related
flag available for 'service create'. The command can be chained through Unix pipes to create multiple containers at once.
# Add a container 'sidecar' from image 'docker.io/example/sidecar' and print it to standard output
kn container add sidecar --image docker.io/example/sidecar
# Add command can be chained by standard Unix pipe symbol '|' and passed to 'service create|update|apply' commands
kn container add sidecar --image docker.io/example/sidecar:first | \
kn container add second --image docker.io/example/sidecar:second | \
kn service create myksvc --image docker.io/example/my-app:latest --extra-containers -
You can find the complete list of changes in the CHANGELOG.