Releases: knative/client
Knative Client release v0.10.0
With v0.10.0 kn
now finally jumps onto the Knative release train with six-week releases.
Meta
- This 0.10 release aligns the
kn
release cycles with Knative serving and Knative eventing. From now on,kn
releases are timeboxed in 6-week intervals and happen one week after Knative serving and Knative eventing releases. The next release 0.11.0 is scheduled for December 17th.
Service
kn revision describe
has been updated to provide human-readable output like in
Name: random-hmnjm-4
Namespace: default
Age: 3h
Image: rhuss/random:2.0 (pinned to d922f5)
Env: DELAY=1000
Concurrency:
Limit: 10
Service: random
Conditions:
OK TYPE AGE REASON
++ Ready 3h
++ ContainerHealthy 3h
++ ResourcesAvailable 3h
I Active 3h NoTraffic
--env-from
and--mount
has been added tokn service create
andkn service update
to allow exposing value from config-maps and secrets as environment variables and mounted files, respectively. Seekn service create --help
for more details on--env-from
and--mount
(and--volume
for multi-mounts of config-maps/secrets
All details can be found in the Changelog
Knative Client release v0.9.0
This release focusses on improving support for Knative serving with its latest release 0.9.0. It enhances the kn service
command group so that ~ 90% of all Knative Serving provided features are supported.
Meta
- Updated compile dependencies to Knative Serving 0.9.0, kn uses the
v1alpha1
version for accessing the Knative serving API, as defined inknative-serving
0.9.0.
Service
The following Service
related commands have been enhanced:
-
kn service create
&kn service update
:--traffic
for specifying traffics splits--tag
for tagging revisions used in a traffic distribution--annotation
for setting annotations--label
for setting labels--revision-name
allows setting the revision name for a service update--generate-revision-name
lets the client create the revision (on by default)--service-account
for setting the Service's service account- Improved output when creating/updating services synchronously, containing now a progress indication.
-
kn service describe
:- Switched to human-readable output instead of plain YAML
- Information about the URL, labels, annotations, environment variables, request and limit resources, concurrency options and more have been added.
- Include information about active revisions and the traffic distributions among them.
- All Status conditions
--verbose
output possible
Example output:
Name: random
Namespace: default
Age: 2m
URL: http://random.default.example.com
Address: http://random.default.svc.cluster.local
Revisions:
10% @latest (random-mrznh-2) [2] (1m)
Image: rhuss/random:2.0 (pinned to d922f5)
90% random-mtbxz-1 #v1 [1] (2m)
Image: rhuss/random:1.0 (pinned to 946b7c)
Conditions:
OK TYPE AGE REASON
++ Ready 3s
++ ConfigurationsReady 1m
++ RoutesReady 3s
kn service list
:--no-headers
for omitting the column headers in the output- Adding the latest revision to the list output
Plugins
Support for plugins has been added. This support works similar to kubectl
plugins as it will execute external plugin command based on the command given. E.g. a kn pipeline create
would call an external command kn-pipeline-create
. This executable can be looked up from the execution path or from within a dedicated plugin directory (~/.kn/plugins
by default).
All accessible plugins can be listed with kn plugin list
.
Misc
- Updated
kn version
to include the supported API version - Changed boolean flags to the
--foo
and--no-foo
format --log-output
option added for helping to debug--all-namespaces
(-A
) for listing resources in all namespaces- Removed zsh completion as upstream support is broken for now
- Documentation improvements
For all features and fixes included in this release, please refer to the Changelog.
Knative Client release v0.2.0
Please refer to the Changelog for what is new in v0.2.0.
Knative Client release v0.1.0
Initial release!
Support for creating and updating services against Knative 5.x.