forked from knative/client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(service describe): Output of service details
As discussed in knative#48 this `kn service describe` as changed in this commit mimics `kubectl describe <sth>` as that it output detail information in human readable output. Summary information of a list of services or a single services as well as exporting the service in various formats (JSON, YAML) is reserved to `kn service list` (or `kn service get` as suggested to align with kubectl conventions). For this reason, the generic Printer handling from cli-runtime has been removed as `kn service describe` only outputs human readable format (that is btw also true for `kubectl` describe which does not allow for `-o` kind of options). The presented information is just a start and the full content should be discussed. I could imagine to add the following additional fields in the output: - Revisions overview (like image) - Traffic distribution - Timeout seconds - Conditions - Relevant Events (if any) - Annotations / Labels - Reference to configuration Surely there can be more, but I suggest to make this an iterative excercise.
- Loading branch information
Showing
2 changed files
with
122 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters